In this patch workarounds for BDW are applied using golden render state. Only those registers that are part of register state are added to this batch. Remaining workarounds are still in its current place init_clock_gating() which are not affected by a gpu reset. I can send another patch where they can be moved to render ring init function but during testing I found their state doesn't change after reset. Arun Siluvery (2): drm/i915/bdw: Apply workarounds using the golden render state drm/i915/bdw: Extract workaround registers data from golden render state drivers/gpu/drm/i915/i915_debugfs.c | 35 ++++++++++ drivers/gpu/drm/i915/i915_drv.h | 14 ++++ drivers/gpu/drm/i915/i915_gem_render_state.c | 51 ++++++++++++++ drivers/gpu/drm/i915/intel_pm.c | 49 -------------- drivers/gpu/drm/i915/intel_renderstate_gen8.c | 95 ++++++++++++++++++++------- 5 files changed, 172 insertions(+), 72 deletions(-) -- 2.0.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx