diff options
author | 2021-07-20 11:00:44 -0400 | |
---|---|---|
committer | 2021-07-23 10:08:00 -0400 | |
commit | 1a394b3c3de2577f200cb623c52a5c2b82805cec (patch) | |
tree | 4c9187c3b114fcc453f2a34f0930e8c3f50eb06b /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | |
parent | drm/amdkfd: Fix a concurrency issue during kfd recovery (diff) | |
download | wireguard-linux-1a394b3c3de2577f200cb623c52a5c2b82805cec.tar.xz wireguard-linux-1a394b3c3de2577f200cb623c52a5c2b82805cec.zip |
drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
link_rate is updated via debugfs using hex values, set it to output
in hex as well.
eg: Resolution: 1920x1080@144Hz
cat /sys/kernel/debug/dri/0/DP-1/link_settings
Current: 4 0x14 0 Verified: 4 0x1e 0 Reported: 4 0x1e 16 Preferred: 0 0x0 0
echo "4 0x1e" > /sys/kernel/debug/dri/0/DP-1/link_settings
cat /sys/kernel/debug/dri/0/DP-1/link_settings
Current: 4 0x1e 0 Verified: 4 0x1e 0 Reported: 4 0x1e 16 Preferred: 4 0x1e 0
Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h')
0 files changed, 0 insertions, 0 deletions