htcleo: removed the fb modifications for full screen update

Not it's dependend on fb console
This commit is contained in:
Markinus 2010-09-19 12:07:03 +02:00
parent 4105944c60
commit e6285026eb

View File

@ -231,11 +231,7 @@ static int msmfb_start_dma(struct msmfb_info *msmfb)
w = msmfb->update_info.eright - x;
h = msmfb->update_info.ebottom - y;
#if defined(CONFIG_MACH_HTCLEO)
// For some reason we need to force a full-screen update to prevent
// the screen from mixing up (top +-100px missing, garbled data
// at the bottom +-100px). Maybe it has to do with the vsync we
// had to disable in mdp_lcdc?
#if defined(CONFIG_FRAMEBUFFER_CONSOLE)
x = 0; y = 0; w = msmfb->xres; h = msmfb->yres;
#endif
@ -629,7 +625,7 @@ int msmfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
static void msmfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect)
{
cfb_fillrect(p, rect);
#if !defined(CONFIG_MACH_HTCLEO)
#if !defined(CONFIG_FRAMEBUFFER_CONSOLE)
msmfb_update(p, rect->dx, rect->dy, rect->dx + rect->width,
rect->dy + rect->height);
#endif
@ -638,7 +634,7 @@ static void msmfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect)
static void msmfb_copyarea(struct fb_info *p, const struct fb_copyarea *area)
{
cfb_copyarea(p, area);
#if !defined(CONFIG_MACH_HTCLEO)
#if !defined(CONFIG_FRAMEBUFFER_CONSOLE)
msmfb_update(p, area->dx, area->dy, area->dx + area->width,
area->dy + area->height);
#endif
@ -647,7 +643,7 @@ static void msmfb_copyarea(struct fb_info *p, const struct fb_copyarea *area)
static void msmfb_imageblit(struct fb_info *p, const struct fb_image *image)
{
cfb_imageblit(p, image);
#if !defined(CONFIG_MACH_HTCLEO)
#if !defined(CONFIG_FRAMEBUFFER_CONSOLE)
msmfb_update(p, image->dx, image->dy, image->dx + image->width,
image->dy + image->height);
#endif