diff options
author | George Shen <george.shen@amd.com> | 2021-09-16 19:59:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-29 17:30:00 -0400 |
commit | 356af2f32f443b89ac2ebb033f325c9dd93884e9 (patch) | |
tree | 146add4687fac61e81e7df74b2d5d6285658a8d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
parent | 3626a6aebe62ce7067cdc460c0c644e9445386bb (diff) | |
download | linux-356af2f32f443b89ac2ebb033f325c9dd93884e9.tar.gz linux-356af2f32f443b89ac2ebb033f325c9dd93884e9.tar.bz2 linux-356af2f32f443b89ac2ebb033f325c9dd93884e9.zip |
drm/amd/display: Update VCP X.Y logging to improve usefulness
[Why]
Recently debugging efforts have involved setting/checking the
X.Y value used during payload allocation. Current output for
Y was calculated with incorrect bitshift. Y value is also not
human readable.
[How]
Refactor logging into separate function. Fix Y calculation error
and format output to be human readable.
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions