]> 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)
commit71f0b81c8e8958654355644a41bd1d9d14a33835
tree104ebbb0675377c822dc0e8ce9f92186ae24d1d4
parent0a62c0899ae3c9d0f369cb120c5f597b1100c8fe
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