diff options
author | Dmytro Laktyushkin <[email protected]> | 2021-05-10 10:19:18 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-05-27 12:26:17 -0400 |
commit | 6566cae7aef30da8833f1fa0eb854baf33b96676 (patch) | |
tree | f8d81c82314543caf651219cf43461f6546adab8 /drivers/fpga/fpga-bridge.c | |
parent | 998b7ad2efd4c54a6317344c59abc64e9a3b3086 (diff) |
drm/amd/display: fix odm scaling
There are two issues with scaling calculations, odm recout
calculation and matching viewport to actual recout.
This change fixes both issues. Odm recout calculation via
special casing and viewport matching issue by reworking
the viewport calcualtion to use scaling ratios and recout
to derrive the required offset and size.
Signed-off-by: Dmytro Laktyushkin <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions