]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix usable gart size calculation
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 12 Nov 2020 17:36:01 +0000 (18:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 17:17:06 +0000 (12:17 -0500)
commit1d94cf0c7d8fae222fc82f9a91785df7b8e3f695
tree5b8fae2290f2fa62ee05de6082473c56ab1dcc64
parent3984dc5b438ff3e71b8fe26c41e1f5e23128f6f1
drm/amdgpu: fix usable gart size calculation

amdgpu_do_test_moves() is failing because of wrong
usable gart size calculation and throwing:

[drm:amdgpu_do_test_moves [amdgpu]] *ERROR* 0000000020bdc9f3 bind failed

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c