]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: fbcon: Keep atleast one mode in modelist
authorNaveen Kumar S <nkumars@nvidia.com>
Tue, 1 Sep 2015 06:35:54 +0000 (12:05 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 8 Sep 2015 11:35:48 +0000 (04:35 -0700)
commit7695a4aa2891b20a3e87fd902bb7bd650e49d39b
treea508348252dbde6da91874d7b3ec5c50fbb8bbfd
parent30d80f9d35394a270f582d2043e1dcc57257c945
video: fbcon: Keep atleast one mode in modelist

Framebuffer console init requires atleast one valid
mode to exist for it to succeed.
Virtual terminals relies on the success of fbcon_init
without really checking the return value of this function.

tegra_dc_vga_mode already defined in dc.c. Removed duplicate
defination in hdmi.c and hdmi2.0.c

bug 200036424
bug 200130124
bug 200129681

Change-Id: Ia34da6ab3814f667a485d23ef88e1a52f8b5519b
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/707309
(cherry picked from commit 73a561a53469912d94c0dea866646c87ec257bef)
Reviewed-on: http://git-master/r/792235
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/hdmi.c
drivers/video/tegra/dc/hdmi2.0.c
drivers/video/tegra/fb.c