drm/i915: Remove duplicate golden render state init from execlists
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:50:36 +0000 (22:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:58:30 +0000 (22:58 +0100)
commite40f9ee6612c492d875b3de6dcba98522e0afe36
tree2a986135ce9b716af10d22e17bbf4fe51493d8f8
parent618e4ca7b137612fd6b4395f011d9b392d68d149
drm/i915: Remove duplicate golden render state init from execlists

Now that we use the same vfuncs for emitting the batch buffer in both
execlists and legacy, the golden render state initialisation is
identical between both.

v2: gcc wants so.ggtt_offset initialised (even though it is not used)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-28-git-send-email-chris@chris-wilson.co.uk
Link: http://patchwork.freedesktop.org/patch/msgid/1470174640-18242-19-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_render_state.c
drivers/gpu/drm/i915/i915_gem_render_state.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_renderstate.h