* [PATCH 0/1] Improve documentation to create an EDID data set
@ 2012-07-19 15:54 Carsten Emde
2012-07-19 15:54 ` [PATCH 1/1] Load EDID: Explain better how to write your own EDID firmware Carsten Emde
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Emde @ 2012-07-19 15:54 UTC (permalink / raw)
To: David Airlie; +Cc: Carsten Emde, DRI
Among the (predominantly positive) feedback to the EDID firmware loader
(http://lists.freedesktop.org/archives/dri-devel/2012-March/020292.html),
there was a complaint that the documentation could be clearer how to
create a particular EDID data set from timing data in X11 format.
This patch adds a related section to the documentation.
-Carsten.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] Load EDID: Explain better how to write your own EDID firmware
2012-07-19 15:54 [PATCH 0/1] Improve documentation to create an EDID data set Carsten Emde
@ 2012-07-19 15:54 ` Carsten Emde
2012-07-19 21:35 ` Adam Jackson
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Emde @ 2012-07-19 15:54 UTC (permalink / raw)
To: David Airlie; +Cc: Carsten Emde, DRI
[-- Attachment #1: edid-howto-explain-timing-vars-better.patch --]
[-- Type: text/plain, Size: 1990 bytes --]
A description was lacking how to write an EDID firmware file that
corresponds to a given X11 setting.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
---
Documentation/EDID/HOWTO.txt | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
Index: linux-3.4.4-rt13/Documentation/EDID/HOWTO.txt
===================================================================
--- linux-3.4.4-rt13.orig/Documentation/EDID/HOWTO.txt
+++ linux-3.4.4-rt13/Documentation/EDID/HOWTO.txt
@@ -28,11 +28,30 @@ Makefile environment are given here.
To create binary EDID and C source code files from the existing data
material, simply type "make".
-If you want to create your own EDID file, copy the file 1024x768.S and
-replace the settings with your own data. The CRC value in the last line
+If you want to create your own EDID file, copy the file 1024x768.S,
+replace the settings with your own data and add a new target to the
+Makefile. Please note that the EDID data structure expects the timing
+values in a different way as compared to the standard X11 format.
+
+X11:
+HTimings: hdisp hsyncstart hsyncend htotal
+VTimings: vdisp vsyncstart vsyncend vtotal
+
+EDID:
+#define XPIX hdisp
+#define XBLANK htotal-hdisp
+#define XOFFSET hsyncstart-hdisp
+#define XPULSE hsyncend-hsyncstart
+
+#define YPIX vdisp
+#define YBLANK vtotal-vdisp
+#define YOFFSET (63+(vsyncstart-vdisp))
+#define YPULSE (63+(vsyncend-vsyncstart))
+
+The CRC value in the last line
#define CRC 0x55
-is a bit tricky. After a first version of the binary data set is
-created, it must be be checked with the "edid-decode" utility which will
+also is a bit tricky. After a first version of the binary data set is
+created, it must be checked with the "edid-decode" utility which will
most probably complain about a wrong CRC. Fortunately, the utility also
displays the correct CRC which must then be inserted into the source
file. After the make procedure is repeated, the EDID data set is ready
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Load EDID: Explain better how to write your own EDID firmware
2012-07-19 15:54 ` [PATCH 1/1] Load EDID: Explain better how to write your own EDID firmware Carsten Emde
@ 2012-07-19 21:35 ` Adam Jackson
0 siblings, 0 replies; 3+ messages in thread
From: Adam Jackson @ 2012-07-19 21:35 UTC (permalink / raw)
To: Carsten Emde; +Cc: DRI
On 7/19/12 11:54 AM, Carsten Emde wrote:
> A description was lacking how to write an EDID firmware file that
> corresponds to a given X11 setting.
>
> Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
- ajax
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-19 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 15:54 [PATCH 0/1] Improve documentation to create an EDID data set Carsten Emde
2012-07-19 15:54 ` [PATCH 1/1] Load EDID: Explain better how to write your own EDID firmware Carsten Emde
2012-07-19 21:35 ` Adam Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.