]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arm/hdlcd: Reject atomic commits that disable only the plane
authorLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 23 Jul 2018 11:05:53 +0000 (12:05 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 31 Jul 2018 15:31:50 +0000 (16:31 +0100)
commit1b1f95b0115072e7eff4320ddcee9fcc228628e1
treeaf8a44c9ef7edb2205f7d9d51aef14ff2fce456a
parent9c127051e19c03bbe4495701e2ad8ff189585ee0
drm/arm/hdlcd: Reject atomic commits that disable only the plane

The HDLCD engine needs an active plane while the CRTC is active, as
it will start scanning out data from HDLCD_REG_FB_BASE once it gets
enabled. Make sure that the only available plane doesn't get disabled
while the CRTC remains active, as this will scanout invalid data.

Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c
drivers/gpu/drm/arm/hdlcd_drv.c