[PATCH 0/2] drm/rockchip: vop2: fix IOMMU warnings after reenable

Michael Tretter m.tretter at pengutronix.de
Fri Oct 28 09:52:04 UTC 2022


Hi,

I was observing a lot of warnings that the IOMMU has blocked accessed by the
VOP2 when I disabled and reenabled the VOP2 by shutting down a DRM user space
application (namely Weston) and restarting it.

The reason for the warnings was that the address of the last framebuffer was
still residing in the read register of Smart0-win0. After enabling the VOP2,
the Smart0-win0 was still enabled and started reading from the address.

This series makes sure that the planes are disabled when the CRTC is disabled
to make sure that the VOP2 is always started with disabled overlays.

Michael

Michael Tretter (2):
  drm/rockchip: vop2: fix null pointer in plane_atomic_disable
  drm/rockchip: vop2: disable planes when disabling the crtc

 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
2.30.2



More information about the dri-devel mailing list