diff mbox

i915/gvt: make release_shadow_wa_ctx static.

Message ID 20171203234210.15349-1-airlied@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Airlie Dec. 3, 2017, 11:42 p.m. UTC
From: Dave Airlie <airlied@redhat.com>

This was removed from the header file in
d0d51282b8 drm/i915/gvt: Remove one extra declaration in scheduler.h

Make it static then.

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/i915/gvt/scheduler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joonas Lahtinen Dec. 4, 2017, 1:15 p.m. UTC | #1
+ GVT-g list

Zhenyu, please pick this up.

Regards, Joonas

On Mon, 2017-12-04 at 09:42 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied@redhat.com>
> 
> This was removed from the header file in
> d0d51282b8 drm/i915/gvt: Remove one extra declaration in scheduler.h
> 
> Make it static then.
> 
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> ---
>  drivers/gpu/drm/i915/gvt/scheduler.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/scheduler.c b/drivers/gpu/drm/i915/gvt/scheduler.c
> index d6177a0..41bccbc 100644
> --- a/drivers/gpu/drm/i915/gvt/scheduler.c
> +++ b/drivers/gpu/drm/i915/gvt/scheduler.c
> @@ -246,7 +246,7 @@ static int copy_workload_to_ring_buffer(struct intel_vgpu_workload *workload)
>  	return 0;
>  }
>  
> -void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
> +static void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
>  {
>  	if (!wa_ctx->indirect_ctx.obj)
>  		return;
Zhenyu Wang Dec. 5, 2017, 2:27 a.m. UTC | #2
On 2017.12.04 15:15:28 +0200, Joonas Lahtinen wrote:
> + GVT-g list
> 
> Zhenyu, please pick this up.
> 

I've queued fixes from Chris for this and will just send for next pull.

thanks.

> 
> On Mon, 2017-12-04 at 09:42 +1000, Dave Airlie wrote:
> > From: Dave Airlie <airlied@redhat.com>
> > 
> > This was removed from the header file in
> > d0d51282b8 drm/i915/gvt: Remove one extra declaration in scheduler.h
> > 
> > Make it static then.
> > 
> > Signed-off-by: Dave Airlie <airlied@redhat.com>
> > ---
> >  drivers/gpu/drm/i915/gvt/scheduler.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/gvt/scheduler.c b/drivers/gpu/drm/i915/gvt/scheduler.c
> > index d6177a0..41bccbc 100644
> > --- a/drivers/gpu/drm/i915/gvt/scheduler.c
> > +++ b/drivers/gpu/drm/i915/gvt/scheduler.c
> > @@ -246,7 +246,7 @@ static int copy_workload_to_ring_buffer(struct intel_vgpu_workload *workload)
> >  	return 0;
> >  }
> >  
> > -void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
> > +static void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
> >  {
> >  	if (!wa_ctx->indirect_ctx.obj)
> >  		return;
> -- 
> Joonas Lahtinen
> Open Source Technology Center
> Intel Corporation
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/gvt/scheduler.c b/drivers/gpu/drm/i915/gvt/scheduler.c
index d6177a0..41bccbc 100644
--- a/drivers/gpu/drm/i915/gvt/scheduler.c
+++ b/drivers/gpu/drm/i915/gvt/scheduler.c
@@ -246,7 +246,7 @@  static int copy_workload_to_ring_buffer(struct intel_vgpu_workload *workload)
 	return 0;
 }
 
-void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
+static void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx)
 {
 	if (!wa_ctx->indirect_ctx.obj)
 		return;