]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix not reading DSC disable fuse in GLK
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 23 Jul 2021 23:43:52 +0000 (16:43 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 26 Jul 2021 10:16:43 +0000 (06:16 -0400)
commit639d11adf9442bf63744f3f277e61670b25f165f
treec5b631281c52a850e2cccfa53f051703247e496b
parent586da93d1b8d7c78e3f6909b376df49d312eebc2
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: 5c86e5937233 ("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
(cherry picked from commit 4fd177288a4ee046bd8590355a64de855dcf77e2)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_device_info.c