From: jsg Date: Thu, 4 Apr 2024 07:26:19 +0000 (+0000) Subject: drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=448620ab68f78117888fe231fdda6fece8afbe8c;p=openbsd drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag From Philip Yang 6fcd12cb90888ef2d8af8d4c04e913252eee4ef3 in linux-6.6.y/6.6.24 6c6064cbe58b43533e3451ad6a8ba9736c109ac3 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c index 162d1f54ab7..9927850573e 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c @@ -876,6 +876,7 @@ static void amdgpu_ttm_gart_bind(struct amdgpu_device *adev, amdgpu_gart_bind(adev, gtt->offset, ttm->num_pages, gtt->ttm.dma_address, flags); } + gtt->bound = true; } /*