diff options
| author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2026-09-15 12:46:05 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-17 11:38:29 -0400 |
| commit | 346d81ef808ba28465a3f19f2a0d63a758e7409c (patch) | |
| tree | d014b320c7ebc382c89ae5ef1580afcd830be75c /tools/perf/scripts/python/stackcollapse.py | |
| parent | a6332b84718710f22b7392d5773675c5942faa7d (diff) | |
| download | linux-346d81ef808ba28465a3f19f2a0d63a758e7409c.tar.gz linux-346d81ef808ba28465a3f19f2a0d63a758e7409c.zip | |
drm/amd/display: Fix redundant NULL check on dc->clk_mgr in dcn42_prepare_bandwidth
dc->clk_mgr is already dereferenced inside dcn401_prepare_bandwidth(),
so the dc->clk_mgr NULL check that follows is redundant and misleading.
Drop it.
Fixes: 53845307d52e ("drm/amd/display: Register DCN as a PMFW DF C-state client on DCN42")
Reported-by: Dan Carpenter <error27@gmail.com>
Cc: Roman Li <roman.li@amd.com>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Ivan Lipski <ivan.lipski@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Cc: Wayne Lin <wayne.lin@amd.com>
Cc: Dan Wheeler <daniel.wheeler@amd.com>
Cc: Leo Chen <leo.chen@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
