]> 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)
commit0e0528dff3e993d7940a639a21f74296020cdd0e
tree37d7fda8823aa289665f5ebe633cc41f87dad083
parent000914490b119175952208c83f47498d4ffe4b73
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