Commit 86205692 authored by Simon Rettberg's avatar Simon Rettberg Committed by Zheng Zengkai
Browse files

drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7

stable inclusion
from stable-5.10.40
commit 585d8425e504c124817c962c4accb433d97c71ac
bugzilla: 51882
CVE: NA

--------------------------------

commit 023dfa96 upstream.

When resetting CACHE_MODE registers, don't enable HiZ Raw Stall
Optimization on Ivybridge GT1 and Baytrail, as it causes severe glitches
when rendering any kind of 3D accelerated content.
This optimization is disabled on these platforms by default according to
official documentation from 01.org.

Fixes: ef99a60f ("drm/i915/gt: Clear CACHE_MODE prior to clearing residuals")
BugLink: https://gitlab.freedesktop.org/drm/intel/-/issues/3081
BugLink: https://gitlab.freedesktop.org/drm/intel/-/issues/3404
BugLink: https://gitlab.freedesktop.org/drm/intel/-/issues/3071


Reviewed-by: default avatarManuel Bentele <development@manuel-bentele.de>
Signed-off-by: default avatarSimon Rettberg <simon.rettberg@rz.uni-freiburg.de>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
[Rodrigo removed invalid Fixes line]
Link: https://patchwork.freedesktop.org/patch/msgid/20210426161124.2b7fd708@dellnichtsogutkiste


(cherry picked from commit 929b734a)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ab0c1971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment