All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i915/gvt: make release_shadow_wa_ctx static.
@ 2017-12-03 23:42 Dave Airlie
  2017-12-04 13:15 ` Joonas Lahtinen
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2017-12-03 23:42 UTC (permalink / raw)
  To: intel-gfx

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;
-- 
2.9.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] i915/gvt: make release_shadow_wa_ctx static.
  2017-12-03 23:42 [PATCH] i915/gvt: make release_shadow_wa_ctx static Dave Airlie
@ 2017-12-04 13:15 ` Joonas Lahtinen
  2017-12-05  2:27   ` Zhenyu Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Joonas Lahtinen @ 2017-12-04 13:15 UTC (permalink / raw)
  To: Dave Airlie, intel-gfx; +Cc: intel-gvt-dev

+ 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;
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i915/gvt: make release_shadow_wa_ctx static.
  2017-12-04 13:15 ` Joonas Lahtinen
@ 2017-12-05  2:27   ` Zhenyu Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Zhenyu Wang @ 2017-12-05  2:27 UTC (permalink / raw)
  To: Joonas Lahtinen; +Cc: intel-gvt-dev, intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1391 bytes --]

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

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-05  2:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-03 23:42 [PATCH] i915/gvt: make release_shadow_wa_ctx static Dave Airlie
2017-12-04 13:15 ` Joonas Lahtinen
2017-12-05  2:27   ` Zhenyu Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.