From 2b072442f4962231a8516485012bb2d2551ef2fe Mon Sep 17 00:00:00 2001 From: Kai-Heng Feng Date: Wed, 15 Mar 2023 20:07:23 +0800 Subject: drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi S2idle resume freeze can be observed on Intel ADL + AMD WX5500. This is caused by commit 0064b0ce85bb ("drm/amd/pm: enable ASPM by default"). The root cause is still not clear for now. So extend and apply the ASPM quirk from commit e02fe3bc7aba ("drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems"), to workaround the issue on Navi cards too. Fixes: 0064b0ce85bb ("drm/amd/pm: enable ASPM by default") Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2458 Reviewed-by: Alex Deucher Signed-off-by: Kai-Heng Feng Reviewed-by: Mario Limonciello Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c') diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 22e25ca285f8..ebe0e2d7dbd1 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -578,7 +578,7 @@ static void nv_pcie_gen3_enable(struct amdgpu_device *adev) static void nv_program_aspm(struct amdgpu_device *adev) { - if (!amdgpu_device_should_use_aspm(adev)) + if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_aspm_support_quirk()) return; if (!(adev->flags & AMD_IS_APU) && -- cgit v1.2.3 s/perf/scripts/python?id=71f2cc64d027d712f29bf8d09d3e123302d5f245&follow=1'>diffstats
AgeCommit message (Expand)AuthorFilesLines
2018-11-08ceph: add destination file data sync before doing any remote copyLuis Henriques1-2/+9
2018-11-04Linux 4.20-rc1v4.20-rc1Linus Torvalds1-2/+2
2018-11-04sched/topology: Fix off by one bugPeter Zijlstra1-1/+1
2018-11-03memory_hotplug: cond_resched in __remove_pagesMichal Hocko1-0/+1
2018-11-03bfs: add sanity check at bfs_fill_super()Tetsuo Handa1-3/+6
2018-11-03kernel/sysctl.c: remove duplicated includeMichael Schupikov1-1/+0
2018-11-03kernel/kexec_file.c: remove some duplicated includeszhong jiang1-2/+0
2018-11-03mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmaskMichal Hocko5-77/+40
2018-11-03ocfs2: fix clusters leak in ocfs2_defrag_extent()Larry Chen1-0/+17
2018-11-03ocfs2: dlmglue: clean up timestamp handlingArnd Bergmann1-17/+9
2018-11-03ocfs2: don't put and assigning null to bh allocated outsideChangwei Ge1-18/+59
2018-11-03ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entryChangwei Ge1-2/+1
2018-11-03ocfs2: don't use iocb when EIOCBQUEUED returnsChangwei Ge1-2/+2
2018-11-03ocfs2: without quota support, avoid calling quota recoveryGuozhonghua1-17/+34
2018-11-03ocfs2: remove ocfs2_is_o2cb_active()Gang He3-10/+1
2018-11-03mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappingsAndrea Arcangeli1-2/+30
2018-11-03include/linux/notifier.h: SRCU: fix ctagsSam Protsenko1-2/+1
2018-11-03mm: handle no memcg case in memcg_kmem_charge() properlyRoman Gushchin1-1/+1
2018-11-02ARM: dts: stm32: update HASH1 dmas property on stm32mp157cAlexandre Torgue1-1/+1
2018-11-02ARM: orion: avoid VLA in orion_mpp_confArnd Bergmann1-1/+6
2018-11-02iov_iter: Fix 9p virtio breakageMarc Zyngier1-1/+1
2018-11-02cifs: fix signed/unsigned mismatch on aio_read patchSteve French1-6/+11
2018-11-02cifs: don't dereference smb_file_target before null checkColin Ian King1-2/+5
2018-11-02CIFS: Add direct I/O functions to file_operationsLong Li1-6/+4
2018-11-02CIFS: Add support for direct I/O writeLong Li2-41/+164
2018-11-02CIFS: Add support for direct I/O readLong Li3-39/+192
2018-11-02smb3: missing defines and structs for reparse point handlingSteve French2-0/+38
2018-11-02smb3: allow more detailed protocol info on open files for debuggingSteve French4-0/+65
2018-11-02smb3: on kerberos mount if server doesn't specify auth type use krb5Steve French1-2/+4
2018-11-02smb3: add trace point for tree connectionSteve French2-1/+44
2018-11-02cifs: fix spelling mistake, EACCESS -> EACCESColin Ian King2-3/+3
2018-11-02cifs: fix return value for cifs_listxattrRonnie Sahlberg1-5/+6