From 448620ab68f78117888fe231fdda6fece8afbe8c Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 4 Apr 2024 07:26:19 +0000 Subject: [PATCH] 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 --- sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c | 1 + 1 file changed, 1 insertion(+) 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; } /* -- 2.20.1