]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: vop: fix crtc size in plane check
authorJohn Keeping <john@metanate.com>
Fri, 4 Mar 2016 11:04:03 +0000 (11:04 +0000)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 28 Mar 2016 06:48:29 +0000 (14:48 +0800)
commit2e3fabb1d8f09ef67dd65ce2f8059075185d4158
tree37d7fda8823aa289665f5ebe633cc41f87dad083
parent442fc0a047333710e13bc716d06a67310b41714f
drm/rockchip: vop: fix crtc size in plane check

If the geometry of a crtc is changing in an atomic update then we must
validate the plane size against the new state of the crtc and not the
current size, otherwise if the crtc size is increasing the plane will be
cropped at the previous size and will not fill the screen.

Signed-off-by: John Keeping <john@metanate.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c