]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
fbcon: use mode from fbconsole to enable dc
authorNaveen Kumar S <nkumars@nvidia.com>
Thu, 8 Jun 2017 14:34:42 +0000 (20:04 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 9 Jun 2017 12:46:18 +0000 (05:46 -0700)
commit537c6c2c9c3a86d00c3c0d2a7cbd60b586fb37c6
treebb30c7d1352855b72e3cfff93dc6e4cd5ff93b26
parent15823a67c81201c89a2e79d679fdff9e4295ccf4
fbcon: use mode from fbconsole to enable dc

fbconsole takes over when a userspace entity (Xorg) gets
killed. But in this scenario, DC was getting enabled
with X's mode instead of using fbconsole's mode. This
lead to DC and fbconsole having different modes if X had
updated its mode earlier. Updated fbconsole unblanking logic
to use fbconsole's mode to enable DC during a switch from
graphical to text mode.

bug 1885932

Change-Id: I8aa63c950fefc23aa2ec1b062ed6648688b6f4bb
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/1498522
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/video/console/fbcon.c