CC [M] drivers/gpu/drm/mediatek/mtk_disp_aal.o /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/mediatek/mtk_drm_crtc.c:257:13: warning: ‘mtk_drm_cmdq_pkt_destroy’ defined but not used [-Wunused-function] 257 | static void mtk_drm_cmdq_pkt_destroy(struct mbox_chan *chan, struct cmdq_pkt *pkt) | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/mediatek/mtk_drm_crtc.c:229:12: warning: ‘mtk_drm_cmdq_pkt_create’ defined but not used [-Wunused-function] 229 | static int mtk_drm_cmdq_pkt_create(struct mbox_chan *chan, struct cmdq_pkt *pkt, | ^~~~~~~~~~~~~~~~~~~~~~~ LD [M] drivers/gpu/drm/mediatek/mediatek-drm.o Warning when built with CONFIG_MTK_CMDQ turned off. Can you please fix that and resend? Dave. On Mon, 16 Aug 2021 at 09:55, Chun-Kuang Hu <chunkuang.hu@xxxxxxxxxx> wrote: > > Hi, Dave & Daniel: > > This includes: > > 1. MT8133 AAL support, adjust rdma fifo threshold formula. > 2. Implement mmap as GEM object function. > 3. Add support for MT8167. > 4. Test component initialization earlier in the function mtk_drm_crtc_create. > 5. CMDQ refinement. > > Regards, > Chun-Kuang. > > > The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: > > Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git tags/mediatek-drm-next-5.15 > > for you to fetch changes up to 6e7dcd92644baebdb137e3af900064ceebcaca23: > > drm/mediatek: Clear pending flag when cmdq packet is done (2021-08-12 08:16:24 +0800) > > ---------------------------------------------------------------- > Mediatek DRM Next for Linux 5.15 > > 1. MT8133 AAL support, adjust rdma fifo threshold formula. > 2. Implement mmap as GEM object function. > 3. Add support for MT8167. > 4. Test component initialization earlier in the function mtk_drm_crtc_create. > 5. CMDQ refinement. > > ---------------------------------------------------------------- > Chun-Kuang Hu (4): > drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb > drm/mediatek: Remove struct cmdq_client > drm/mediatek: Detect CMDQ execution timeout > drm/mediatek: Add cmdq_handle in mtk_crtc > > Dafna Hirschfeld (1): > drm/mediatek: Test component initialization earlier in the function mtk_drm_crtc_create > > Fabien Parent (2): > dt-bindings: display: mediatek: dsi: add documentation for MT8167 SoC > drm/mediatek: Add support for main DDP path on MT8167 > > Thomas Zimmermann (1): > drm/mediatek: Implement mmap as GEM object function > > Yongqiang Niu (4): > drm/mediatek: Adjust rdma fifo threshold calculate formula > drm/mediatek: Separate aal sub driver > drm/mediatek: Add mt8183 aal support > drm/mediatek: Clear pending flag when cmdq packet is done > > .../bindings/display/mediatek/mediatek,dsi.txt | 2 +- > drivers/gpu/drm/mediatek/Makefile | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_aal.c | 167 ++++++++++++++++++++ > drivers/gpu/drm/mediatek/mtk_disp_drv.h | 9 ++ > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 +- > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 173 +++++++++++++++++---- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 42 +---- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 59 +++++-- > drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 + > drivers/gpu/drm/mediatek/mtk_drm_gem.c | 44 ++---- > drivers/gpu/drm/mediatek/mtk_drm_gem.h | 3 - > 11 files changed, 386 insertions(+), 123 deletions(-) > create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_aal.c