On Mon, Dec 02, 2024 at 04:39:02PM -0800, Abhinav Kumar wrote: > msm_dp_hpd_unplug_handle() checks if the display was already disabled and if > so does not transition to ST_DISCONNECT_PENDING state and goes directly to > ST_DISCONNECTED. The same result can be achieved with the !power_on check. > > Replace ST_DISPLAY_OFF with !power_on to achieve the same outcome. > > Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> > --- > drivers/gpu/drm/msm/dp/dp_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry