diff options
author | Boris Brezillon <[email protected]> | 2018-12-06 15:24:38 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-12-19 14:47:58 +0100 |
commit | 666e73587f90f42d90385c1bea1009a650bf73f4 (patch) | |
tree | cb6b1c0d554880ae33f1d782a36537bca0609a35 /scripts/bpf_helpers_doc.py | |
parent | 6c4f52dca36f5e3e2354c30591d38e92f4657ed9 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions