aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-27 02:07:43 +0000
committerAlex Deucher <[email protected]>2023-10-03 19:43:05 +0000
commitade134ddaee5baa1fa35cc66a12d2489213a26e0 (patch)
tree1d4cd8e46d9a646058a8882900a18fe81ef7da77 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c
parentdrm/amd/display: Disable DWB frame capture to emulate oneshot (diff)
downloadkernel-ade134ddaee5baa1fa35cc66a12d2489213a26e0.tar.gz
kernel-ade134ddaee5baa1fa35cc66a12d2489213a26e0.zip
drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters()
While aligning SMU11 with SMU13 implementation an assumption was made that `dpm_context->dpm_tables.pcie_table` was populated in dpm table initialization like in SMU13 but it isn't. So restore some of the original logic and instead just check for amdgpu_device_pcie_dynamic_switching_supported() to decide whether to hardcode values; erring on the side of performance. Cc: [email protected] # 6.1+ Reported-and-tested-by: Umio Yasuno <[email protected]> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1447#note_2101382 Fixes: e701156ccc6c ("drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13") Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions