summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-02-14 15:00:17 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-02-15 08:16:41 +0000
commit4ac9659ef9f110a8f651e5a75c24e1ac439b44ff (patch)
tree5f241665ecbfd8ab8fd0fcd12950d16f0d8df5e9 /drivers/gpu/drm/i915/intel_ringbuffer.c
parentbd64818dfe3b19ecdcf47a7b0726c4b59ff4fb5e (diff)
downloadop-kernel-dev-4ac9659ef9f110a8f651e5a75c24e1ac439b44ff.zip
op-kernel-dev-4ac9659ef9f110a8f651e5a75c24e1ac439b44ff.tar.gz
drm/i915: Remove duplicate intel_logical_ring_workarounds_emit
intel_ring_workarounds_emit is exactly the same code. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170214150017.16058-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 95906c4..f749982 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -644,7 +644,7 @@ static void reset_ring_common(struct intel_engine_cs *engine,
}
}
-static int intel_ring_workarounds_emit(struct drm_i915_gem_request *req)
+int intel_ring_workarounds_emit(struct drm_i915_gem_request *req)
{
struct i915_workarounds *w = &req->i915->workarounds;
u32 *cs;
OpenPOWER on IntegriCloud