artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672ada0
)
drm/amdkfd: fix TLB flush after unmap for GFX9.4.2
author
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 07:53:08 +0000
(07:53 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 07:53:08 +0000
(07:53 +0000)
From Eric Huang
2684393685f7f3e264a55d4b55282e780bc2376d
in linux-6.6.y/6.6.24
1210e2f1033dc56b666c9f6dfb761a2d3f9f5d6c
in mainline linux
sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
b/sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
index
12ee273
..
67204c3
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
+++ b/
sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
@@
-1466,7
+1466,7
@@
void kfd_flush_tlb(struct kfd_process_device *pdd, enum TLB_FLUSH_TYPE type);
static inline bool kfd_flush_tlb_after_unmap(struct kfd_dev *dev)
{
- return KFD_GC_VERSION(dev) > IP_VERSION(9, 4, 2) ||
+ return KFD_GC_VERSION(dev) >
=
IP_VERSION(9, 4, 2) ||
(KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 1) && dev->sdma_fw_version >= 18) ||
KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 0);
}