public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_kms: remove unused update_edid_csum
@ 2019-07-11 17:43 contact
  2019-07-11 20:17 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: contact @ 2019-07-11 17:43 UTC (permalink / raw)
  To: igt-dev; +Cc: Simon Ser

From: Simon Ser <contact@emersion.fr>

I missed it when removing the old EDID generation code.

Signed-off-by: Simon Ser <contact@emersion.fr>
---
 lib/igt_kms.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 8a76acf9e8e4..175e71c310b7 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -87,24 +87,6 @@
 static char *forced_connectors[MAX_CONNECTORS + 1];
 static int forced_connectors_device[MAX_CONNECTORS + 1];

-static void update_edid_csum(unsigned char *edid, int cea_pos)
-{
-	int i, sum = 0;
-	struct tm *tm;
-	time_t t;
-
-	/* year of manufacture */
-	t = time(NULL);
-	tm = localtime(&t);
-	edid[17] = tm->tm_year - 90;
-
-	/* calculate checksum */
-	for (i = 0; i < 127; i++) {
-		sum = sum + edid[cea_pos + i];
-	}
-	edid[cea_pos + 127] = 256 - sum;
-}
-
 /**
  * igt_kms_get_base_edid:
  *
--
2.22.0


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

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

end of thread, other threads:[~2019-07-15  8:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-11 17:43 [igt-dev] [PATCH i-g-t] lib/igt_kms: remove unused update_edid_csum contact
2019-07-11 20:17 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-07-13  2:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-07-15  8:25 ` [igt-dev] [PATCH i-g-t] " Ser, Simon
2019-07-15  8:27   ` Arkadiusz Hiler

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