]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Move WaProgramL3SqcReg1Default:bdw to init_clock_gating()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 May 2015 17:32:56 +0000 (20:32 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 06:08:06 +0000 (08:08 +0200)
commit4d487cff19975d65234902e4abed8724a7b5b94b
treef78af5b290ef614705e454e10a130416c5b53d0b
parent7ad0dbab20678709ca268afa54189cf49b058f15
drm/i915: Move WaProgramL3SqcReg1Default:bdw to init_clock_gating()

GEN8_L3SQCREG1 isn't saved in the context (verified by going through
a context dump), and so we shouldn't be using the ring w/a code to
initialize it. Also Bspec explicitly talks about MMIO and writing it
with the CPU.

Additionally there's another w/a WaTempDisableDOPClkGating:bdw which
tells us to disable DOP clock gating around the GEN8_L3SQCREG1 write
to make sure everyone notices the change. So let's do that as well.

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