]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Add constraints checking to DE2 driver
authorJernej Skrabec <jernej.skrabec@siol.net>
Fri, 1 Dec 2017 06:05:34 +0000 (07:05 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 12:22:42 +0000 (13:22 +0100)
commit5dd2d999acdaa02d849fe550a973d5905884a552
tree74f2406aeaf613fb667184fa26cf408a2a5b4a27
parentf356fe8e0fb630b4b00c6207d5af53a5d1fab660
drm/sun4i: Add constraints checking to DE2 driver

Since current DE2 driver doesn't know how to scale yet, add atomic check
function which checks that.

Nice side effect of that function is that populates clipped coordinates
and checks visibility of the plane. That data will be used in the
future.

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-12-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_layer.c