]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix duplicate gpu node in icc summary
authorAkhil P Oommen <akhilpo@codeaurora.org>
Wed, 28 Oct 2020 14:35:11 +0000 (20:05 +0530)
committerRob Clark <robdclark@chromium.org>
Wed, 4 Nov 2020 16:26:26 +0000 (08:26 -0800)
commit127c138e469f998667626777970f749b60e26ce0
tree5301db48816dcb8cd99d2a11a9d3a39349de33f5
parente25303ba8948558c54f733299ed2f7bf5ee001c4
drm/msm: Fix duplicate gpu node in icc summary

The dev_pm_opp_of_add_table() api initializes the icc nodes for gpu
indirectly. So we can avoid using of_icc_get() api in the common
probe path. To improve this, move of_icc_get() to target specific code
where it is required.

This patch helps to fix duplicate gpu node listed in the interconnect
summary from the debugfs.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c