[PATCH] drm_edid: support CEA video modes

James Cloos cloos at jhcloos.com
Tue Nov 15 01:37:02 PST 2011


>>>>> "CS" == Christian Schmidt <schmidt at digadd.de> writes:

CS> TFT/plasma televisions and projectors have become commonplace, and so
CS> has the use of PCs to drive them. Add the video modes specified by an
CS> EDID's CEA extension to the mode database for a connector.

CS> Signed-off-by: Christian Schmidt <schmidt at digadd.de>

Tested-by: James Cloos <cloos at jhcloos.com>

Works fine here on top of Linus’ 7f80850d3f9f with a Radeon HD 4290 and
an hdmi-connected tv.

The new modes not previously seen, as reported by libdrm’s modetest are:

:; diff -U0 a/mt.out b/mt.out
--- a/mt.out	2011-11-14 17:25:21.785708725 -0500
+++ b/mt.out	2011-11-14 18:41:22.023562219 -0500
@@ -11 +11 @@
-15	14	connected	HDMI-A	820x460		17	14
+15	14	connected	HDMI-A	820x460		22	14
@@ -15 +15,2 @@
-  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125
+  1920x1080 60 1920 2008 2052 2200 1080 1084 1094 1125
+  1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125
@@ -19,0 +21 @@
+  1280x720 60 1280 1390 1430 1650 720 725 730 750
@@ -22,0 +25 @@
+  1440x480 60 1440 1478 1602 1716 480 488 494 525
@@ -26,0 +30 @@
+  720x480 60 720 736 798 858 480 489 495 525
@@ -29,0 +34 @@
+  640x480 60 640 656 752 800 480 490 492 525
@@ -41,2 +46,2 @@
-10	35	(0,0)	(0x0)
-   0 1920 2008 2052 2200 1080 1084 1089 1125
+10	19	(0,0)	(0x0)
+  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125


-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the dri-devel mailing list