[PATCH v4 0/2] Fix OVL iommu fault in cursor plane

Jason-JH.Lin jason-jh.lin at mediatek.com
Sat Aug 5 06:57:55 PDT 2023


Fix some IGT tests fail at iommu fault in OVL cursor plane.

Change in v4:
1. Change disable all layer method to update mtk_plane_state stored
   in mtk_crtc by drm_atomic_state from mtk_drm_crtc_atomic_enable().

Change in v3:
1. Add Fixes tag before s.o.b.

Change in v2:
1. Add Fixes tag.

Jason-JH.Lin (2):
  drm/mediatek: Fix iommu fault by swapping FBs after updating plane
    state
  drm/mediatek: Fix iommu fault during crtc enabling

 drivers/gpu/drm/mediatek/mtk_drm_crtc.c  | 15 +++++++++++----
 drivers/gpu/drm/mediatek/mtk_drm_plane.c | 13 +++++++++----
 drivers/gpu/drm/mediatek/mtk_drm_plane.h |  2 ++
 3 files changed, 22 insertions(+), 8 deletions(-)

-- 
2.18.0




More information about the Linux-mediatek mailing list