Skip to content

drm/msm: Remove drm_driver load/unload ops

Archit Taneja dri-devel linux-arm-msm 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Minor change in the gpio_free warning removal patch to improve indentation

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/msm/hdmi: Prevent gpio_free related kernel warningsdrivers/gpu/drm/msm/hdmi/hdmi_connector.c+7 -20 replies
2/3drm/msm: Centralize connector registration/unregistrationdrivers/gpu/drm/msm/dsi/dsi_manager.c drivers/gpu/drm/msm/edp/edp_connector.c drivers/gpu/drm/msm/hdmi/hdmi_connector.c +2 more+26 -620 replies
3/3drm/msm: Drop load/unload drm_driver opsdrivers/gpu/drm/msm/msm_drv.c+71 -540 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm/msm: Remove drm_driver load/unload ops

Registering the drm_device using the drm_driver load/unload ops is deprecated since it is prone to race conditions.

The second and third patches removes the usage of these ops. The first patch prevents warnings when we try to remove the drm/msm kernel module.

Changes in v3:
- Minor change in the gpio_free warning removal patch to improve indentation

Changes in v2:
- Use the recently created drm_connector_register_all and drm_connector_unregister_all helpers instead of writing it ourselves

Archit Taneja (3):
drm/msm/hdmi: Prevent gpio_free related kernel warnings drm/msm: Centralize connector registration/unregistration drm/msm: Drop load/unload drm_driver ops

 drivers/gpu/drm/msm/dsi/dsi_manager.c              |  27 ++---
 drivers/gpu/drm/msm/edp/edp_connector.c            |  20 +---
 drivers/gpu/drm/msm/hdmi/hdmi_connector.c          |  26 ++---
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_lvds_connector.c |  16 +--
 drivers/gpu/drm/msm/msm_drv.c                      | 127 ++++++++++++---------
 5 files changed, 101 insertions(+), 115 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation