drm/i915/cnl: Use mmio access to context status buffer
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 12 Apr 2018 14:58:02 +0000 (17:58 +0300)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 13 Apr 2018 07:11:17 +0000 (10:11 +0300)
commit61bf9719fa170cd73b1937770d08cb062e070958
tree235e22f8a09a1911e90fbfa63669c058f2eada37
parente53a1058395435b8801591361b2be18adda869ff
drm/i915/cnl: Use mmio access to context status buffer

Evidence indicates that Cannonlake HWSP is not coherent
as it should. Revert to using mmio access for now.

Testcase: igt/gem_ctx_switch
References: https://bugs.freedesktop.org/show_bug.cgi?id=105888
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rafael Antognolli <rafael.antognolli@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180412145802.23313-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/intel_engine_cs.c