diff options
author | 2024-10-16 14:11:35 -0400 | |
---|---|---|
committer | 2024-10-28 16:36:04 -0400 | |
commit | c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3 (patch) | |
tree | 30dddada90b15d78605f7dab992f07ef6474d063 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | |
parent | drm/amd/display: Fix underflow when playing 8K video in full screen mode (diff) | |
download | wireguard-linux-c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3.tar.xz wireguard-linux-c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3.zip |
drm/amd/display: fix handling of max_downscale_src_width fail check in SPL
[Why]
If max_downscale_src_width check fails, we exit early from
spl_calculate_scaler_params but dscl_prog_data is not fully
populated. If viewport is left at 0, it can cause crash in dml.
[How]
Call spl_set_dscl_prog_data before we exit early from
spl_calculate_scaler_params to populate dscl_prog_data
Populate taps in spl_get_optimal_number_of_taps
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions