aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-09-03 06:22:44 +0300
committerAbhinav Kumar <quic_abhinavk@quicinc.com>2024-10-14 13:16:16 -0700
commitbfecbc2cfba9b06d67d9d249c33d92e570e2fa70 (patch)
tree4f8e42ec3173d3eef01813ec08edaf5069f97f1f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdrm/msm/dpu: enable writeback on SM6350 (diff)
downloadwireguard-linux-bfecbc2cfba9b06d67d9d249c33d92e570e2fa70.tar.xz
wireguard-linux-bfecbc2cfba9b06d67d9d249c33d92e570e2fa70.zip
drm/msm/dpu: make sure phys resources are properly initialized
The commit b954fa6baaca ("drm/msm/dpu: Refactor rm iterator") removed zero-init of the hw_ctl array, but didn't change the error condition, that checked for hw_ctl[i] being NULL. At the same time because of the early returns in case of an error dpu_encoder_phys might be left with the resources assigned in the previous state. Rework assigning of hw_pp / hw_ctl to the dpu_encoder_phys in order to make sure they are always set correctly. Fixes: b954fa6baaca ("drm/msm/dpu: Refactor rm iterator") Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/612233/ Link: https://lore.kernel.org/r/20240903-dpu-mode-config-width-v6-1-617e1ecc4b7a@linaro.org Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions