Skip to content

mgag200: Various cleanups

Thomas Zimmermann dri-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* update changelog (Sam)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/mgag200: Don't pass flags to drm_dev_register()drivers/gpu/drm/mgag200/mgag200_drv.c+1 -10 replies
2/4drm/mgag200: Inline mgag200_device_init()drivers/gpu/drm/mgag200/mgag200_drv.c+13 -280 replies
3/4drm/mgag200: Extract device type and flags in mgag200_pci_probe()drivers/gpu/drm/mgag200/mgag200_drv.c drivers/gpu/drm/mgag200/mgag200_drv.h+17 -160 replies
4/4drm/mgag200: Constify LUT for programming bppdrivers/gpu/drm/mgag200/mgag200_drv.h drivers/gpu/drm/mgag200/mgag200_mode.c+6 -120 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSam Ravnborg
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] mgag200: Various cleanups

Cleanup several nits in the driver's init code. Also move constant data into the RO data segment. No functional changes.

Tested on mgag200 HW.

v2:
* update changelog (Sam)

Thomas Zimmermann (4):
drm/mgag200: Don't pass flags to drm_dev_register() drm/mgag200: Inline mgag200_device_init()
drm/mgag200: Extract device type and flags in mgag200_pci_probe() drm/mgag200: Constify LUT for programming bpp

 drivers/gpu/drm/mgag200/mgag200_drv.c  | 62 +++++++++++++-------------
 drivers/gpu/drm/mgag200/mgag200_drv.h  | 14 ------
 drivers/gpu/drm/mgag200/mgag200_mode.c | 16 +++----
 3 files changed, 36 insertions(+), 56 deletions(-)

--
2.32.0