summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYihan Zhu <Yihan.Zhu@amd.com>2025-02-12 15:17:56 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-02-25 11:45:11 -0500
commit02a940da2ccc0cc0299811379580852b405a0ea2 (patch)
tree9fae588246958a2c98a6411c1f7d0da8052b45cd /tools/perf/scripts/python
parent7c6518c1c73199a230b5fc55ddfed3e5b9dc3290 (diff)
downloadlinux-02a940da2ccc0cc0299811379580852b405a0ea2.tar.gz
linux-02a940da2ccc0cc0299811379580852b405a0ea2.zip
drm/amd/display: handle max_downscale_src_width fail check
[WHY] If max_downscale_src_width check fails, we exit early from TAP calculation and left a NULL value to the scaling data structure to cause the zero divide in the DML validation. [HOW] Call set default TAP calculation before early exit in get_optimal_number_of_taps due to max downscale limit exceed. Reviewed-by: Samson Tam <samson.tam@amd.com> Signed-off-by: Yihan Zhu <Yihan.Zhu@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')
0 files changed, 0 insertions, 0 deletions