projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7818d
)
drm/amdgpu: Skip ASPM programming on aldebaran
author
Lijo Lazar
<lijo.lazar@amd.com>
Wed, 24 Nov 2021 11:26:38 +0000
(19:26 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 24 Nov 2021 19:06:53 +0000
(14:06 -0500)
There is no need for additional programming, keep the default settings.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
b/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
index e96516d3fd45eb281bd7862eb8650427d7c12b10..dc5e93756fea4fd8d7a193dd75774604b49cd570 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
@@
-694,6
+694,9
@@
static void nbio_v7_4_program_aspm(struct amdgpu_device *adev)
{
uint32_t def, data;
+ if (adev->ip_versions[NBIO_HWIP][0] == IP_VERSION(7, 4, 4))
+ return;
+
def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
data &= ~PCIE_LC_CNTL__LC_L1_INACTIVITY_MASK;
data &= ~PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK;