]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add check for validating unsupported ODM plus MPO case
authorJaehyun Chung <jaehyum.chung@amd.com>
Thu, 22 Jul 2021 18:15:11 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 01:17:58 +0000 (21:17 -0400)
commite13c2ea2f522fecb7b2de4342e4fa10d6e15c26d
treed503efe124d0d775f1bba2fc20ddd0434a58a0ad
parentf39b21c499585b822da3975a7651007acf012f09
drm/amd/display: Add check for validating unsupported ODM plus MPO case

[Why]
We do not currently support ODM plus MPO on only one side of the
screen. This unsupported case causes validation calculations to
divide by zero due to invalid viewport values.

[How]
Add stopgap for the validation of ODM plus MPO on one side of
screen case.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Jaehyun Chung <jaehyum.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c