mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 15:50:10 -04:00
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:
committed by
Ville Syrjälä
parent
7451a074bf
commit
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))
|
||||
|
||||
Reference in New Issue
Block a user