public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] MediaTek DRM: Clean up CMDQ support and ifdefs
@ 2023-06-23  9:49 AngeloGioacchino Del Regno
  2023-06-23  9:49 ` [PATCH 1/3] drm/mediatek: Dynamically allocate CMDQ and use helper functions AngeloGioacchino Del Regno
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-06-23  9:49 UTC (permalink / raw)
  To: chunkuang.hu
  Cc: p.zabel, airlied, daniel, matthias.bgg, angelogioacchino.delregno,
	wenst, dri-devel, linux-mediatek, linux-kernel, linux-arm-kernel,
	kernel

This series changes MediaTek CMDQ support to use the mtk-cmdq-helper
functions, removing duplicated cmdq setup code in mtk-drm and also
removing all instances of `#if IS_REACHABLE(CONFIG_MTK_CMDQ)` while
keeping compatibility with both CONFIG_MTK_CMDQ=n and =m/=y.

This applies on top of [1] and [2].

[1]: https://lore.kernel.org/lkml/20230524093412.92211-1-angelogioacchino.delregno@collabora.com
[2]: https://lore.kernel.org/lkml/20230608084727.74403-1-angelogioacchino.delregno@collabora.com

AngeloGioacchino Del Regno (3):
  drm/mediatek: Dynamically allocate CMDQ and use helper functions
  drm/mediatek: Remove all preprocessor ifs for CONFIG_MTK_CMDQ
  drm/mediatek: Move CMDQ setup to mtk_drm_cmdq_init() function

 drivers/gpu/drm/mediatek/mtk_disp_aal.c     |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c   |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_color.c   |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_gamma.c   |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_merge.c   |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_ovl.c     |   2 -
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c    |   2 -
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c     | 178 +++++++-------------
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |  12 --
 drivers/gpu/drm/mediatek/mtk_ethdr.c        |   6 +-
 drivers/gpu/drm/mediatek/mtk_mdp_rdma.c     |   3 +-
 include/linux/soc/mediatek/mtk-cmdq.h       |   1 +
 12 files changed, 69 insertions(+), 145 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-07  3:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23  9:49 [PATCH 0/3] MediaTek DRM: Clean up CMDQ support and ifdefs AngeloGioacchino Del Regno
2023-06-23  9:49 ` [PATCH 1/3] drm/mediatek: Dynamically allocate CMDQ and use helper functions AngeloGioacchino Del Regno
2023-08-02  6:24   ` CK Hu (胡俊光)
2023-08-02 10:41     ` AngeloGioacchino Del Regno
2023-08-03  6:28       ` CK Hu (胡俊光)
2023-08-03  8:25         ` AngeloGioacchino Del Regno
2023-08-03  8:37           ` CK Hu (胡俊光)
2024-02-06 13:33             ` AngeloGioacchino Del Regno
2024-02-07  3:49               ` CK Hu (胡俊光)
2023-06-23  9:49 ` [PATCH 2/3] drm/mediatek: Remove all preprocessor ifs for CONFIG_MTK_CMDQ AngeloGioacchino Del Regno
2023-06-23  9:49 ` [PATCH 3/3] drm/mediatek: Move CMDQ setup to mtk_drm_cmdq_init() function AngeloGioacchino Del Regno
2023-06-23 12:49 ` [PATCH 0/3] MediaTek DRM: Clean up CMDQ support and ifdefs Alexandre Mergnat
2023-07-19  7:41   ` AngeloGioacchino Del Regno
2023-07-21 12:03     ` Alexandre Mergnat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox