diff options
| author | Rodrigo Siqueira <[email protected]> | 2023-02-28 15:53:10 -0700 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-22 00:59:08 -0400 |
| commit | c964b86e322f91f409aead79b1b497b74ae0f795 (patch) | |
| tree | 7feab2102c549055d933ccf4d603667cb86d2a52 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 28e5c9d601fb8c2f387516b095a9cf6ddf7c00d5 (diff) | |
drm/amd/display: Add const to a function
When calling the dc_link_bw_kbps_from_raw_frl_link_rate_data from
amdgpu_dm, GCC highlighted the following issue:
In function ‘get_conv_frl_bw’:
error: passing argument 1 of
‘dc_link_bw_kbps_from_raw_frl_link_rate_data’ discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
997 | aconnector->dc_link->dc,
This commit fix this issue by making DC a constant variable since we
only use it to invoke the function
bw_kbps_from_raw_frl_link_rate_data().
Reviewed-by: Chris Park <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Rodrigo Siqueira <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions