mbox series

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

Message ID 20230807015110.30579-1-jason-jh.lin@mediatek.com (mailing list archive)
Headers show
Series Fix OVL iommu fault in cursor plane | expand

Message

Jason-JH Lin (林睿祥) Aug. 7, 2023, 1:51 a.m. UTC
Fix some IGT tests fail at iommu fault in OVL cursor plane.

Change in RESEND v4 :
1. Remove redundant plane_state assigning.

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  | 14 ++++++++++----
 drivers/gpu/drm/mediatek/mtk_drm_plane.c | 13 +++++++++----
 drivers/gpu/drm/mediatek/mtk_drm_plane.h |  2 ++
 3 files changed, 21 insertions(+), 8 deletions(-)