diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2019-10-25 17:13:22 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2019-10-29 12:12:48 -0700 |
commit | ee595888e1c25fb31bbc10a317a576311356babd (patch) | |
tree | 36dfc5ffb41341ab4014aafc2e8916df7ad8e367 /drivers/gpu/drm/i915/intel_device_info.c | |
parent | 7a40aac1d77ab05ca375ac34de44e7972cc61dc3 (diff) | |
download | linux-ee595888e1c25fb31bbc10a317a576311356babd.tar.gz linux-ee595888e1c25fb31bbc10a317a576311356babd.tar.bz2 linux-ee595888e1c25fb31bbc10a317a576311356babd.zip |
drm/i915/display/icl+: Check if DMC is fused off
Check if DMC is fused off and handle it.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Martin Peres <martin.peres@linux.intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191026001323.216052-4-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_device_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c index a3e90714cfa2..fa6464879142 100644 --- a/drivers/gpu/drm/i915/intel_device_info.c +++ b/drivers/gpu/drm/i915/intel_device_info.c @@ -987,6 +987,9 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv) if (dfsm & SKL_DFSM_DISPLAY_PM_DISABLE) info->display.has_fbc = 0; + + if (INTEL_GEN(dev_priv) >= 11 && (dfsm & ICL_DFSM_DMC_DISABLE)) + info->display.has_csr = 0; } /* Initialize slice/subslice/EU info */ |