[PATCH 3/8] pxa: fix offset setting at initialization

STALE6110d

2 messages, 1 author, 2009-11-12 · open the first message on its own page

[PATCH 3/8] pxa: fix offset setting at initialization

From: Jun Nie <hidden>
Date: 2009-11-10 08:12:14

From c4f8923a0d532a1f1b5defed639ef818a0d7a270 Mon Sep 17 00:00:00 2001
From: Jun Nie <redacted>
Date: Tue, 10 Nov 2009 09:33:49 +0800
Subject: [PATCH] pxa: fix offset setting at initialization

Signed-off-by: Jun Nie <redacted>
---
 drivers/video/pxa168fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c
index 50f72e9..55c69a1 100644
--- a/drivers/video/pxa168fb.c
+++ b/drivers/video/pxa168fb.c
@@ -765,6 +765,7 @@ static int __init pxa168fb_probe(struct
platform_device *pdev)
 	}

 	info->fix.smem_start = (unsigned long)fbi->fb_start_dma;
+	set_graphics_start(info, 0, 0);

 	/*
 	 * Set video mode according to platform data.
-- 
1.5.4.3

[PATCH 3/8] pxa: fix offset setting at initialization

From: Jun Nie <hidden>
Date: 2009-11-12 02:17:21

2009/11/10 Jun Nie [off-list ref]:
quoted hunk
From c4f8923a0d532a1f1b5defed639ef818a0d7a270 Mon Sep 17 00:00:00 2001
From: Jun Nie <redacted>
Date: Tue, 10 Nov 2009 09:33:49 +0800
Subject: [PATCH] pxa: fix offset setting at initialization

Signed-off-by: Jun Nie <redacted>
---
 drivers/video/pxa168fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c
index 50f72e9..55c69a1 100644
--- a/drivers/video/pxa168fb.c
+++ b/drivers/video/pxa168fb.c
@@ -765,6 +765,7 @@ static int __init pxa168fb_probe(struct
platform_device *pdev)
       }

       info->fix.smem_start = (unsigned long)fbi->fb_start_dma;
+       set_graphics_start(info, 0, 0);

       /*
        * Set video mode according to platform data.
--
1.5.4.3
patch attached.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help