drm/i915: Hook up ring workaround writes at context creation time on Gen6-7.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 7 Oct 2015 11:44:02 +0000 (14:44 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 Oct 2015 14:37:48 +0000 (16:37 +0200)
commit4f91fc6d2c1d98b3da7a8341ef5ec66ccf2916b9
tree2cfd2529d25e3c7fdad3f324aca2400e90755c2d
parent02235808b61cd9382d224b0df263193006dd9913
drm/i915: Hook up ring workaround writes at context creation time on Gen6-7.

intel_rcs_ctx_init() emits all workaround register writes on the list
to the ring, in addition to calling i915_gem_render_state_init().  The
workaround list is currently empty on Gen6-7 so this shouldn't cause
any functional changes.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c