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

Archit Taneja architt at codeaurora.org
Mon May 2 05:35:51 UTC 2016


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(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation



More information about the dri-devel mailing list