diff options
author | Nick Hoath <nicholas.hoath@intel.com> | 2015-04-10 13:12:26 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-08 13:03:45 +0200 |
commit | 83a24979c40ebbf0fa0cd14df16f74142f373cd3 (patch) | |
tree | 26b8f390e265ae86ee777b285d180524292c7565 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | f1d3d34d1740e13f01411d85f53945596488d4c1 (diff) | |
download | linux-83a24979c40ebbf0fa0cd14df16f74142f373cd3.tar.gz linux-83a24979c40ebbf0fa0cd14df16f74142f373cd3.tar.bz2 linux-83a24979c40ebbf0fa0cd14df16f74142f373cd3.zip |
drm/i915/bxt: Add WaForceContextSaveRestoreNonCoherent
Note that we also need this for skl.
Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
[danvet: Note that we also need this for skl, requested by Imre.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index b0bd9bb6676e..7ef9a29405cd 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -1057,6 +1057,10 @@ static int bxt_init_workarounds(struct intel_engine_cs *ring) GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE); } + /* WaForceContextSaveRestoreNonCoherent:bxt */ + WA_SET_BIT_MASKED(HDC_CHICKEN0, + HDC_FORCE_CONTEXT_SAVE_RESTORE_NON_COHERENT); + return 0; } |