diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2019-07-11 10:31:00 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-07-11 16:31:03 -0700 |
commit | 7ff0fca4964ff19d8e16669d8d3070018cecdd0f (patch) | |
tree | 177b972047eb2d64f97d361dc89db742854cfdf2 /drivers/gpu/drm/i915/intel_device_info.c | |
parent | 9747f0c2fb9e1a6d7c907d34a373924c84093afa (diff) | |
download | linux-7ff0fca4964ff19d8e16669d8d3070018cecdd0f.tar.gz linux-7ff0fca4964ff19d8e16669d8d3070018cecdd0f.tar.bz2 linux-7ff0fca4964ff19d8e16669d8d3070018cecdd0f.zip |
drm/i915/tgl: Check if pipe D is fused
On Tiger Lake there is one more pipe - check if it's fused.
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190711173115.28296-7-lucas.demarchi@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 e0d9a7a37994..f99c9fd497b2 100644 --- a/drivers/gpu/drm/i915/intel_device_info.c +++ b/drivers/gpu/drm/i915/intel_device_info.c @@ -938,6 +938,9 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv) enabled_mask &= ~BIT(PIPE_B); if (dfsm & SKL_DFSM_PIPE_C_DISABLE) enabled_mask &= ~BIT(PIPE_C); + if (INTEL_GEN(dev_priv) >= 12 && + (dfsm & TGL_DFSM_PIPE_D_DISABLE)) + enabled_mask &= ~BIT(PIPE_D); /* * At least one pipe should be enabled and if there are |