diff options
29 files changed, 169 insertions, 153 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index f447734b09b4..57b1d44acbfe 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
| @@ -748,6 +748,7 @@ static int con2fb_release_oldinfo(struct vc_data *vc, struct fb_info *oldinfo, | |||
| 748 | fbcon_del_cursor_timer(oldinfo); | 748 | fbcon_del_cursor_timer(oldinfo); |
| 749 | kfree(ops->cursor_state.mask); | 749 | kfree(ops->cursor_state.mask); |
| 750 | kfree(ops->cursor_data); | 750 | kfree(ops->cursor_data); |
| 751 | kfree(ops->cursor_src); | ||
| 751 | kfree(ops->fontbuffer); | 752 | kfree(ops->fontbuffer); |
| 752 | kfree(oldinfo->fbcon_par); | 753 | kfree(oldinfo->fbcon_par); |
| 753 | oldinfo->fbcon_par = NULL; | 754 | oldinfo->fbcon_par = NULL; |
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index e1f47272fdea..59c98bfd5a8a 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig | |||
| @@ -360,6 +360,7 @@ config FB_CYBER2000_DDC | |||
| 360 | config FB_CYBER2000_I2C | 360 | config FB_CYBER2000_I2C |
| 361 | bool "CyberPro 2000/2010/5000 I2C support" | 361 | bool "CyberPro 2000/2010/5000 I2C support" |
| 362 | depends on FB_CYBER2000 && I2C && ARCH_NETWINDER | 362 | depends on FB_CYBER2000 && I2C && ARCH_NETWINDER |
| 363 | depends on I2C=y || FB_CYBER2000=m | ||
| 363 | select I2C_ALGOBIT | 364 | select I2C_ALGOBIT |
| 364 | help | 365 | help |
| 365 | Enable support for the I2C video decoder interface on the | 366 | Enable support for the I2C video decoder interface on the |
| @@ -966,6 +967,7 @@ config FB_S1D13XXX | |||
| 966 | config FB_ATMEL | 967 | config FB_ATMEL |
| 967 | tristate "AT91/AT32 LCD Controller support" | 968 | tristate "AT91/AT32 LCD Controller support" |
| 968 | depends on FB && HAVE_FB_ATMEL | 969 | depends on FB && HAVE_FB_ATMEL |
| 970 | select FB_BACKLIGHT | ||
| 969 | select FB_CFB_FILLRECT | 971 | select FB_CFB_FILLRECT |
| 970 | select FB_CFB_COPYAREA | 972 | select FB_CFB_COPYAREA |
| 971 | select FB_CFB_IMAGEBLIT | 973 | select FB_CFB_IMAGEBLIT |
| @@ -1971,6 +1973,7 @@ config FB_W100 | |||
| 1971 | config FB_SH_MOBILE_LCDC | 1973 | config FB_SH_MOBILE_LCDC |
| 1972 | tristate "SuperH Mobile LCDC framebuffer support" | 1974 | tristate "SuperH Mobile LCDC framebuffer support" |
| 1973 | depends on FB && (SUPERH || ARCH_SHMOBILE) && HAVE_CLK | 1975 | depends on FB && (SUPERH || ARCH_SHMOBILE) && HAVE_CLK |
| 1976 | depends on FB_SH_MOBILE_MERAM || !FB_SH_MOBILE_MERAM | ||
| 1974 | select FB_SYS_FILLRECT | 1977 | select FB_SYS_FILLRECT |
| 1975 | select FB_SYS_COPYAREA | 1978 | select FB_SYS_COPYAREA |
| 1976 | select FB_SYS_IMAGEBLIT | 1979 | select FB_SYS_IMAGEBLIT |
| @@ -1993,7 +1996,7 @@ config FB_SH_MOBILE_HDMI | |||
| 1993 | 1996 | ||
| 1994 | config FB_TMIO | 1997 | config FB_TMIO |
| 1995 | tristate "Toshiba Mobile IO FrameBuffer support" | 1998 | tristate "Toshiba Mobile IO FrameBuffer support" |
| 1996 | depends on FB && MFD_CORE | 1999 | depends on FB && (MFD_TMIO || COMPILE_TEST) |
| 1997 | select FB_CFB_FILLRECT | 2000 | select FB_CFB_FILLRECT |
| 1998 | select FB_CFB_COPYAREA | 2001 | select FB_CFB_COPYAREA |
| 1999 | select FB_CFB_IMAGEBLIT | 2002 | select FB_CFB_IMAGEBLIT |
| @@ -2062,7 +2065,7 @@ config FB_S3C2410_DEBUG | |||
| 2062 | through sysfs | 2065 | through sysfs |
| 2063 | 2066 | ||
| 2064 | config FB_NUC900 | 2067 | config FB_NUC900 |
| 2065 | bool "NUC900 LCD framebuffer support" | 2068 | tristate "NUC900 LCD framebuffer support" |
| 2066 | depends on FB && ARCH_W90X900 | 2069 | depends on FB && ARCH_W90X900 |
| 2067 | select FB_CFB_FILLRECT | 2070 | select FB_CFB_FILLRECT |
| 2068 | select FB_CFB_COPYAREA | 2071 | select FB_CFB_COPYAREA |
| @@ -2169,7 +2172,7 @@ config FB_XILINX | |||
| 2169 | 2172 | ||
| 2170 | config FB_GOLDFISH | 2173 | config FB_GOLDFISH |
| 2171 | tristate "Goldfish Framebuffer" | 2174 | tristate "Goldfish Framebuffer" |
| 2172 | depends on FB && HAS_DMA | 2175 | depends on FB && HAS_DMA && (GOLDFISH || COMPILE_TEST) |
| 2173 | select FB_CFB_FILLRECT | 2176 | select FB_CFB_FILLRECT |
| 2174 | select FB_CFB_COPYAREA | 2177 | select FB_CFB_COPYAREA |
| 2175 | select FB_CFB_IMAGEBLIT | 2178 | select FB_CFB_IMAGEBLIT |
| @@ -2295,6 +2298,7 @@ endchoice | |||
| 2295 | config FB_MB862XX_I2C | 2298 | config FB_MB862XX_I2C |
| 2296 | bool "Support I2C bus on MB862XX GDC" | 2299 | bool "Support I2C bus on MB862XX GDC" |
| 2297 | depends on FB_MB862XX && I2C | 2300 | depends on FB_MB862XX && I2C |
| 2301 | depends on FB_MB862XX=m || I2C=y | ||
| 2298 | default y | 2302 | default y |
| 2299 | help | 2303 | help |
| 2300 | Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter | 2304 | Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter |
| @@ -2332,6 +2336,7 @@ config FB_MX3 | |||
| 2332 | select FB_CFB_FILLRECT | 2336 | select FB_CFB_FILLRECT |
| 2333 | select FB_CFB_COPYAREA | 2337 | select FB_CFB_COPYAREA |
| 2334 | select FB_CFB_IMAGEBLIT | 2338 | select FB_CFB_IMAGEBLIT |
| 2339 | select BACKLIGHT_CLASS_DEVICE | ||
| 2335 | default y | 2340 | default y |
| 2336 | help | 2341 | help |
| 2337 | This is a framebuffer device for the i.MX31 LCD Controller. So | 2342 | This is a framebuffer device for the i.MX31 LCD Controller. So |
diff --git a/drivers/video/fbdev/bf54x-lq043fb.c b/drivers/video/fbdev/bf54x-lq043fb.c index e2c42ad8515a..adbef542c998 100644 --- a/drivers/video/fbdev/bf54x-lq043fb.c +++ b/drivers/video/fbdev/bf54x-lq043fb.c | |||
| @@ -717,8 +717,6 @@ static int bfin_bf54x_remove(struct platform_device *pdev) | |||
| 717 | #ifdef CONFIG_PM | 717 | #ifdef CONFIG_PM |
| 718 | static int bfin_bf54x_suspend(struct platform_device *pdev, pm_message_t state) | 718 | static int bfin_bf54x_suspend(struct platform_device *pdev, pm_message_t state) |
| 719 | { | 719 | { |
| 720 | struct fb_info *fbinfo = platform_get_drvdata(pdev); | ||
| 721 | |||
| 722 | bfin_write_EPPI0_CONTROL(bfin_read_EPPI0_CONTROL() & ~EPPI_EN); | 720 | bfin_write_EPPI0_CONTROL(bfin_read_EPPI0_CONTROL() & ~EPPI_EN); |
| 723 | disable_dma(CH_EPPI0); | 721 | disable_dma(CH_EPPI0); |
| 724 | bfin_write_EPPI0_STATUS(0xFFFF); | 722 | bfin_write_EPPI0_STATUS(0xFFFF); |
diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c index b6d5008f361f..b5e85f6c1c26 100644 --- a/drivers/video/fbdev/core/fbmem.c +++ b/drivers/video/fbdev/core/fbmem.c | |||
| @@ -433,7 +433,7 @@ static void fb_do_show_logo(struct fb_info *info, struct fb_image *image, | |||
| 433 | image->dx += image->width + 8; | 433 | image->dx += image->width + 8; |
| 434 | } | 434 | } |
| 435 | } else if (rotate == FB_ROTATE_UD) { | 435 | } else if (rotate == FB_ROTATE_UD) { |
| 436 | for (x = 0; x < num && image->dx >= 0; x++) { | 436 | for (x = 0; x < num; x++) { |
| 437 | info->fbops->fb_imageblit(info, image); | 437 | info->fbops->fb_imageblit(info, image); |
| 438 | image->dx -= image->width + 8; | 438 | image->dx -= image->width + 8; |
| 439 | } | 439 | } |
| @@ -445,7 +445,7 @@ static void fb_do_show_logo(struct fb_info *info, struct fb_image *image, | |||
| 445 | image->dy += image->height + 8; | 445 | image->dy += image->height + 8; |
| 446 | } | 446 | } |
| 447 | } else if (rotate == FB_ROTATE_CCW) { | 447 | } else if (rotate == FB_ROTATE_CCW) { |
| 448 | for (x = 0; x < num && image->dy >= 0; x++) { | 448 | for (x = 0; x < num; x++) { |
| 449 | info->fbops->fb_imageblit(info, image); | 449 | info->fbops->fb_imageblit(info, image); |
| 450 | image->dy -= image->height + 8; | 450 | image->dy -= image->height + 8; |
| 451 | } | 451 | } |
| @@ -674,6 +674,7 @@ int fb_show_logo(struct fb_info *info, int rotate) | |||
| 674 | int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } | 674 | int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } |
| 675 | int fb_show_logo(struct fb_info *info, int rotate) { return 0; } | 675 | int fb_show_logo(struct fb_info *info, int rotate) { return 0; } |
| 676 | #endif /* CONFIG_LOGO */ | 676 | #endif /* CONFIG_LOGO */ |
| 677 | EXPORT_SYMBOL(fb_prepare_logo); | ||
| 677 | EXPORT_SYMBOL(fb_show_logo); | 678 | EXPORT_SYMBOL(fb_show_logo); |
| 678 | |||
