summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorTvrtko Ursulin2014-11-13 18:51:51 +0100
committerDaniel Vetter2014-11-14 11:29:29 +0100
commit6e7cc470bc182389af15c9b7fe78bb40b7dc44e9 (patch)
treec76875a69bf2884330604a276922e5a36c470c27 /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Clear PCODE_DATA1 on SNB+ (diff)
downloadkernel-qcow2-linux-6e7cc470bc182389af15c9b7fe78bb40b7dc44e9.tar.gz
kernel-qcow2-linux-6e7cc470bc182389af15c9b7fe78bb40b7dc44e9.tar.xz
kernel-qcow2-linux-6e7cc470bc182389af15c9b7fe78bb40b7dc44e9.zip
drm/i915/skl: Use correct use counters for force wakes
Write and reads following the block changed use engine specific use counters and unless that is matched here force wake use counting goes bad. Same force wake is attempted to be taken twice which leads to at least time outs. NOTE: Depending on feedback from hardware designers it may not be necessary to grab force wakes on Gen9 here. But for Gen8 it is needed due to a race between RC6 and ELSP writes. v2: Added blitter force wake engine and made more future proof. Added commit note. Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions