]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atmel-hlcdc: fix clipping of planes
authorPeter Rosin <peda@axentia.se>
Thu, 10 Jan 2019 15:10:44 +0000 (15:10 +0000)
committerBoris Brezillon <bbrezillon@kernel.org>
Sun, 27 Jan 2019 08:19:20 +0000 (09:19 +0100)
commit313e1bcf1841e8b8664fda1e5ae7ae2d12f1494c
tree104ebbb0675377c822dc0e8ce9f92186ae24d1d4
parent1056e5a31744d06eb9615887f16f2ff0d6f1edc2
drm/atmel-hlcdc: fix clipping of planes

With the help from drm_atomic_helper_check_plane_state function, clipping
now handles planes to be partially or totally off-screen. The plane is
disabled if it is not visible.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190110151020.30468-4-peda@axentia.se
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c