]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
video: fbmem: assign bpp value for var_screeninfo
authorNaveen Kumar S <nkumars@nvidia.com>
Wed, 31 May 2017 10:07:45 +0000 (15:37 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 6 Jun 2017 09:51:06 +0000 (02:51 -0700)
commit4643944ea3e0e88b435fd467277a6b38d7440cb2
treecc873d91ffd834226aa92899a8f2cf8044044ea9
parent81dd03986638df9ca00fa166b317d127eca6ec37
video: fbmem: assign bpp value for var_screeninfo

bits per pixel is not specified in few scenarios.
E.g.: Modes set through nvdisp_setmode.
In such cases, fbconsole fails during subsequent
operations. Hence assign bpp value from previous mode
if bpp is not set.

bug 200277699

Change-Id: I154ce70b9c67c0ca99b0efc71b2c0cf120b07ef3
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/1492910
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tow Wang <toww@nvidia.com>
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
drivers/video/fbdev/core/fbmem.c