summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorDaniele Castagna <dcastagna@chromium.org>2019-01-09 19:56:39 +0100
committerHeiko Stuebner <heiko@sntech.de>2019-01-11 00:44:10 +0100
commit677e8bbc0e5a9fafe6f7d26354547a95ae978f12 (patch)
tree1356e71dcb0e0b9fde34dff00b1596a5589dc7c0 /security/loadpin
parentdrm/rockchip: Separate RK3288 from RK3368 win01 registers (diff)
downloadlinux-677e8bbc0e5a9fafe6f7d26354547a95ae978f12.tar.xz
linux-677e8bbc0e5a9fafe6f7d26354547a95ae978f12.zip
drm/rockchip: Add reflection properties
Add the KMS plane rotation property to the DRM rockchip driver, for SoCs RK3328, RK3368 and RK3399. RK3288 only supports rotation at the display level (i.e. CRTC), but for now we are only interested in plane rotation. This commit only adds support for the value of reflect-y and reflect-x (i.e. mirroring). Note that y-mirroring is not compatible with YUV. The following modetest commands would test this feature, where 30 is the plane ID, and 49 = rotate_0 + relect_y + reflect_x. X mirror: modetest -s 43@33:1920x1080@XR24 -w 30:rotation:17 Y mirror: modetest -s 43@33:1920x1080@XR24 -w 30:rotation:33 XY mirror: modetest -s 43@33:1920x1080@XR24 -w 30:rotation:49 Signed-off-by: Daniele Castagna <dcastagna@chromium.org> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20190109185639.5093-4-ezequiel@collabora.com
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions