diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-08 12:16:22 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-08 12:16:22 +0000 |
commit | 9c898c495490b129bd4445630e3c6641e8389fc8 (patch) | |
tree | cad4edb5c1ea7d7c1bb0230193c1cdff2de79fe4 /drivers/gpu/drm/armada/armada_crtc.h | |
parent | 2bf57436d52b241044133fb0e2c7fd8320c6b02e (diff) | |
download | linux-stable-9c898c495490b129bd4445630e3c6641e8389fc8.tar.gz linux-stable-9c898c495490b129bd4445630e3c6641e8389fc8.tar.bz2 linux-stable-9c898c495490b129bd4445630e3c6641e8389fc8.zip |
drm/armada: fix UV swap code
The UV swap code was not always programming things correctly when
the source origin box has been offset. Fix this.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.h')
-rw-r--r-- | drivers/gpu/drm/armada/armada_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h index bab11f483575..bfd3514fbe9b 100644 --- a/drivers/gpu/drm/armada/armada_crtc.h +++ b/drivers/gpu/drm/armada/armada_crtc.h @@ -42,6 +42,8 @@ struct armada_plane_work { }; struct armada_plane_state { + u16 src_x; + u16 src_y; u32 src_hw; u32 dst_hw; u32 dst_yx; |