arm: tegra: fb: Update fix line_length tegra-l4t-r16r2-rc
authorShashank Sharma <shashanks@nvidia.com>
Thu, 25 Oct 2012 09:41:39 +0000 (14:41 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 2 Nov 2012 22:36:46 +0000 (15:36 -0700)
commitfc993d9bc48f772133d8cd156c67c296477db070
tree460d09af28f9c7c2840fb15371f5d946197ff3bf
parentc4a5c51e493a8d4154c15c95d2bd93b348090892
arm: tegra: fb: Update fix line_length

Update framebuffer's fix line_length parameter when changing
video mode dynamically.The new line_length should be according
to new x resolution. On addition, check the return value from
dc driver while setting a mode.

Bug 1163682
Bug 1056767
Bug 1056782
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Change-Id: Ib0ab48474f0af3235556a7f7f0d8354af3b50994
Reviewed-on: http://git-master/r/147511
(cherry picked from commit 5856c4afde9459ba6afaf2cdcb07361d9fbf8c79)
Reviewed-on: http://git-master/r/160788
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
drivers/video/tegra/fb.c