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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Adjust ASPM support quirk to cover more Intel hosts

Some of the same issues identified in commit c770ef19673fb
("drm/amd/amdgpu: disable ASPM in some situations") also affect
Tiger Lake systems with GFX11 connected over USB4. Widen the net
to also match these hosts.

Fixes: d9b3a066dfcd ("drm/amd: Exclude dGPUs in eGPU enclosures from DPM quirks")
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5145
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 0a214d888485b9f35fe03882a92962e6d5697849)

authored by

Mario Limonciello and committed by
Alex Deucher
0e48f27d 49ed6f45

+3 -6
+3 -6
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
··· 1334 1334 #if IS_ENABLED(CONFIG_X86) 1335 1335 struct cpuinfo_x86 *c = &cpu_data(0); 1336 1336 1337 - if (!(amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(12, 0, 0) || 1338 - amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(12, 0, 1))) 1339 - return false; 1340 - 1341 - if (c->x86 == 6 && 1342 - adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN5) { 1337 + if (c->x86_vendor == X86_VENDOR_INTEL) { 1343 1338 switch (c->x86_model) { 1344 1339 case VFM_MODEL(INTEL_ALDERLAKE): 1345 1340 case VFM_MODEL(INTEL_ALDERLAKE_L): 1346 1341 case VFM_MODEL(INTEL_RAPTORLAKE): 1347 1342 case VFM_MODEL(INTEL_RAPTORLAKE_P): 1348 1343 case VFM_MODEL(INTEL_RAPTORLAKE_S): 1344 + case VFM_MODEL(INTEL_TIGERLAKE): 1345 + case VFM_MODEL(INTEL_TIGERLAKE_L): 1349 1346 return true; 1350 1347 default: 1351 1348 return false;