Re: [PATCH 4/4] drm/msm/dp: remove ST_DISPLAY_OFF as a hpd_state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
> ---
>  drivers/gpu/drm/msm/dp/dp_display.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

-- 
With best wishes
Dmitry



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux