artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae6e94
)
drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
author
jsg
<jsg@openbsd.org>
Fri, 10 Jun 2022 01:06:31 +0000
(
01:06
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 10 Jun 2022 01:06:31 +0000
(
01:06
+0000)
From Alice Wong
b305469ed00420e53c66064b554531d6fbd98d5b
in linux 5.15.y/5.15.46
ab0cd4a9ae5b4679b714d8dbfedc0901fecdce9f
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
index
2578e03
..
1132961
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
@@
-727,8
+727,7
@@
int amdgpu_ucode_create_bo(struct amdgpu_device *adev)
void amdgpu_ucode_free_bo(struct amdgpu_device *adev)
{
- if (adev->firmware.load_type != AMDGPU_FW_LOAD_DIRECT)
- amdgpu_bo_free_kernel(&adev->firmware.fw_buf,
+ amdgpu_bo_free_kernel(&adev->firmware.fw_buf,
&adev->firmware.fw_buf_mc,
&adev->firmware.fw_buf_ptr);
}