diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-07-06 16:38:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-28 23:28:28 +0300 |
commit | a5ce8695d6d1b40d6960d2d298b579042c158f25 (patch) | |
tree | 196eedac2a6582d25155cffe73c5296030559416 /scripts/lib/kdoc/kdoc_files.py | |
parent | 02f3ec53177243d32ee8b6f8ba99136d7887ee3a (diff) | |
download | linux-a5ce8695d6d1b40d6960d2d298b579042c158f25.tar.xz |
drm/amd/display: Avoid configuring PSR granularity if PSR-SU not supported
[Why]
If PSR-SU is disabled on the link, then configuring su_y granularity in
mod_power_calc_psr_configs() can lead to assertions in
psr_su_set_dsc_slice_height().
[How]
Check the PSR version in amdgpu_dm_link_setup_psr() to determine whether
or not to configure granularity.
Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions