]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/sun4i: Rework enabling plane in DE2 driver
authorJernej Skrabec <jernej.skrabec@siol.net>
Fri, 1 Dec 2017 06:05:32 +0000 (07:05 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 12:22:42 +0000 (13:22 +0100)
commit26264ceeb55617fe9ddee84d9dd98645f5f62d34
tree707c1ef7939567098264aebec253e2bc50a6a4a4
parentbb940be791ebf704f1736e2f5ffd8301df5f145e
drm/sun4i: Rework enabling plane in DE2 driver

If we want to support multiple planes in the future, code which enables
pipe has to be moved to appropriate place and it must depend on channel
id instead of being hardcoded.

Side effect of that rework is definition of default Z position. For now,
put first channel at the bottom, second above it and so on.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-10-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_mixer.c