]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Only retrieve GPU address of GART table after pinning it
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 28 Aug 2018 09:26:17 +0000 (11:26 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Aug 2018 16:55:47 +0000 (11:55 -0500)
commitf42689d0984f9ba70439f21412bbf69de6a4d8e5
treeedc3efbb0892dde160d30545949f9f9e596a7f1c
parent32f35eece84cb8312f397fd4096b0bda6fa425c3
drm/amdgpu: Only retrieve GPU address of GART table after pinning it

Doing it earlier hits a WARN_ON_ONCE in amdgpu_bo_gpu_offset.

Fixes: "drm/amdgpu: remove gart.table_addr"
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c