[Freedreno] [PATCH RESEND] drm/msm/dpu: Fix variable dereferenced before check

2022-06-23 Thread sunliming
Fixes the following smatch warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:261 dpu_encoder_phys_wb_atomic_check() warn: variable dereferenced before check 'conn_state' Fixes: d7d0e73f7de3 ("drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback") Reported-by: kernel test robot

Re: [Freedreno] [PATCH] drm/msm/dp: no dp_hpd_unplug_handle() required for eDP

2022-06-23 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-06-23 16:34:16) > eDP implementation does not reuried to support hpd signal. Therefore s/reuried/require/ > it only has either ST_DISPLAY_OFF or ST_CONNECTED state during normal > operation. This patch remove unnecessary dp_hpd_unplug_handle() for > eDP but still keep d

[Freedreno] [PATCH] drm/msm/dp: no dp_hpd_unplug_handle() required for eDP

2022-06-23 Thread Kuogee Hsieh
eDP implementation does not reuried to support hpd signal. Therefore it only has either ST_DISPLAY_OFF or ST_CONNECTED state during normal operation. This patch remove unnecessary dp_hpd_unplug_handle() for eDP but still keep dp_hpd_plug_handle() to support eDP to either booting up or resume from S

Re: [Freedreno] [PATCH RESEND] drm/msm/dpu: Fix variable dereferenced before check

2022-06-23 Thread Abhinav Kumar
On 6/22/2022 6:27 PM, sunliming wrote: Fixes the following smatch warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:261 dpu_encoder_phys_wb_atomic_check() warn: variable dereferenced before check 'conn_state' Signed-off-by: sunliming Reported-by: kernel test robot Reported-by:

[Freedreno] [PATCH RESEND] drm/msm/dpu: Fix variable dereferenced before check

2022-06-23 Thread sunliming
Fixes the following smatch warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:261 dpu_encoder_phys_wb_atomic_check() warn: variable dereferenced before check 'conn_state' Signed-off-by: sunliming Reported-by: kernel test robot Reported-by: Dan Carpenter Reviewed-by: Abhinav Kumar -

[Freedreno] 回复: Re: [PATCH] drm/msm/dpu: Fix variable dereferenced before check

2022-06-23 Thread 孙立明
OK,i will do that            主 题:Re: [PATCH] drm/msm/dpu: Fix variable dereferenced before check            日 期:2022-06-23 01:28            发件人:Abhinav Kumar            收件人:Dmitry Baryshkov                            On 6/21/2022 10:49 AM, Dmitry Baryshkov wrote:> On Tue, 21 Jun 2022 a