diff options
author | 2021-12-15 08:52:26 +0000 | |
---|---|---|
committer | 2021-12-16 14:08:20 -0500 | |
commit | d999bc81ac3872a8543c4afbce30e0d46b4bb9e1 (patch) | |
tree | 786843f46cc27a3dd34f20c67f50ce3bac2ffcba /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled (diff) | |
download | linux-dev-d999bc81ac3872a8543c4afbce30e0d46b4bb9e1.tar.xz linux-dev-d999bc81ac3872a8543c4afbce30e0d46b4bb9e1.zip |
drm/amdkfd: use max() and min() to make code cleaner
Use max() and min() in order to make code cleaner.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions