diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2024-01-30 10:34:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-23 11:25:08 +0300 |
commit | 482cda9e50dedda43695fe52410add03cc146a30 (patch) | |
tree | 98151abdb072fbaa64f778fad09f929ff9813824 /mm/debug.c | |
parent | 7fc395f0f562f721b57533b491ac2af9fac1d948 (diff) | |
download | linux-482cda9e50dedda43695fe52410add03cc146a30.tar.xz |
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>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions