ValveSoftware/steamos_kernel — pull request #2 by courtney-lunarg (2014-06-27 23:35:07+00:00)
Title: drm/i915/hsw: Disable L3 caching of atomic memory operations.

Back ported this patch to work around bug on Haswell w.r.t. shader atomic counters. System will lock up and require power cycle if run any shader using atomic 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
Reviewed-by: Ben Widawsky
Cc: Daniel Vetter
Cc:
[danvet: Fix checkpatch fail.]
Signed-off-by: Daniel Vetter

Conflicts:
drivers/gpu/drm/i915/intel_pm.c