mirror_ubuntu-kernels/drivers/gpu/drm/amd
Michel Dänzer c904e3acba drm/amdgpu: Fix GTT size reporting in amdgpu_ioctl
The commit below changed the TTM manager size unit from pages to
bytes, but failed to adjust the corresponding calculations in
amdgpu_ioctl.

Fixes: dfa714b88e ("drm/amdgpu: remove GTT accounting v2")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1930
Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6642
Tested-by: Martin Roukala <martin.roukala@mupuf.org>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.18.x
2022-06-14 13:10:06 -04:00
..
acp
amdgpu drm/amdgpu: Fix GTT size reporting in amdgpu_ioctl 2022-06-14 13:10:06 -04:00
amdkfd drm/amdkfd:Fix fw version for 10.3.6 2022-06-08 11:24:00 -04:00
display Merge tag 'amd-drm-fixes-5.19-2022-06-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes 2022-06-09 17:22:49 +10:00
include drm/amd/display: Add HDMI_ACP_SEND register 2022-05-26 14:56:32 -04:00
pm Merge tag 'amd-drm-fixes-5.19-2022-06-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes 2022-06-09 17:22:49 +10:00