linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Archit Taneja <architt@codeaurora.org>
To: robdclark@gmail.com
Cc: daniel@ffwll.ch, dri-devel@lists.freedesktop.org,
	linux-arm-msm@vger.kernel.org, twp@codeaurora.org,
	Archit Taneja <architt@codeaurora.org>
Subject: [PATCH v3 0/3] drm/msm: Remove drm_driver load/unload ops
Date: Mon,  2 May 2016 11:05:51 +0530	[thread overview]
Message-ID: <1462167354-3014-1-git-send-email-architt@codeaurora.org> (raw)
In-Reply-To: <1461579402-14301-1-git-send-email-architt@codeaurora.org>

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

  parent reply	other threads:[~2016-05-02  5:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 10:56 [PATCH 0/3] drm/msm: Remove drm_driver load/unload ops Archit Taneja
2016-04-19 10:56 ` [PATCH 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings Archit Taneja
2016-04-19 15:49   ` Bjorn Andersson
     [not found]     ` <CAF6AEGv0uJhvkhsOWeZvZ9iXZO3eMdCnr6PCq5bpx0bNTJHj9g@mail.gmail.com>
     [not found]       ` <CAF6AEGuHq96komyBscvB6jfVSRUn0djp_W6Ui_0xi7VEE2mGsw@mail.gmail.com>
     [not found]         ` <CAF6AEGuMTZ0dr26oC4v2whFKoFY3Wc4SY=Ryst7QCoD-Ko2_AQ@mail.gmail.com>
     [not found]           ` <CAF6AEGsTPw8GPqfUuzVPjKoGM0FTq=XTtS0mEk5BxwvRUdbVfw@mail.gmail.com>
     [not found]             ` <CAF6AEGvTp2xEo6H2P-VOoFrg5aSd3T7eEbd6vDm_kMm8-FkfpQ@mail.gmail.com>
     [not found]               ` <CAF6AEGsX7F4Q=8__Y-SP_gs6e6CfX6JuocK5jVKJO0CkE10_Hw@mail.gmail.com>
2016-04-19 17:44                 ` Rob Clark
2016-04-19 18:25                   ` Bjorn Andersson
2016-04-20  6:03                   ` Archit Taneja
2016-04-19 10:56 ` [PATCH 2/3] drm/msm: Centralize connector registration/unregistration Archit Taneja
2016-04-19 12:10   ` Daniel Vetter
2016-04-20  4:40     ` Archit Taneja
2016-04-19 10:56 ` [PATCH 3/3] drm/msm: Drop load/unload drm_driver ops Archit Taneja
2016-04-25 10:16 ` [PATCH v2 0/3] drm/msm: Remove drm_driver load/unload ops Archit Taneja
2016-04-25 10:16   ` [PATCH v2 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings Archit Taneja
2016-04-25 17:48     ` twp
2016-04-27  4:55       ` Archit Taneja
2016-04-25 10:16   ` [PATCH v2 2/3] drm/msm: Centralize connector registration/unregistration Archit Taneja
2016-04-25 10:16   ` [PATCH v2 3/3] drm/msm: Drop load/unload drm_driver ops Archit Taneja
2016-05-02  5:35   ` Archit Taneja [this message]
2016-05-02  5:35     ` [PATCH v3 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings Archit Taneja
2016-05-02  5:35     ` [PATCH v3 2/3] drm/msm: Centralize connector registration/unregistration Archit Taneja
2016-05-02  5:35     ` [PATCH v3 3/3] drm/msm: Drop load/unload drm_driver ops Archit Taneja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462167354-3014-1-git-send-email-architt@codeaurora.org \
    --to=architt@codeaurora.org \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robdclark@gmail.com \
    --cc=twp@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).