Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1495468

Re: [PATCH v2 2/4] drm/bridge: analogix_dp: get sync PM when init eDP

From Sean Paul <seanpaul@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/4] drm/bridge: analogix_dp: get sync PM when init eDP
Date 2016-10-04 17:00 +0200
Message-ID <sozmi-4b2-27@gated-at.bofh.it> (permalink)
References <sn5qh-1QC-13@gated-at.bofh.it> <sn5qi-1QC-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 30, 2016 at 8:40 AM, zain wang <wzz@rock-chips.com> wrote:


Can you please add a commit message describing why this is needed.

Sean


> Signed-off-by: zain wang <wzz@rock-chips.com>
>
> ---
>
> Changes in v2: None
>
>  drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> index b4ce16a..1bd190e 100644
> --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> @@ -1411,10 +1411,12 @@ int analogix_dp_bind(struct device *dev, struct drm_device *drm_dev,
>         }
>
>         pm_runtime_enable(dev);
> +       pm_runtime_get_sync(dev);
>
>         phy_power_on(dp->phy);
>
>         analogix_dp_init_dp(dp);
> +       pm_runtime_put_sync(dev);
>
>         ret = devm_request_threaded_irq(&pdev->dev, dp->irq,
>                                         analogix_dp_hardirq,
> --
> 1.9.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] Misc changes to Rockchip PSR drivers zain wang <wzz@rock-chips.com> - 2016-09-30 14:50 +0200
  [PATCH v2 1/4] drm/bridge: analogix_dp: prevent runing enable_psr when disabled bridge. zain wang <wzz@rock-chips.com> - 2016-09-30 14:50 +0200
  [PATCH v2 2/4] drm/bridge: analogix_dp: get sync PM when init eDP zain wang <wzz@rock-chips.com> - 2016-09-30 14:50 +0200
    Re: [PATCH v2 2/4] drm/bridge: analogix_dp: get sync PM when init eDP Sean Paul <seanpaul@chromium.org> - 2016-10-04 17:00 +0200

csiph-web