kms: Let the server know if we got more than 1 EDID block
PATCH 1/1 kms: Let the server know if we got more than 1 EDID block
Verbatim copy from xf86-video-radeon commit 809cacb
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341
--- src/drmmode_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
src/drmmode_display.c +4 -1
@@ -640,9 +640,12 @@ drmmode_output_get_modes(xf86OutputPtr output)drmModeFreeProperty (props); } -if (drmmode_output->edid_blob) +if (drmmode_output->edid_blob) { ddc_mon =xf86InterpretEDID (output->scrn->scrnIndex, drmmode_output->edid_blob->data); +if (ddc_mon && drmmode_output->edid_blob->length >128 ) + ddc_mon->flags |=MONITOR_EDID_COMPLETE_RAWDATA ; + }xf86OutputSetEDID (output, ddc_mon);/* modes should already be available */
Signature · 1 line
1.8.0
A message that is not in the archive (sent off-list or not yet received): 1352052378-23970-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Quoted 17 lines · Emil Velikov
Verbatim copy from xf86-video-radeon commit 809cacb
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341
Signed-off-by Emil Velikov <[email protected]>--- src/drmmode_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)src/drmmode_display.c +0
-0@@ -640,9 +640,12 @@ drmmode_output_get_modes(xf86OutputPtr output)drmModeFreeProperty (props); }
src/drmmode_display.c drmmode_output_get_modes(xf86OutputPtr output) · line 651
Quoted 10 lines
src/drmmode_display.c +4
-1-if (drmmode_output->edid_blob) +if (drmmode_output->edid_blob) { ddc_mon =xf86InterpretEDID (output->scrn->scrnIndex, drmmode_output->edid_blob->data); +if (ddc_mon && drmmode_output->edid_blob->length >128 ) + ddc_mon->flags |=MONITOR_EDID_COMPLETE_RAWDATA ; + }xf86OutputSetEDID (output, ddc_mon);/* modes should already be available */
ping
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Emil Velikov
Quoted 1 line · Emil Velikov
Verbatim copy from xf86-video-radeon commit 809cacb
s/radeon/ati/
Here's direct link: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=809cacb
Quoted 24 lines
Quoted 24 lines
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341
Signed-off-by Emil Velikov <[email protected]>--- src/drmmode_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)src/drmmode_display.c +4
-1@@ -640,9 +640,12 @@ drmmode_output_get_modes(xf86OutputPtr output)drmModeFreeProperty (props); } -if (drmmode_output->edid_blob) +if (drmmode_output->edid_blob) { ddc_mon =xf86InterpretEDID (output->scrn->scrnIndex, drmmode_output->edid_blob->data); +if (ddc_mon && drmmode_output->edid_blob->length >128 ) + ddc_mon->flags |=MONITOR_EDID_COMPLETE_RAWDATA ; + }xf86OutputSetEDID (output, ddc_mon);
Quoted 3 lines
src/drmmode_display.c drmmode_output_get_modes(xf86OutputPtr output) · line 651
Quoted 2 lines
src/drmmode_display.c +0
-0/* modes should already be available */ ping
Cc'ing Adam.