Emil Velikov
2012-Nov-04 18:06 UTC
[Nouveau] [PATCH] 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 Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> --- src/drmmode_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 803785d..8ec69f5 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -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 */ -- 1.8.0
Emil Velikov
2012-Nov-11 20:09 UTC
[Nouveau] [PATCH] kms: Let the server know if we got more than 1 EDID block
On 04/11/12 18:06, Emil Velikov wrote:> Verbatim copy from xf86-video-radeon commit 809cacb > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341 > Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> > --- > src/drmmode_display.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/drmmode_display.c b/src/drmmode_display.c > index 803785d..8ec69f5 100644 > --- a/src/drmmode_display.c > +++ b/src/drmmode_display.c > @@ -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 */ >ping