mbox series

[GIT,PULL] mediatek drm next for 5.12

Message ID 20210203232247.30902-1-chunkuang.hu@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] mediatek drm next for 5.12 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git tags/mediatek-drm-next-5.12

Message

Chun-Kuang Hu Feb. 3, 2021, 11:22 p.m. UTC
Hi, Dave & Daniel:

This includes:

1. Decouple Mediatek DRM sub driver
2. Share mtk mutex driver for both DRM and MDP
3. Add support for SoC MT8183

Regards,
Chun-Kuang.

The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:

  Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)

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.12

for you to fetch changes up to f289eb1db7d7e6132c3ecf5049435ace2967b0fc:

  drm/mediatek: Add matrix_bits private data for ccorr (2021-02-03 23:54:07 +0800)

----------------------------------------------------------------
Mediatek DRM Next for Linux 5.12

1. Decouple Mediatek DRM sub driver
2. Share mtk mutex driver for both DRM and MDP
3. Add support for SoC MT8183

----------------------------------------------------------------
CK Hu (15):
      drm/mediatek: Separate getting larb device to a function
      drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data
      drm/mediatek: Move regs info from struct mtk_ddp_comp to sub driver private data
      drm/mediatek: Remove irq in struct mtk_ddp_comp
      drm/mediatek: Use struct cmdq_client_reg to gather cmdq variable
      drm/mediatek: Move cmdq_reg info from struct mtk_ddp_comp to sub driver private data
      drm/mediatek: Change sub driver interface from mtk_ddp_comp to device
      drm/mediatek: Register vblank callback function
      drm/mediatek: DRM driver directly refer to sub driver's function
      drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver
      drm/mediatek: Remove redundant file including
      drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex
      drm/mediatek: Change disp/ddp term to mutex in mtk mutex driver
      drm/mediatek: Automatically search unclaimed mtk mutex in mtk_mutex_get()
      soc / drm: mediatek: Move mtk mutex driver to soc folder

Chun-Kuang Hu (2):
      drm/mediatek: Get CMDQ client register for all ddp component
      drm/mediatek: Use correct device pointer to get CMDQ client register

Hsin-Yi Wang (2):
      drm/mediatek: mtk_dpi: Create connector for bridges
      drm/mediatek: Add mtk_dither_set_common() function

Jitao Shi (1):
      drm/mediatek: dsi: Use IRQF_TRIGGER_NONE for dsi irq trigger type

Yongqiang Niu (15):
      dt-bindings: mediatek: add description for mt8183 display
      dt-bindings: mediatek: add description for mt8192 display
      drm/mediatek: Check if fb is null
      dt-bindings: mediatek: add rdma-fifo-size description for mt8183 display
      dt-bindings: mediatek: add description for postmask
      drm/mediatek: Fix aal size config
      drm/mediatek: Add fifo_size into rdma private data
      drm/mediatek: Separate gamma module
      drm/mediatek: Add has_dither private data for gamma
      drm/mediatek: Add support for SoC MT8183
      drm/mediatek: Enable OVL_LAYER_SMI_ID_EN for multi-layer usecase
      drm/mediatek: Enable dither function
      drm/mediatek: Separate ccorr module
      drm/mediatek: Fix ccorr size config
      drm/mediatek: Add matrix_bits private data for ccorr

 .../bindings/display/mediatek/mediatek,disp.txt    |  12 +-
 drivers/gpu/drm/mediatek/Makefile                  |   5 +-
 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c          | 223 +++++++++
 drivers/gpu/drm/mediatek/mtk_disp_color.c          |  89 ++--
 drivers/gpu/drm/mediatek/mtk_disp_drv.h            |  92 ++++
 drivers/gpu/drm/mediatek/mtk_disp_gamma.c          | 197 ++++++++
 drivers/gpu/drm/mediatek/mtk_disp_ovl.c            | 254 ++++++-----
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c           | 194 ++++----
 drivers/gpu/drm/mediatek/mtk_dpi.c                 |  57 +--
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c            | 107 ++---
 drivers/gpu/drm/mediatek/mtk_drm_crtc.h            |   1 -
 drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |  28 --
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c        | 503 ++++++++++-----------
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        | 100 ++--
 drivers/gpu/drm/mediatek/mtk_drm_drv.c             |  88 ++--
 drivers/gpu/drm/mediatek/mtk_drm_drv.h             |   5 +-
 drivers/gpu/drm/mediatek/mtk_dsi.c                 |  50 +-
 drivers/soc/mediatek/Makefile                      |   1 +
 .../mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c}     | 328 +++++++-------
 include/linux/soc/mediatek/mtk-mutex.h             |  26 ++
 20 files changed, 1446 insertions(+), 914 deletions(-)
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_drv.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_gamma.c
 delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
 rename drivers/{gpu/drm/mediatek/mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c} (53%)
 create mode 100644 include/linux/soc/mediatek/mtk-mutex.h

Comments

Dave Airlie Feb. 4, 2021, 2:56 a.m. UTC | #1
On Thu, 4 Feb 2021 at 09:22, Chun-Kuang Hu <chunkuang.hu@kernel.org> wrote:
>
> Hi, Dave & Daniel:
>
> This includes:
>
> 1. Decouple Mediatek DRM sub driver
> 2. Share mtk mutex driver for both DRM and MDP
> 3. Add support for SoC MT8183

Hi Chun-Kuang,


dim: e83421b9acad ("drm/mediatek: Fix aal size config"): Subject in
fixes line doesn't match referenced commit:
dim:     0664d1392c26 (drm/mediatek: Add AAL engine basic function)
dim: de945f3098af ("drm/mediatek: Check if fb is null"): Subject in
fixes line doesn't match referenced commit:
dim:     b6b1bb980ec4 ( drm/mediatek: Turn off Alpha bit when plane
format has no alpha)

Can you fix the Fixes tags, it should have sha1 ("commit") they are
missing the quotations.

Thanks,
Dave.

>
> Regards,
> Chun-Kuang.
>
> The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:
>
>   Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)
>
> 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.12
>
> for you to fetch changes up to f289eb1db7d7e6132c3ecf5049435ace2967b0fc:
>
>   drm/mediatek: Add matrix_bits private data for ccorr (2021-02-03 23:54:07 +0800)
>
> ----------------------------------------------------------------
> Mediatek DRM Next for Linux 5.12
>
> 1. Decouple Mediatek DRM sub driver
> 2. Share mtk mutex driver for both DRM and MDP
> 3. Add support for SoC MT8183
>
> ----------------------------------------------------------------
> CK Hu (15):
>       drm/mediatek: Separate getting larb device to a function
>       drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data
>       drm/mediatek: Move regs info from struct mtk_ddp_comp to sub driver private data
>       drm/mediatek: Remove irq in struct mtk_ddp_comp
>       drm/mediatek: Use struct cmdq_client_reg to gather cmdq variable
>       drm/mediatek: Move cmdq_reg info from struct mtk_ddp_comp to sub driver private data
>       drm/mediatek: Change sub driver interface from mtk_ddp_comp to device
>       drm/mediatek: Register vblank callback function
>       drm/mediatek: DRM driver directly refer to sub driver's function
>       drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver
>       drm/mediatek: Remove redundant file including
>       drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex
>       drm/mediatek: Change disp/ddp term to mutex in mtk mutex driver
>       drm/mediatek: Automatically search unclaimed mtk mutex in mtk_mutex_get()
>       soc / drm: mediatek: Move mtk mutex driver to soc folder
>
> Chun-Kuang Hu (2):
>       drm/mediatek: Get CMDQ client register for all ddp component
>       drm/mediatek: Use correct device pointer to get CMDQ client register
>
> Hsin-Yi Wang (2):
>       drm/mediatek: mtk_dpi: Create connector for bridges
>       drm/mediatek: Add mtk_dither_set_common() function
>
> Jitao Shi (1):
>       drm/mediatek: dsi: Use IRQF_TRIGGER_NONE for dsi irq trigger type
>
> Yongqiang Niu (15):
>       dt-bindings: mediatek: add description for mt8183 display
>       dt-bindings: mediatek: add description for mt8192 display
>       drm/mediatek: Check if fb is null
>       dt-bindings: mediatek: add rdma-fifo-size description for mt8183 display
>       dt-bindings: mediatek: add description for postmask
>       drm/mediatek: Fix aal size config
>       drm/mediatek: Add fifo_size into rdma private data
>       drm/mediatek: Separate gamma module
>       drm/mediatek: Add has_dither private data for gamma
>       drm/mediatek: Add support for SoC MT8183
>       drm/mediatek: Enable OVL_LAYER_SMI_ID_EN for multi-layer usecase
>       drm/mediatek: Enable dither function
>       drm/mediatek: Separate ccorr module
>       drm/mediatek: Fix ccorr size config
>       drm/mediatek: Add matrix_bits private data for ccorr
>
>  .../bindings/display/mediatek/mediatek,disp.txt    |  12 +-
>  drivers/gpu/drm/mediatek/Makefile                  |   5 +-
>  drivers/gpu/drm/mediatek/mtk_disp_ccorr.c          | 223 +++++++++
>  drivers/gpu/drm/mediatek/mtk_disp_color.c          |  89 ++--
>  drivers/gpu/drm/mediatek/mtk_disp_drv.h            |  92 ++++
>  drivers/gpu/drm/mediatek/mtk_disp_gamma.c          | 197 ++++++++
>  drivers/gpu/drm/mediatek/mtk_disp_ovl.c            | 254 ++++++-----
>  drivers/gpu/drm/mediatek/mtk_disp_rdma.c           | 194 ++++----
>  drivers/gpu/drm/mediatek/mtk_dpi.c                 |  57 +--
>  drivers/gpu/drm/mediatek/mtk_drm_crtc.c            | 107 ++---
>  drivers/gpu/drm/mediatek/mtk_drm_crtc.h            |   1 -
>  drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |  28 --
>  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c        | 503 ++++++++++-----------
>  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        | 100 ++--
>  drivers/gpu/drm/mediatek/mtk_drm_drv.c             |  88 ++--
>  drivers/gpu/drm/mediatek/mtk_drm_drv.h             |   5 +-
>  drivers/gpu/drm/mediatek/mtk_dsi.c                 |  50 +-
>  drivers/soc/mediatek/Makefile                      |   1 +
>  .../mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c}     | 328 +++++++-------
>  include/linux/soc/mediatek/mtk-mutex.h             |  26 ++
>  20 files changed, 1446 insertions(+), 914 deletions(-)
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_drv.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_gamma.c
>  delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
>  rename drivers/{gpu/drm/mediatek/mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c} (53%)
>  create mode 100644 include/linux/soc/mediatek/mtk-mutex.h
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Chun-Kuang Hu Feb. 4, 2021, 3:19 p.m. UTC | #2
Hi, Dave:

Dave Airlie <airlied@gmail.com> 於 2021年2月4日 週四 上午10:56寫道:
>
> On Thu, 4 Feb 2021 at 09:22, Chun-Kuang Hu <chunkuang.hu@kernel.org> wrote:
> >
> > Hi, Dave & Daniel:
> >
> > This includes:
> >
> > 1. Decouple Mediatek DRM sub driver
> > 2. Share mtk mutex driver for both DRM and MDP
> > 3. Add support for SoC MT8183
>
> Hi Chun-Kuang,
>
>
> dim: e83421b9acad ("drm/mediatek: Fix aal size config"): Subject in
> fixes line doesn't match referenced commit:
> dim:     0664d1392c26 (drm/mediatek: Add AAL engine basic function)
> dim: de945f3098af ("drm/mediatek: Check if fb is null"): Subject in
> fixes line doesn't match referenced commit:
> dim:     b6b1bb980ec4 ( drm/mediatek: Turn off Alpha bit when plane
> format has no alpha)
>
> Can you fix the Fixes tags, it should have sha1 ("commit") they are
> missing the quotations.
>

I've fixed this and send request v2. dim looks like a good tool, I
would try to use it.

Regards,
Chun-Kuang.

> Thanks,
> Dave.
>
> >
> > Regards,
> > Chun-Kuang.
> >
> > The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:
> >
> >   Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)
> >
> > 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.12
> >
> > for you to fetch changes up to f289eb1db7d7e6132c3ecf5049435ace2967b0fc:
> >
> >   drm/mediatek: Add matrix_bits private data for ccorr (2021-02-03 23:54:07 +0800)
> >
> > ----------------------------------------------------------------
> > Mediatek DRM Next for Linux 5.12
> >
> > 1. Decouple Mediatek DRM sub driver
> > 2. Share mtk mutex driver for both DRM and MDP
> > 3. Add support for SoC MT8183
> >
> > ----------------------------------------------------------------
> > CK Hu (15):
> >       drm/mediatek: Separate getting larb device to a function
> >       drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data
> >       drm/mediatek: Move regs info from struct mtk_ddp_comp to sub driver private data
> >       drm/mediatek: Remove irq in struct mtk_ddp_comp
> >       drm/mediatek: Use struct cmdq_client_reg to gather cmdq variable
> >       drm/mediatek: Move cmdq_reg info from struct mtk_ddp_comp to sub driver private data
> >       drm/mediatek: Change sub driver interface from mtk_ddp_comp to device
> >       drm/mediatek: Register vblank callback function
> >       drm/mediatek: DRM driver directly refer to sub driver's function
> >       drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver
> >       drm/mediatek: Remove redundant file including
> >       drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex
> >       drm/mediatek: Change disp/ddp term to mutex in mtk mutex driver
> >       drm/mediatek: Automatically search unclaimed mtk mutex in mtk_mutex_get()
> >       soc / drm: mediatek: Move mtk mutex driver to soc folder
> >
> > Chun-Kuang Hu (2):
> >       drm/mediatek: Get CMDQ client register for all ddp component
> >       drm/mediatek: Use correct device pointer to get CMDQ client register
> >
> > Hsin-Yi Wang (2):
> >       drm/mediatek: mtk_dpi: Create connector for bridges
> >       drm/mediatek: Add mtk_dither_set_common() function
> >
> > Jitao Shi (1):
> >       drm/mediatek: dsi: Use IRQF_TRIGGER_NONE for dsi irq trigger type
> >
> > Yongqiang Niu (15):
> >       dt-bindings: mediatek: add description for mt8183 display
> >       dt-bindings: mediatek: add description for mt8192 display
> >       drm/mediatek: Check if fb is null
> >       dt-bindings: mediatek: add rdma-fifo-size description for mt8183 display
> >       dt-bindings: mediatek: add description for postmask
> >       drm/mediatek: Fix aal size config
> >       drm/mediatek: Add fifo_size into rdma private data
> >       drm/mediatek: Separate gamma module
> >       drm/mediatek: Add has_dither private data for gamma
> >       drm/mediatek: Add support for SoC MT8183
> >       drm/mediatek: Enable OVL_LAYER_SMI_ID_EN for multi-layer usecase
> >       drm/mediatek: Enable dither function
> >       drm/mediatek: Separate ccorr module
> >       drm/mediatek: Fix ccorr size config
> >       drm/mediatek: Add matrix_bits private data for ccorr
> >
> >  .../bindings/display/mediatek/mediatek,disp.txt    |  12 +-
> >  drivers/gpu/drm/mediatek/Makefile                  |   5 +-
> >  drivers/gpu/drm/mediatek/mtk_disp_ccorr.c          | 223 +++++++++
> >  drivers/gpu/drm/mediatek/mtk_disp_color.c          |  89 ++--
> >  drivers/gpu/drm/mediatek/mtk_disp_drv.h            |  92 ++++
> >  drivers/gpu/drm/mediatek/mtk_disp_gamma.c          | 197 ++++++++
> >  drivers/gpu/drm/mediatek/mtk_disp_ovl.c            | 254 ++++++-----
> >  drivers/gpu/drm/mediatek/mtk_disp_rdma.c           | 194 ++++----
> >  drivers/gpu/drm/mediatek/mtk_dpi.c                 |  57 +--
> >  drivers/gpu/drm/mediatek/mtk_drm_crtc.c            | 107 ++---
> >  drivers/gpu/drm/mediatek/mtk_drm_crtc.h            |   1 -
> >  drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |  28 --
> >  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c        | 503 ++++++++++-----------
> >  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        | 100 ++--
> >  drivers/gpu/drm/mediatek/mtk_drm_drv.c             |  88 ++--
> >  drivers/gpu/drm/mediatek/mtk_drm_drv.h             |   5 +-
> >  drivers/gpu/drm/mediatek/mtk_dsi.c                 |  50 +-
> >  drivers/soc/mediatek/Makefile                      |   1 +
> >  .../mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c}     | 328 +++++++-------
> >  include/linux/soc/mediatek/mtk-mutex.h             |  26 ++
> >  20 files changed, 1446 insertions(+), 914 deletions(-)
> >  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c
> >  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_drv.h
> >  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_gamma.c
> >  delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
> >  rename drivers/{gpu/drm/mediatek/mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c} (53%)
> >  create mode 100644 include/linux/soc/mediatek/mtk-mutex.h
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel