Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib: Put edid_ar_svds where it's used
@ 2021-04-27  5:42 Petri Latvala
  2021-04-27  5:43 ` Joshi, Kunal1
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Petri Latvala @ 2021-04-27  5:42 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi, Petri Latvala

edid_ar_svds was hiding in igt_chamelium instead of igt_kms where it's
used, breaking IGT building when chamelium support was disabled.

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Kunal Joshi <kunal1.joshi@intel.com>
---
 lib/igt_chamelium.h | 5 -----
 lib/igt_kms.c       | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/igt_chamelium.h b/lib/igt_chamelium.h
index 019bdbfe..f40e848e 100644
--- a/lib/igt_chamelium.h
+++ b/lib/igt_chamelium.h
@@ -82,11 +82,6 @@ struct chamelium_infoframe {
 
 struct chamelium_edid;
 
-/* Set of Video Identification Codes advertised in the EDID */
-static const uint8_t edid_ar_svds[] = {
-	16, /* 1080p @ 60Hz, 16:9 */
-};
-
 /**
  * CHAMELIUM_MAX_PORTS: the maximum number of ports supported by igt_chamelium.
  *
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index df946a7d..47b829b0 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -478,6 +478,11 @@ const struct edid *igt_kms_get_3d_edid(void)
 	return edid;
 }
 
+/* Set of Video Identification Codes advertised in the EDID */
+static const uint8_t edid_ar_svds[] = {
+	16, /* 1080p @ 60Hz, 16:9 */
+};
+
 /**
  * igt_kms_get_aspect_ratio_edid:
  *
-- 
2.29.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2021-04-27 11:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-27  5:42 [igt-dev] [PATCH i-g-t] lib: Put edid_ar_svds where it's used Petri Latvala
2021-04-27  5:43 ` Joshi, Kunal1
2021-04-27  6:17   ` Petri Latvala
2021-04-27  6:18     ` Joshi, Kunal1
2021-04-27  6:30 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-04-27 11:59 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox