Merge branch 'fbdev-next' of git://github.com/schandinat/linux-2.6
* 'fbdev-next' of git://github.com/schandinat/linux-2.6: (175 commits) module_param: make bool parameters really bool (drivers/video/i810) Revert "atmel_lcdfb: Adjust HFP calculation so it matches the manual." OMAPDSS: HDMI: Disable DDC internal pull up OMAPDSS: HDMI: Move duplicate code from boardfile OMAPDSS: add OrtusTech COM43H4M10XTC display support OMAP: DSS2: Support for UMSH-8173MD TFT panel ASoC: OMAP: HDMI: Move HDMI codec trigger function to generic HDMI driver OMAPDSS: HDMI: Create function to enable HDMI audio ASoC: OMAP: HDMI: Correct signature of ASoC functions ASoC: OMAP: HDMI: Introduce driver data for audio codec grvga: fix section mismatch warnings video: s3c-fb: Don't keep device runtime active when open video: s3c-fb: Hold runtime PM references when touching registers video: s3c-fb: Take a runtime PM reference when unblanked video: s3c-fb: Disable runtime PM in error paths from probe video: s3c-fb: Use s3c_fb_enable() to enable the framebuffer video: s3c-fb: Make runtime PM functional again drivers/video: fsl-diu-fb: merge fsl_diu_alloc() into map_video_memory() drivers/video: fsl-diu-fb: add default platform ops functions drivers/video: fsl-diu-fb: remove broken reference count enabling the display ...
This commit is contained in:
@@ -970,16 +970,20 @@ int omapfb_apply_changes(struct fb_info *fbi, int init)
|
||||
outh = var->yres;
|
||||
}
|
||||
} else {
|
||||
outw = ovl->info.out_width;
|
||||
outh = ovl->info.out_height;
|
||||
struct omap_overlay_info info;
|
||||
ovl->get_overlay_info(ovl, &info);
|
||||
outw = info.out_width;
|
||||
outh = info.out_height;
|
||||
}
|
||||
|
||||
if (init) {
|
||||
posx = 0;
|
||||
posy = 0;
|
||||
} else {
|
||||
posx = ovl->info.pos_x;
|
||||
posy = ovl->info.pos_y;
|
||||
struct omap_overlay_info info;
|
||||
ovl->get_overlay_info(ovl, &info);
|
||||
posx = info.pos_x;
|
||||
posy = info.pos_y;
|
||||
}
|
||||
|
||||
r = omapfb_setup_overlay(fbi, ovl, posx, posy, outw, outh);
|
||||
@@ -2067,6 +2071,8 @@ static int omapfb_create_framebuffers(struct omapfb2_device *fbdev)
|
||||
if (ofbi->num_overlays > 0) {
|
||||
struct omap_overlay *ovl = ofbi->overlays[0];
|
||||
|
||||
ovl->manager->apply(ovl->manager);
|
||||
|
||||
r = omapfb_overlay_enable(ovl, 1);
|
||||
|
||||
if (r) {
|
||||
|
Reference in New Issue
Block a user