OSDN Git Service

drm/tinydrm/mi0283qt: Always set rotation value
authorTom Callaway <tcallawa@redhat.com>
Mon, 23 Apr 2018 16:16:39 +0000 (12:16 -0400)
committerNoralf Trønnes <noralf@tronnes.org>
Mon, 30 Apr 2018 09:00:19 +0000 (11:00 +0200)
commit9f99963a43b735160052debbef3d99ad344db61d
tree25872170adba8031b567b37963d961ff273484dc
parent30e9db6d046ba667070e5a011a13951830d60a6e
drm/tinydrm/mi0283qt: Always set rotation value

The PiTFT (ili9340) has a hardware reset circuit that resets only
on power-on and not on each reboot through a gpio like the
rpi-display does. As a result, we need to always apply the
rotation value regardless of the display "on/off" state.
Moved the rotation setting code below out_enable:.

Signed-off-by: Tom Callaway <tcallawa@redhat.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423161639.14420-1-tcallawa@redhat.com
drivers/gpu/drm/tinydrm/mi0283qt.c