From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>, Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: Stephen Boyd <swboyd@chromium.org>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Bjorn Andersson <bjorn.andersson@linaro.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH v2 0/5] drm/msm/hdmi: move resource allocation to probe function Date: Fri, 26 Aug 2022 12:39:22 +0300 [thread overview] Message-ID: <20220826093927.851597-1-dmitry.baryshkov@linaro.org> (raw) As pointed several times in the discussions, start moving resource allocation from component bind to the probe function. This simplifies boot process, as the component will not be registered until all resources (clocks, regulators, IRQ, etc.) are not registered. Changes since v1: - Moved a call to msm_hdmi_get_phy() to msm_hdmi_dev_probe() too. Dmitry Baryshkov (5): drm/msm/hdmi: use devres helper for runtime PM management drm/msm/hdmi: drop constant resource names from platform config drm/msm/hdmi: move resource allocation to probe function drm/msm/hdmi: don't take extra reference on PHY device drm/msm/hdmi: move msm_hdmi_get_phy() to msm_hdmi_dev_probe() drivers/gpu/drm/msm/hdmi/hdmi.c | 348 +++++++++++++++----------------- drivers/gpu/drm/msm/hdmi/hdmi.h | 3 - 2 files changed, 161 insertions(+), 190 deletions(-) -- 2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>, Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Bjorn Andersson <bjorn.andersson@linaro.org>, Stephen Boyd <swboyd@chromium.org>, freedreno@lists.freedesktop.org Subject: [PATCH v2 0/5] drm/msm/hdmi: move resource allocation to probe function Date: Fri, 26 Aug 2022 12:39:22 +0300 [thread overview] Message-ID: <20220826093927.851597-1-dmitry.baryshkov@linaro.org> (raw) As pointed several times in the discussions, start moving resource allocation from component bind to the probe function. This simplifies boot process, as the component will not be registered until all resources (clocks, regulators, IRQ, etc.) are not registered. Changes since v1: - Moved a call to msm_hdmi_get_phy() to msm_hdmi_dev_probe() too. Dmitry Baryshkov (5): drm/msm/hdmi: use devres helper for runtime PM management drm/msm/hdmi: drop constant resource names from platform config drm/msm/hdmi: move resource allocation to probe function drm/msm/hdmi: don't take extra reference on PHY device drm/msm/hdmi: move msm_hdmi_get_phy() to msm_hdmi_dev_probe() drivers/gpu/drm/msm/hdmi/hdmi.c | 348 +++++++++++++++----------------- drivers/gpu/drm/msm/hdmi/hdmi.h | 3 - 2 files changed, 161 insertions(+), 190 deletions(-) -- 2.35.1
next reply other threads:[~2022-08-26 9:39 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-26 9:39 Dmitry Baryshkov [this message] 2022-08-26 9:39 ` [PATCH v2 0/5] drm/msm/hdmi: move resource allocation to probe function Dmitry Baryshkov 2022-08-26 9:39 ` [PATCH v2 1/5] drm/msm/hdmi: use devres helper for runtime PM management Dmitry Baryshkov 2022-08-26 9:39 ` Dmitry Baryshkov 2022-08-26 9:39 ` [PATCH v2 2/5] drm/msm/hdmi: drop constant resource names from platform config Dmitry Baryshkov 2022-08-26 9:39 ` Dmitry Baryshkov 2022-08-26 9:39 ` [PATCH v2 3/5] drm/msm/hdmi: move resource allocation to probe function Dmitry Baryshkov 2022-08-26 9:39 ` Dmitry Baryshkov 2022-09-07 18:54 ` Abhinav Kumar 2022-09-07 18:54 ` Abhinav Kumar 2022-09-07 19:09 ` [Freedreno] " Abhinav Kumar 2022-09-07 19:09 ` Abhinav Kumar 2022-09-07 19:27 ` Abhinav Kumar 2022-09-07 19:27 ` Abhinav Kumar 2022-08-26 9:39 ` [PATCH v2 4/5] drm/msm/hdmi: don't take extra reference on PHY device Dmitry Baryshkov 2022-08-26 9:39 ` Dmitry Baryshkov 2022-09-07 19:06 ` Abhinav Kumar 2022-09-07 19:06 ` Abhinav Kumar 2022-08-26 9:39 ` [PATCH v2 5/5] drm/msm/hdmi: move msm_hdmi_get_phy() to msm_hdmi_dev_probe() Dmitry Baryshkov 2022-08-26 9:39 ` Dmitry Baryshkov 2022-09-07 19:07 ` Abhinav Kumar 2022-09-07 19:07 ` Abhinav Kumar
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=20220826093927.851597-1-dmitry.baryshkov@linaro.org \ --to=dmitry.baryshkov@linaro.org \ --cc=airlied@linux.ie \ --cc=bjorn.andersson@linaro.org \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=freedreno@lists.freedesktop.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=quic_abhinavk@quicinc.com \ --cc=robdclark@gmail.com \ --cc=sean@poorly.run \ --cc=swboyd@chromium.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.