drm/i915: Don't apply WaVSThreadDispatchOverride on HSW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jan 2014 19:33:00 +0000 (21:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Jan 2014 19:15:48 +0000 (20:15 +0100)
commite36ea7ff40d08ef914ee08fde63a25a7ee93959c
treeabc773717fbfa30ac143d0d8078dc20d1af25dd8
parent3aad9059a441740977f03d51af59f376fb814b9a
drm/i915: Don't apply WaVSThreadDispatchOverride on HSW

BSpec states that the thread override values set by
gen7_setup_fixed_func_scheduler() are invalid for HSW. So let's not
muck around with them.

Since gen7_setup_fixed_func_scheduler() now has two totally independent
parts, one for IVB and one for HSW, move the HSW part directly into
haswell_init_clock_gating().

Note tht there's another workaround by the name of
WaHSWVSRefCountFullforceMissDisable which basically claims that later
steppings don't need the fix, but since WaVSRefCountFullforceMissDisable
is listed to be needed for all steppings play it safe and keep applying
the workaround.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c