summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@gmail.com>2022-04-24 19:26:25 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-04-26 15:24:37 +0300
commitb5fc1c2a8bbdeaed65ac79338bcb70b2a852a2b3 (patch)
tree7b4e01df3156eef47893a5c9fd024963326bb0e4 /lib
parentf7e974a31881957148110d3cc52774a4e279ef84 (diff)
downloadlinux-b5fc1c2a8bbdeaed65ac79338bcb70b2a852a2b3.tar.xz
sun4i/drm: backend: use mode_set engine callback
Newly introduced mode_set callback in engine structure is a much better place for setting backend output size and interlace mode for following reasons: 1. Aforementioned properties change only when mode changes, so it's enough to be set only once per mode set. Currently it's done whenever properties of primary plane are changed. 2. It's assumed that primary plane will always cover whole screen. While this is true most of the time, it's not always. Planes are universal. There is no reason to add artificial limitation to primary plane. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> [Samuel: drop unused 'interlaced' variable] Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220424162633.12369-8-samuel@sholland.org
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions