[PATCH] drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
zombah at gmail.com
Tue Dec 5 14:24:52 UTC 2017
On Tue, Dec 5, 2017 at 5:12 PM, Marek Szyprowski
<m.szyprowski at samsung.com> wrote:
> Hi Misha,
> On 2017-12-05 15:06, Misha Komarovskiy wrote:
>> On Mon, Nov 27, 2017 at 6:40 AM, Archit Taneja <architt at codeaurora.org>
>>> On 11/21/2017 01:19 PM, Marek Szyprowski wrote:
>>>> get_modes() callback might be called asynchronously from the DRM core
>>>> it is not synchronized with bridge_enable(), which sets proper runtime
>>>> state of the main DP device. Fix this by calling pm_runtime_get_sync()
>>>> before calling drm_get_edid(), which in turn calls drm_dp_i2c_xfer() and
>>>> analogix_dp_transfer() to ensure that main DP device is runtime active
>>>> when doing any access to its registers.
>>> Looks good to me. Would be nice to get an ack from rockchip too. Will
>>> to drm-misc-fixes (so that it's merged for 4.15-rc2) if no one has any
>> After this patch accepted to 4.15-rc2 any chances to have it also in
>> 4.14 stable?
>> I tested it manualy and it fixes boot freeze on snow with 4.14.
>> If required,
>> Tested-by: Misha Komarovskiy <zombah at gmail.com>
> The patch is tagged cc: stable, so it should automatically get into v4.14.y
> series once it finally lands in v4.15-rcX series.
I see. Thank you for clarification.
Sorry for the noise 8)
> Best regards
> Marek Szyprowski, PhD
> Samsung R&D Institute Poland
More information about the dri-devel