drm/mediatek: fix cursor issue and apply CMDQ in MTK DRM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest7 patches 3 repliesIn review
- v47 patches 5 repliesSuperseded
- v36 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 6 patches | 2 replies | Superseded | |
| v1 | 6 patches | 8 replies | Superseded |
Changes in v5 from the cover letter
- rebase to Linux 5.5-rc1
- add fixes tag
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/mediatek: use DRM core's atomic commit helperdrivers/ drivers/ | +5 | 0 replies | |
| 2/7 | drm/mediatek: handle events when enabling/disabling crtcdrivers/ | +8 | 0 replies | |
| 3/7 | drm/mediatek: update cursors by using async atomic updatedrivers/ drivers/ drivers/ +1 more | +128 | 1 reply | |
| 4/7 | drm/mediatek: disable all the planes in atomic_disabledrivers/ | +1 | 0 replies | |
| 5/7 | drm/mediatek: remove unused external functiondrivers/ drivers/ | +0 | 0 replies | |
| 6/7 | drm/mediatek: support CMDQ interface in ddp componentdrivers/ drivers/ drivers/ +3 more | +193 | 2 replies | |
| 7/7 | drm/mediatek: apply CMDQ control flowdrivers/ | +49 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | CK Hu |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/7] drm/mediatek: fix cursor issue and apply CMDQ in MTK DRM
The CMDQ (Command Queue) in MT8183 is used to help update all relevant display controller registers with critical time limation. This patch add cmdq interface in ddp_comp interface, let all ddp_comp interface can support cpu/cmdq function at the same time.
These patches also can fixup cursor moving is not smooth when heavy load in webgl.
This patch depends on ptach:
add drm support for MT8183
(https://patchwork.kernel.org/cover/11121519/)
support gce on mt8183 platform
(https://patchwork.kernel.org/cover/11255147/)
drm/mediatek: Check return value of mtk_drm_ddp_comp_for_plane
(https://lore.kernel.org/patchwork/patch/1154517/)
Changes since v4:
- rebase to Linux 5.5-rc1
- add fixes tag
Changes since v3:
- remove redundant code and variable
Changes since v2:
- move some changes to another patch
- disable layer in atomic_disable()
Changes since v1:
- remove redundant code
- merge the duplicate code
- use async instead of cursor
Changes since v0:
- remove redundant code
- remove patch
"drm/mediatek: fix atomic_state reference counting" After remove this patch, the issue we met before is gone. So I do not add any extra code to do something.
Bibby Hsieh (7):
drm/mediatek: use DRM core's atomic commit helper drm/mediatek: handle events when enabling/disabling crtc drm/mediatek: update cursors by using async atomic update drm/mediatek: disable all the planes in atomic_disable drm/mediatek: remove unused external function drm/mediatek: support CMDQ interface in ddp component drm/mediatek: apply CMDQ control flow
drivers/gpu/drm/mediatek/mtk_disp_color.c | 7 +- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 67 ++++---- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 43 ++--- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 165 ++++++++++++++++---- drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 2 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 131 ++++++++++++---- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 47 +++--- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 86 +--------- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 7 - drivers/gpu/drm/mediatek/mtk_drm_plane.c | 47 ++++++ drivers/gpu/drm/mediatek/mtk_drm_plane.h | 2 + 11 files changed, 380 insertions(+), 224 deletions(-)
Signature · 1 line
2.18.0