[PATCH 2.6.17-rc5-mm1] EDID cleanup

STALE7434d

3 messages, 3 authors, 2006-06-07 · open the first message on its own page

[PATCH 2.6.17-rc5-mm1] EDID cleanup

From: Dennis Munsie <hidden>
Date: 2006-05-31 15:07:32

Just a small patch to remove a hard buffer size.

---

From: Dennis Munsie <redacted>

Removed hard coded EDID buffer size.

Signed-off-by: Dennis Munsie <redacted>

---

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

Re: [PATCH 2.6.17-rc5-mm1] EDID cleanup

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2006-05-31 20:42:36

Dennis Munsie wrote:
Just a small patch to remove a hard buffer size.

---

From: Dennis Munsie <redacted>

Removed hard coded EDID buffer size.

Signed-off-by: Dennis Munsie <redacted>
Acked-by: Antonino Daplas <redacted>

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

Re: [PATCH 2.6.17-rc5-mm1] EDID cleanup

From: "Dave Airlie" <airlied@gmail.com>
Date: 2006-06-07 21:02:45

On 6/1/06, Antonino A. Daplas [off-list ref] wrote:
Dennis Munsie wrote:
quoted
Just a small patch to remove a hard buffer size.

---

From: Dennis Munsie <redacted>

Removed hard coded EDID buffer size.

Signed-off-by: Dennis Munsie <redacted>
Acked-by: Antonino Daplas <redacted>

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

Dave.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help