aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMaíra Canal <[email protected]>2022-07-14 16:45:04 +0000
committerAlex Deucher <[email protected]>2022-07-25 13:31:02 +0000
commit869618c3440227f848ff9ac55aa64d523a60476e (patch)
treeaae2608aa528da4ae24f3204cad4d0812819ef87 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/amd/display: Remove unused variables from dcn10_stream_encoder (diff)
downloadkernel-869618c3440227f848ff9ac55aa64d523a60476e.tar.gz
kernel-869618c3440227f848ff9ac55aa64d523a60476e.zip
drm/amd/display: Remove unused MaxUsedBW variable
Remove the variable MaxUsedBW from the function DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation. As a side-effect, the variables MaxPerPlaneVActiveWRBandwidth and WRBandwidth are also removed. This was pointed by clang with the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3043:10: warning: variable 'MaxUsedBW' set but not used [-Wunused-but-set-variable] double MaxUsedBW = 0; ^ 1 warning generated. Reviewed-by: André Almeida <[email protected]> Signed-off-by: Maíra Canal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions