]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb3dc549986eb7b38eba4a144e979dc93f386751f
tree9c7bbbfbe8c989697e6e790b27161472cedd7091
parent50c6dedeb1aac21c445ee4193f7660503873f395
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: 1a31474cdb48 ("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