diff options
author | Samson Tam <Samson.Tam@amd.com> | 2024-10-16 14:11:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-28 16:36:04 -0400 |
commit | c56c0aca0a0ebb67cc9a609b4361b36dc2adb7c3 (patch) | |
tree | 30dddada90b15d78605f7dab992f07ef6474d063 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4007f07a47de4a277f4760cac3aed1b31d973eea (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions