diff options
author | Samson Tam <Samson.Tam@amd.com> | 2024-10-19 22:07:31 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-04 11:35:35 -0500 |
commit | 9626890e56f70eeb863c2960c105afd0df0c73be (patch) | |
tree | f87e079b61707a4efb49ce460c925fedb4255081 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 69603bfcffc887fdfb5f8e877849e400958fb72d (diff) |
drm/amd/display: fix asserts in SPL during bootup
[Why]
During mode validation, there maybe modes that fail
max_downscale_src_width check and scaling_quality
taps are 0. This will cause an assert to trigger
in spl_set_filters_data() because taps are 0.
[How]
Move taps calculation for non-adaptive scaling mode
to separate function and call it
if max_downscale_src_width fails. This will
populate taps if scaling_quality taps are 0.
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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