summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
diff options
context:
space:
mode:
authorTaimur Hassan <syed.hassan@amd.com>2023-11-10 10:15:28 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-11-29 16:49:01 -0500
commit22136ff27c4e01fae81f6588033363a46c72ed8c (patch)
tree36a1f971f4da89a636c4461d8451c90939201697 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
parentfbd2076c31e3281dea7b475d80211b7a6f1500da (diff)
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: stable@vger.kernel.org Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Taimur Hassan <syed.hassan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c')
0 files changed, 0 insertions, 0 deletions