artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b3d4b
)
drm/amd/amdgpu/sriov disable all ip hw status by default
author
jsg
<jsg@openbsd.org>
Mon, 19 Jul 2021 09:55:11 +0000
(09:55 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 19 Jul 2021 09:55:11 +0000
(09:55 +0000)
From Jack Zhang
b025bc07c94770ab5ca68a8b2ead12628c2a0698
in linux 5.10.y/5.10.51
95ea3dbc4e9548d35ab6fbf67675cef8c293e2f5
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
index
f648670
..
22b2ba0
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
@@
-2808,7
+2808,7
@@
static int amdgpu_device_ip_reinit_early_sriov(struct amdgpu_device *adev)
AMD_IP_BLOCK_TYPE_IH,
};
- for (i = 0; i <
ARRAY_SIZE(ip_order)
; i++) {
+ for (i = 0; i <
adev->num_ip_blocks
; i++) {
int j;
struct amdgpu_ip_block *block;