diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-07-24 02:43:52 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-07-25 07:49:55 +0300 |
commit | 4fd177288a4ee046bd8590355a64de855dcf77e2 (patch) | |
tree | ec96fc697e41af92f58aebc53b1da736b8e7dfaa /scripts/generate_rust_analyzer.py | |
parent | 3c73553f56cdbf2df5af574b3066e2bd7d16e2f7 (diff) | |
download | linux-4fd177288a4ee046bd8590355a64de855dcf77e2.tar.xz |
drm/i915: fix not reading DSC disable fuse in GLK
We were using GRAPHICS_VER() to handle SKL_DFSM register, which means we
were not handling GLK correctly since that has GRAPHICS_VER == 9, but
DISPLAY_VER == 10. Switch the entire branch to check DISPLAY_VER
which makes it more in line with Bspec.
Even though the Bspec has an exception for RKL in
TGL_DFSM_PIPE_D_DISABLE, we don't have to do anything as the bit has
disable semantic and RKL doesn't have pipe D.
Bspec: 50075, 7548
Fixes: 2b5a4562edd0 ("drm/i915/display: Simplify GLK display version tests")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723234352.214459-1-lucas.demarchi@intel.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions