All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kms: Let the server know if we got more than 1 EDID block
@ 2012-11-04 18:06 Emil Velikov
       [not found] ` <1352052378-23970-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Emil Velikov @ 2012-11-04 18:06 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 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

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

* Re: [PATCH] kms: Let the server know if we got more than 1 EDID block
       [not found] ` <1352052378-23970-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-11-11 20:09   ` Emil Velikov
       [not found]     ` <50A005E4.10808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Emil Velikov @ 2012-11-11 20:09 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>  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

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

* Re: [PATCH] kms: Let the server know if we got more than 1 EDID block
       [not found]     ` <50A005E4.10808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-11-11 20:24       ` Marcin Slusarz
  0 siblings, 0 replies; 3+ messages in thread
From: Marcin Slusarz @ 2012-11-11 20:24 UTC (permalink / raw)
  To: Emil Velikov; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Adam Jackson

On Sun, Nov 11, 2012 at 08:09:08PM +0000, Emil Velikov wrote:
> On 04/11/12 18:06, Emil Velikov wrote:
> > 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

> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341
> > Signed-off-by: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > ---
> >  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

Cc'ing Adam.

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

end of thread, other threads:[~2012-11-11 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 18:06 [PATCH] kms: Let the server know if we got more than 1 EDID block Emil Velikov
     [not found] ` <1352052378-23970-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-11 20:09   ` Emil Velikov
     [not found]     ` <50A005E4.10808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-11 20:24       ` Marcin Slusarz

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.