public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/debugfs: xelpd lpsp capability
@ 2021-07-09 11:54 Anshuman Gupta
  2021-07-09 13:43 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Anshuman Gupta @ 2021-07-09 11:54 UTC (permalink / raw)
  To: intel-gfx

Extend i915_lpsp_capability sysfs to xelpd and future platforms.

Cc: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
index af9e58619667..75d991a0707e 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -2255,6 +2255,11 @@ static int i915_lpsp_capability_show(struct seq_file *m, void *data)
 	if (connector->status != connector_status_connected)
 		return -ENODEV;
 
+	if (DISPLAY_VER(i915) >= 13) {
+		LPSP_CAPABLE(encoder->port <= PORT_B);
+		return 0;
+	}
+
 	switch (DISPLAY_VER(i915)) {
 	case 12:
 		/*
-- 
2.26.2

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

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

end of thread, other threads:[~2021-07-14 13:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-09 11:54 [Intel-gfx] [PATCH] drm/i915/debugfs: xelpd lpsp capability Anshuman Gupta
2021-07-09 13:43 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-07-09 15:21 ` [Intel-gfx] [PATCH] " Daniel Vetter
2021-07-12  5:43   ` Gupta, Anshuman
2021-07-10  6:25 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for " Patchwork
2021-07-12  6:58 ` [Intel-gfx] [PATCH] " Manna, Animesh
2021-07-13  7:57 ` [Intel-gfx] [PATCH] drm/i915/debugfs: DISPLAY_VER 13 " Anshuman Gupta
2021-07-14 13:00   ` Manna, Animesh
2021-07-14 13:38     ` Gupta, Anshuman
2021-07-13  9:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/debugfs: xelpd lpsp capability (rev2) Patchwork
2021-07-13 11:08 ` [Intel-gfx] ✓ 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