diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2022-06-10 15:54:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-22 14:28:09 +0200 |
commit | e655238f900142f8e2c77564e3ea97f2588fb95f (patch) | |
tree | 5f512867ec7da2ad8c96df14546b40e0aa861cee /net/lapb/lapb_in.c | |
parent | 9a02f3275acc628c0d956be771405ced79ac36df (diff) |
drm/amdgpu: Fix GTT size reporting in amdgpu_ioctl
commit c904e3acbab3fd97649cd4ab1ff7f1521ad3a255 upstream.
The commit below changed the TTM manager size unit from pages to
bytes, but failed to adjust the corresponding calculations in
amdgpu_ioctl.
Fixes: dfa714b88eb0 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions