artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3fdde
)
drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
author
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 07:26:19 +0000
(07:26 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 07:26:19 +0000
(07:26 +0000)
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
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
index
162d1f5
..
9927850
100644
(file)
--- 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;
}
/*