diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-12-06 17:24:38 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-12-19 16:47:58 +0300 |
commit | 666e73587f90f42d90385c1bea1009a650bf73f4 (patch) | |
tree | cb6b1c0d554880ae33f1d782a36537bca0609a35 /drivers/android | |
parent | 6c4f52dca36f5e3e2354c30591d38e92f4657ed9 (diff) | |
download | linux-666e73587f90f42d90385c1bea1009a650bf73f4.tar.xz |
drm/vc4: Take margin setup into account when updating planes
Applyin margins is just a matter of scaling all planes appropriately
and adjusting the CRTC X/Y offset to account for the
left/right/top/bottom borders.
Create a vc4_plane_margins_adj() function doing that and call it from
vc4_plane_setup_clipping_and_scaling() so that we are ready to attach
margins properties to the HDMI connector.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181206142439.10441-5-boris.brezillon@bootlin.com
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions