Tom Chung 3ca5a3cdc0 drm/amd/display: Preserve original aspect ratio in create stream
commit deb110292180cd501f6fde2a0178d65fcbcabb0c upstream.

[Why]
The original picture aspect ratio in mode struct may have chance be
overwritten with wrong aspect ratio data in create_stream_for_sink().
It will create a different VIC output and cause HDMI compliance test
failed.

[How]
Preserve the original picture aspect ratio data during create the
stream.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:12:41 +01:00
..
2023-09-19 12:27:56 +02:00
2023-03-10 09:34:33 +01:00
2022-10-05 11:24:12 -07:00
2022-08-16 12:46:26 +02:00
2024-02-23 09:12:41 +01:00
2023-11-28 17:07:03 +00:00
2023-08-30 16:10:57 +02:00
2024-01-31 16:17:08 -08:00
2024-01-25 15:27:32 -08:00
2022-08-26 14:22:59 +02:00
2023-08-30 16:10:57 +02:00
2023-05-11 23:03:07 +09:00
2022-07-13 10:54:56 +10:00
2022-06-28 07:56:32 +02:00
2023-05-30 14:03:20 +01:00
2023-02-22 12:59:46 +01:00
2022-10-07 17:04:10 -07:00