]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
authorKoba Ko <koba.ko@canonical.com>
Mon, 30 Aug 2021 02:02:00 +0000 (10:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Aug 2021 19:09:27 +0000 (15:09 -0400)
commit1b2df6a0088a1b07023411d3a9f4bc02f5eecbb1
tree9c7bbbfbe8c989697e6e790b27161472cedd7091
parent43e5e19bf6fdc16021c211a662c0bc8478c67db4
drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform

Due to high latency in PCIE clock switching on RKL platforms,
switching the PCIE clock dynamically at runtime can lead to HDMI/DP
audio problems. On newer asics this is handled in the SMU firmware.
For SMU7-based asics, disable PCIE clock switching to avoid the issue.

AMD provide a parameter to disable PICE_DPM.

modprobe amdgpu ppfeaturemask=0xfff7bffb

It's better to contorl PCIE_DPM in amd gpu driver,
switch PCI_DPM by determining intel RKL platform for SMU7-based asics.

Fixes: e725e2f3b247 ("drm/amd/pm: workaround for audio noise issue")
Ref: https://lists.freedesktop.org/archives/amd-gfx/2021-August/067413.html
Signed-off-by: Koba Ko <koba.ko@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c