diff options
| author | Taimur Hassan <[email protected]> | 2023-11-10 15:15:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-11-29 21:49:01 +0000 |
| commit | 22136ff27c4e01fae81f6588033363a46c72ed8c (patch) | |
| tree | 36a1f971f4da89a636c4461d8451c90939201697 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdkfd: Use common function for IP version check (diff) | |
| download | kernel-22136ff27c4e01fae81f6588033363a46c72ed8c.tar.gz kernel-22136ff27c4e01fae81f6588033363a46c72ed8c.zip | |
drm/amd/display: Fix conversions between bytes and KB
[Why]
There are a number of instances where we convert HostVMMinPageSize or
GPUVMMinPageSize from bytes to KB by dividing (rather than multiplying) and
vice versa.
Additionally, in some cases, a parameter is passed through DML in KB but
later checked as if it were in bytes.
Cc: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
