drm/amdgpu: support ASPM for some specific ASIC
authorLikun Gao <Likun.Gao@amd.com>
Mon, 1 Feb 2021 06:44:09 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:28:04 +0000 (15:28 -0500)
commite1edaeafeb667688125ef1c4e2a098d2c798fc24
treee2000e96d8e62388b778234893cb56c857ad27e1
parent680602d6c2d6ac850302b0cf4c03dcc6d9ea0fae
drm/amdgpu: support ASPM for some specific ASIC

Support to program ASPM and LTR for Sienna Cichlid and forward ASIC.
Disable ASPM for Sienna Cichlid and forward ASIC by default.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
drivers/gpu/drm/amd/amdgpu/nv.c