Skip to content

Turn display finalizers into static functions

Gustavo Sousa intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 3 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Add more cleanups. (Lucas)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1fixup! drm/xe/display: Implement display supportdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_display.c drivers/gpu/drm/xe/xe_display.h+15 -363 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchLucas De Marchi
1/1R-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 [Intel-xe] [PATCH v2 0/1] Turn display finalizers into static functions

Finalizer counterparts of display initializers are registered with drmm_add_action_or_reset(). Since there are no other explicit users of them outside of xe_display.c, let's turn them into static functions.

While at it, since this is a fixup patch, also do other cleanups suggested by Lucas:

* s/xe_display_modset_driver_remove/xe_display_driver_remove/

* Remove the unused xe_display_enable()

* s,xe_display_unlink,xe_display_fini,

The original suggestion for the above was to replace with xe_display_shutdown, but I went with xe_display_fini to be consistent with the other "stepped" display finalizers.

* Group functions in the header by namespaces.

v2:
- Add more cleanups. (Lucas)

Gustavo Sousa (1):
fixup! drm/xe/display: Implement display support

 drivers/gpu/drm/xe/xe_device.c  |  8 ++++----
 drivers/gpu/drm/xe/xe_display.c | 10 +++++-----
 drivers/gpu/drm/xe/xe_display.h | 33 ++++++---------------------------
 3 files changed, 15 insertions(+), 36 deletions(-)
Signature · 1 line
2.42.0