arm: tegra: fb: Update fix line_length
authorShashank Sharma <shashanks@nvidia.com>
Thu, 25 Oct 2012 09:41:39 +0000 (14:41 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 1 Nov 2012 17:52:59 +0000 (10:52 -0700)
commit5856c4afde9459ba6afaf2cdcb07361d9fbf8c79
tree83f871907a5e6c336de5eb52980e39ee644b2587
parentb8fc2394a5696ec240494741a60a9d5eb7567f72
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
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/fb.c