aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/via/viafbdev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c
index d8df17a7d5f..a0004c17af6 100644
--- a/drivers/video/via/viafbdev.c
+++ b/drivers/video/via/viafbdev.c
@@ -872,7 +872,9 @@ static int viafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
872 if (info->flags & FBINFO_HWACCEL_DISABLED || info != viafbinfo) 872 if (info->flags & FBINFO_HWACCEL_DISABLED || info != viafbinfo)
873 return -ENODEV; 873 return -ENODEV;
874 874
875 if (chip_name == UNICHROME_CLE266 && viapar->iga_path == IGA2) 875 /* LCD ouput does not support hw cursors (at least on VN896) */
876 if ((chip_name == UNICHROME_CLE266 && viapar->iga_path == IGA2) ||
877 viafb_LCD_ON)
876 return -ENODEV; 878 return -ENODEV;
877 879
878 viafb_show_hw_cursor(info, HW_Cursor_OFF); 880 viafb_show_hw_cursor(info, HW_Cursor_OFF);