]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/hsw: Disable L3 caching of atomic memory operations.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 2 Oct 2013 22:53:16 +0000 (15:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Oct 2013 07:34:13 +0000 (09:34 +0200)
commitf3fc4884ebe6ae649d3723be14b219230d3b7fd2
treea536d9a05846806d1f9f83561e98697edd89e2b7
parent671952a2a290a90017c64e75b7dd0343b0d005b4
drm/i915/hsw: Disable L3 caching of atomic memory operations.

Otherwise using any atomic memory operation will lock up the GPU due
to a Haswell hardware bug.

v2: Use the _MASKED_BIT_ENABLE macro.  Drop drm parameter definition.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: <stable@vger.kernel.org>
[danvet: Fix checkpatch fail.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c