Re: [Freedreno] [PATCH 3/7] drm/msm/dp: Remove dead code related to downstream cap info

2023-09-03 Thread Dmitry Baryshkov
On 29/08/2023 21:47, Stephen Boyd wrote: We read the downstream port count and capability info but never use it anywhere. Remove 'ds_port_cnt' and 'ds_cap_info' and any associated code from this driver. Fold the check for 'dfp_present' into a call to drm_dp_is_branch() at the one place it is

Re: [Freedreno] [PATCH 3/7] drm/msm/dp: Remove dead code related to downstream cap info

2023-08-31 Thread Kuogee Hsieh
On 8/29/2023 11:47 AM, Stephen Boyd wrote: We read the downstream port count and capability info but never use it anywhere. Remove 'ds_port_cnt' and 'ds_cap_info' and any associated code from this driver. Fold the check for 'dfp_present' into a call to drm_dp_is_branch() at the one place it is

Re: [Freedreno] [PATCH 3/7] drm/msm/dp: Remove dead code related to downstream cap info

2023-08-31 Thread Kuogee Hsieh
On 8/29/2023 11:47 AM, Stephen Boyd wrote: We read the downstream port count and capability info but never use it anywhere. Remove 'ds_port_cnt' and 'ds_cap_info' and any associated code from this driver. Fold the check for 'dfp_present' into a call to drm_dp_is_branch() at the one place it is

[Freedreno] [PATCH 3/7] drm/msm/dp: Remove dead code related to downstream cap info

2023-08-29 Thread Stephen Boyd
We read the downstream port count and capability info but never use it anywhere. Remove 'ds_port_cnt' and 'ds_cap_info' and any associated code from this driver. Fold the check for 'dfp_present' into a call to drm_dp_is_branch() at the one place it is used to get rid of any member storage related