[Intel-gfx] [PATCH] i915/gvt: make release_shadow_wa_ctx static.
Dave Airlie
airlied at gmail.com
Sun Dec 3 23:42:10 UTC 2017
From: Dave Airlie <airlied at 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 at 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
More information about the Intel-gfx
mailing list