mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
drm/i915: update DSC feature flag handling during device init
DSC feature information is no longer part of the DFSM register in some display generations. Bspec:50075 Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221011093048.447177-1-vinod.govindapillai@intel.com
This commit is contained in:
committed by
Stanislav Lisovskiy
parent
57cadf5b77
commit
639325e426
@@ -488,7 +488,7 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv)
|
||||
if (DISPLAY_VER(dev_priv) >= 11 && (dfsm & ICL_DFSM_DMC_DISABLE))
|
||||
runtime->has_dmc = 0;
|
||||
|
||||
if (DISPLAY_VER(dev_priv) >= 10 &&
|
||||
if (IS_DISPLAY_VER(dev_priv, 10, 12) &&
|
||||
(dfsm & GLK_DFSM_DISPLAY_DSC_DISABLE))
|
||||
runtime->has_dsc = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user