Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: allow multipipe policy on ASICs with one MEC

Always enable multipipe policy on ASICs with GC VERSION > 9.0.0
instead of MEC number > 1.

This will allow multipipe policy on ASICs with one MEC,
e.g., gfx11 APUs.

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lang Yu and committed by
Alex Deucher
25959dd6 99761aaa

+3
+3
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
··· 156 156 return amdgpu_compute_multipipe == 1; 157 157 } 158 158 159 + if (adev->ip_versions[GC_HWIP][0] > IP_VERSION(9, 0, 0)) 160 + return true; 161 + 159 162 /* FIXME: spreading the queues across pipes causes perf regressions 160 163 * on POLARIS11 compute workloads */ 161 164 if (adev->asic_type == CHIP_POLARIS11)