]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: analogix_dp: move platform and PHY power handling into runtime PM
authorLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:21:53 +0000 (20:21 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 27 Jun 2024 09:52:07 +0000 (11:52 +0200)
commit73f613908eb1c8a1361bac9d6e15d054ab959457
tree53be8bacbdc550c9724d51c7661980dfc2ce462e
parentdcbaaa239dd3bf3d9edc01cdb4661a16d9a73520
drm/bridge: analogix_dp: move platform and PHY power handling into runtime PM

Platform and PHY power isn't only required when the actual display data
stream is active, but may be required earlier to support AUX channel
transactions. Move them into the runtime PM calls, so they are properly
managed whenever various other parts of the driver need them to be active.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619182200.3752465-7-l.stach@pengutronix.de
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c