ARM: OMAP: FB: Properly initialise struct in full-screen update
PATCH 1/1 ARM: OMAP: FB: Properly initialise struct in full-screen update
Make sure out_x, out_y, out_width and out_height are initialised when we perform a full-screen update.
This hunk appears to have been dropped from the N800 omapfb merge.
Signed-off-by Daniel Stone <[email protected]>
--- drivers/video/omap/omapfb_main.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/video/omap/omapfb_main.c +4 -0
@@ -756,6 +756,10 @@ static int omapfb_update_full_screen(str win.y =0 ; win.width = fbi->var.xres; win.height = fbi->var.yres; + win.out_x =0 ; + win.out_y =0 ; + win.out_width = fbi->var.xres; + win.out_height = fbi->var.yres; win.format =0 ;omapfb_rqueue_lock (fbdev);
Signature · 1 line
1.4.1
Quoted 15 lines · Daniel Stone
Make sure
out_x,out_y,out_widthandout_heightare initialised when we perform a full-screen update.This hunk appears to have been dropped from the N800 omapfb merge.
Signed-off-by Daniel Stone <[email protected]>--- drivers/video/omap/omapfb_main.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)drivers/video/omap/omapfb_main.c +0
-0
drivers/video/omap/omapfb_main.c static int omapfb_update_full_screen(str · line 765
Quoted 10 lines
drivers/video/omap/omapfb_main.c +4
-0@@ -756,6 +756,10 @@ static int omapfb_update_full_screen(str win.y =0 ; win.width = fbi->var.xres; win.height = fbi->var.yres; + win.out_x =0 ; + win.out_y =0 ; + win.out_width = fbi->var.xres; + win.out_height = fbi->var.yres; win.format =0 ;omapfb_rqueue_lock (fbdev);
Thanks, will merge this into Imre's "Add support for OMAP framebuffer" patch in omap-drivers branch. (Assuming Imre is OK with it :)
Regards,
Tony