diff options
| author | Samson Tam <Samson.Tam@amd.com> | 2025-01-21 11:01:47 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-25 11:44:02 -0500 |
| commit | 0d3004647631aedb713251525a99784661574767 (patch) | |
| tree | 8c53b69fcf470d740c666ec80ff1e562cf05f490 /scripts/stackusage | |
| parent | 26873260d394b1e33cdd720154aedf0af95327f9 (diff) | |
drm/amd/display: fix check for identity ratio
[Why]
IDENTITY_RATIO check uses 2 bits for integer, which only allows
checking downscale ratios up to 3. But we support up to 6x
downscale
[How]
Update IDENTITY_RATIO to check 3 bits for integer
Add ASSERT to catch if we downscale more than 6x
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Reviewed-by: Jun Lei <jun.lei@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
