diff options
author | Bing Guo <bing.guo@amd.com> | 2021-01-08 01:39:13 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-21 00:38:21 +0300 |
commit | 4ef37e2703d97878a44687878cc7145777da335e (patch) | |
tree | b4cb5b47c55747ec6a93491a2106a69c9b74b141 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 64ff0882426e563ff19d6068cb674594c95b6aa8 (diff) | |
download | linux-4ef37e2703d97878a44687878cc7145777da335e.tar.xz |
drm/amd/display: Fix dml20v2_ModeSupportAndSystemConfigurationFull() to check DesiredBPP.
Why:
dml20v2_ModeSupportAndSystemConfigurationFull() didn't check against
DesiredBPP, so it doesn't work correctly when DesiredBPP can't be satisfied.
How:
Port the TruncToValidBPP() version from display_mode_vba_21.c to
display_mode_vba_20v2.c.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Bing Guo <bing.guo@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <anson.jacob@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