mbox series

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

Message ID 20230805135757.6625-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. 5, 2023, 1:57 p.m. UTC
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(-)