Skip MCHBAR queries when display is not available
Platforms without display do not map the MCHBAR MMIO into the GFX device BAR. Skip this sequence when display is not available. Signed-off-by: Stuart Summers <stuart.summers@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191120004505.149516-1-stuart.summers@intel.com
This commit is contained in:
Родитель
7451a074bf
Коммит
e7862f476e
|
@ -1052,7 +1052,7 @@ intel_get_dram_info(struct drm_i915_private *dev_priv)
|
|||
*/
|
||||
dram_info->is_16gb_dimm = !IS_GEN9_LP(dev_priv);
|
||||
|
||||
if (INTEL_GEN(dev_priv) < 9)
|
||||
if (INTEL_GEN(dev_priv) < 9 || !HAS_DISPLAY(dev_priv))
|
||||
return;
|
||||
|
||||
if (IS_GEN9_LP(dev_priv))
|
||||
|
|
Загрузка…
Ссылка в новой задаче