linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.17-rc5-mm1] EDID cleanup
@ 2006-05-31 15:08 Dennis Munsie
  2006-05-31 20:35 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Munsie @ 2006-05-31 15:08 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: Dave Airlie, Sylvain Meyer, Eric Hustvedt

Just a small patch to remove a hard buffer size.

---

From: Dennis Munsie <dmunsie@cecropia.com>

Removed hard coded EDID buffer size.

Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>

---

drivers/video/intelfb/intelfbdrv.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff -Naurp -X linux-2.6.17-rc5-mm1/Documentation/dontdiff  
linux-2.6.17-rc5-mm1/drivers/video/intelfb/intelfbdrv.c linux-2.6.17- 
rc5-edid-cleanup/drivers/video/intelfb/intelfbdrv.c
--- linux-2.6.17-rc5-mm1/drivers/video/intelfb/intelfbdrv.c	 
2006-05-31 10:11:12.000000000 -0500
+++ linux-2.6.17-rc5-edid-cleanup/drivers/video/intelfb/intelfbdrv.c	 
2006-05-31 10:10:55.000000000 -0500
@@ -1036,10 +1036,10 @@ intelfb_init_var(struct intelfb_info *di
		u8 *edid_d = NULL;
		if (edid_s) {
-			edid_d = kmalloc(128, GFP_KERNEL);
+			edid_d = kmalloc(EDID_LENGTH, GFP_KERNEL);
			if (edid_d) {
-				memcpy(edid_d, edid_s, 128);
+				memcpy(edid_d, edid_s, EDID_LENGTH);
				fb_edid_to_monspecs(edid_d,
						    &dinfo->info->monspecs);
				kfree(edid_d);





-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642

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

* Re: [PATCH 2.6.17-rc5-mm1] EDID cleanup
  2006-05-31 15:08 [PATCH 2.6.17-rc5-mm1] EDID cleanup Dennis Munsie
@ 2006-05-31 20:35 ` Antonino A. Daplas
  2006-06-07  8:54   ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Antonino A. Daplas @ 2006-05-31 20:35 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: Dave Airlie, Sylvain Meyer, Eric Hustvedt

Dennis Munsie wrote:
> Just a small patch to remove a hard buffer size.
> 
> ---
> 
> From: Dennis Munsie <dmunsie@cecropia.com>
> 
> Removed hard coded EDID buffer size.
> 
> Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Acked-by: Antonino Daplas <adaplas@pol.net>

Dave, I'll leave all intelfb patches to you.

Tony 


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642

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

* Re: [PATCH 2.6.17-rc5-mm1] EDID cleanup
  2006-05-31 20:35 ` Antonino A. Daplas
@ 2006-06-07  8:54   ` Dave Airlie
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Airlie @ 2006-06-07  8:54 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: Eric Hustvedt, Dave Airlie, Sylvain Meyer

On 6/1/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> Dennis Munsie wrote:
> > Just a small patch to remove a hard buffer size.
> >
> > ---
> >
> > From: Dennis Munsie <dmunsie@cecropia.com>
> >
> > Removed hard coded EDID buffer size.
> >
> > Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
> Acked-by: Antonino Daplas <adaplas@pol.net>
>
> Dave, I'll leave all intelfb patches to you.
>

Applied to my tree.

Dave.

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

end of thread, other threads:[~2006-06-07 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 15:08 [PATCH 2.6.17-rc5-mm1] EDID cleanup Dennis Munsie
2006-05-31 20:35 ` Antonino A. Daplas
2006-06-07  8:54   ` Dave Airlie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).