intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards
@ 2018-12-11 17:30 Bob Paauwe
  2018-12-11 17:45 ` Ville Syrjälä
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Bob Paauwe @ 2018-12-11 17:30 UTC (permalink / raw)
  To: intel-gfx

It's not just GEN9 platforms that allow for pipes to be disabled via
the DFSM register, but all later platforms as well.

Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
---
 drivers/gpu/drm/i915/intel_device_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
index 1e56319334f3..7ac641e8c0bd 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -811,7 +811,7 @@ void intel_device_info_runtime_init(struct intel_device_info *info)
 			DRM_INFO("PipeC fused off\n");
 			info->num_pipes -= 1;
 		}
-	} else if (HAS_DISPLAY(dev_priv) && IS_GEN9(dev_priv)) {
+	} else if (HAS_DISPLAY(dev_priv) && (INTEL_GEN(dev_priv) >= 9)) {
 		u32 dfsm = I915_READ(SKL_DFSM);
 		u8 disabled_mask = 0;
 		bool invalid;
-- 
2.17.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-12  0:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-11 17:30 [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards Bob Paauwe
2018-12-11 17:45 ` Ville Syrjälä
2018-12-11 17:53 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-12-11 19:25 ` [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards (v2) Bob Paauwe
2018-12-12  0:28   ` Matt Roper
2018-12-11 19:41 ` ✓ Fi.CI.IGT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards Patchwork
2018-12-11 19:51 ` ✓ Fi.CI.BAT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards (rev2) Patchwork
2018-12-12  0:51 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).