diff options
| author | Alex Hung <[email protected]> | 2024-07-29 15:29:09 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-13 10:32:17 -0400 |
| commit | 95d9e0803e51d5a24276b7643b244c7477daf463 (patch) | |
| tree | 7bec6c4c73c34b32fb01a0bedae3ed7d99da284e /tools/perf/scripts/python/bin | |
| parent | c20da89edb69f05ab78fe804899d50be2596b0f0 (diff) | |
drm/amd/display: Check null pointers before using dc->clk_mgr
[WHY & HOW]
dc->clk_mgr is null checked previously in the same function, indicating
it might be null.
Passing "dc" to "dc->hwss.apply_idle_power_optimizations", which
dereferences null "dc->clk_mgr". (The function pointer resolves to
"dcn35_apply_idle_power_optimizations".)
This fixes 1 FORWARD_NULL issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions