artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92fe914
)
drm/amdgpu: allow multipipe policy on ASICs with one MEC
author
jsg
<jsg@openbsd.org>
Wed, 25 Jan 2023 01:48:33 +0000
(
01:48
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 25 Jan 2023 01:48:33 +0000
(
01:48
+0000)
From Lang Yu
d693fdf73eb296081523e18d1ac3bc38787e7cab
in linux-6.1.y/6.1.8
dc88063b87775971be564d79dc1b05f7b8b5c135
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
index
976ab72
..
9a4a971
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
@@
-158,6
+158,9
@@
static bool amdgpu_gfx_is_compute_multipipe_capable(struct amdgpu_device *adev)
return amdgpu_compute_multipipe == 1;
}
+ if (adev->ip_versions[GC_HWIP][0] > IP_VERSION(9, 0, 0))
+ return true;
+
/* FIXME: spreading the queues across pipes causes perf regressions
* on POLARIS11 compute workloads */
if (adev->asic_type == CHIP_POLARIS11)