[PATCH 4/4] drm/msm/dp: remove ST_DISPLAY_OFF as a hpd_state
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Dec 3 13:54:27 UTC 2024
On Mon, Dec 02, 2024 at 04:39:03PM -0800, Abhinav Kumar wrote:
> ST_DISPLAY_OFF check in msm_dp_bridge_atomic_enable() is used to check
> that if the display was disabled while still hotplugged, phy needs
> to be re-initialized. This can be replaced with a different check as
> it just means the hpd_state was still ST_CONNECTED but without display
> being powered on. Replace the ST_DISPLAY_OFF check with a combination
> of connected and power_on checks.
>
> Since all consumers of ST_DISPLAY_OFF have now been removed,
> drop ST_DISPLAY_OFF from the list of hpd_states as technically
> this was never a 'hpd' state anyway.
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
> drivers/gpu/drm/msm/dp/dp_display.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list