diff options
author | Johannes H. Jensen <joh@pseudoberries.com> | 2017-11-05 15:46:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-06 16:44:05 +0100 |
commit | be077edb469b0c84efbb117af59c39b9ec6615b3 (patch) | |
tree | aa43f42e876dbfaf0a1415fca8cde403300311e4 /ipc | |
parent | 0088d782518a208f7015f3c36799a31cc43ce315 (diff) | |
download | linux-be077edb469b0c84efbb117af59c39b9ec6615b3.tar.gz linux-be077edb469b0c84efbb117af59c39b9ec6615b3.tar.bz2 linux-be077edb469b0c84efbb117af59c39b9ec6615b3.zip |
staging: fbtft: fb_ssd1331: fix mirrored display
When the row scan order is reversed (the default) we also need to
reverse the column scan order. This was not done previously, resulting
in a mirrored display.
Also add support for 180 degree display rotation, in which case simply
disable reversed row and column scan order.
Tested on an Adafruit 0.96" mini Color OLED display.
Signed-off-by: Johannes H. Jensen <joh@pseudoberries.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions