Skip to content

drm: meson: global clean-up (use proper macros, update comments ...)

Julien Masson dri-devel linux-amlogic linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm: meson: mask value when writing bits relaxeddrivers/gpu/drm/meson/meson_registers.h+1 -10 replies
2/9drm: meson: crtc: use proper macros instead of magic constantsdrivers/gpu/drm/meson/meson_crtc.c drivers/gpu/drm/meson/meson_registers.h+27 -60 replies
3/9drm: meson: drv: use macro when initializing vpudrivers/gpu/drm/meson/meson_drv.c drivers/gpu/drm/meson/meson_registers.h+23 -40 replies
4/9drm: meson: vpp: use proper macros instead of magic constantsdrivers/gpu/drm/meson/meson_registers.h drivers/gpu/drm/meson/meson_vpp.c+25 -102 replies
5/9drm: meson: viu: use proper macros instead of magic constantsdrivers/gpu/drm/meson/meson_plane.c drivers/gpu/drm/meson/meson_registers.h drivers/gpu/drm/meson/meson_viu.c+72 -390 replies
6/9drm: meson: venc: use proper macros instead of magic constantsdrivers/gpu/drm/meson/meson_registers.h drivers/gpu/drm/meson/meson_venc.c drivers/gpu/drm/meson/meson_venc_cvbs.c+177 -320 replies
7/9drm: meson: global clean-updrivers/gpu/drm/meson/meson_dw_hdmi.c drivers/gpu/drm/meson/meson_dw_hdmi.h drivers/gpu/drm/meson/meson_registers.h +2 more+33 -260 replies
8/9drm: meson: add macro used to enable HDMI PLLdrivers/gpu/drm/meson/meson_vclk.c+2 -12 replies
9/9drm: meson: venc: set the correct macrovision max amplitude valuedrivers/gpu/drm/meson/meson_venc.c+2 -20 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeil Armstrong
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] drm: meson: global clean-up (use proper macros, update comments ...)

This patch series aims to clean-up differents parts of the drm meson code source.

Couple macros have been defined and used to set several registers instead of using magic constants.

I also took the opportunity to:
- add/remove/update comments
- remove useless code
- minor fix/improvment

Julien Masson (9):
drm: meson: mask value when writing bits relaxed
drm: meson: crtc: use proper macros instead of magic constants
drm: meson: drv: use macro when initializing vpu
drm: meson: vpp: use proper macros instead of magic constants
drm: meson: viu: use proper macros instead of magic constants
drm: meson: venc: use proper macros instead of magic constants
drm: meson: global clean-up
drm: meson: add macro used to enable HDMI PLL
drm: meson: venc: set the correct macrovision max amplitude value

 drivers/gpu/drm/meson/meson_crtc.c      |  17 ++-
 drivers/gpu/drm/meson/meson_drv.c       |  26 +++-
 drivers/gpu/drm/meson/meson_dw_hdmi.c   |   2 +
 drivers/gpu/drm/meson/meson_dw_hdmi.h   |  12 +-
 drivers/gpu/drm/meson/meson_plane.c     |   2 +-
 drivers/gpu/drm/meson/meson_registers.h | 136 ++++++++++++++++---
 drivers/gpu/drm/meson/meson_vclk.c      |   7 +-
 drivers/gpu/drm/meson/meson_venc.c      | 169 ++++++++++++++++++------
 drivers/gpu/drm/meson/meson_venc_cvbs.c |   3 +-
 drivers/gpu/drm/meson/meson_viu.c       |  82 ++++++------
 drivers/gpu/drm/meson/meson_vpp.c       |  27 ++--
 11 files changed, 362 insertions(+), 121 deletions(-)
Signature · 1 line
2.17.1