artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6bd6c
)
drm/amdkfd: Use common function for IP version check
author
jsg
<jsg@openbsd.org>
Mon, 22 Jan 2024 02:50:19 +0000
(
02:50
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 22 Jan 2024 02:50:19 +0000
(
02:50
+0000)
From Mukul Joshi
867ecd8970d33ae4e269a7f24d037c35dcc79290
in linux-6.6.y/6.6.13
2f86bf79b63dbe6963ebc647b77a5f576a906b40
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
fa24e18
..
df7a5cd
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
+++ b/
sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
@@
-1128,7
+1128,7
@@
static inline struct kfd_node *kfd_node_by_irq_ids(struct amdgpu_device *adev,
struct kfd_dev *dev = adev->kfd.dev;
uint32_t i;
- if (
adev->ip_versions[GC_HWIP][0]
!= IP_VERSION(9, 4, 3))
+ if (
KFD_GC_VERSION(dev)
!= IP_VERSION(9, 4, 3))
return dev->nodes[0];
for (i = 0; i < dev->num_nodes; i++)