drm/amd/display: always use mpc factor of 2 for stereo timings
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 2 Nov 2023 19:02:42 +0000 (15:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:48:59 +0000 (16:48 -0500)
commit1290183db494641772c18d063c34e9c8f720c61c
tree7eb62b1e6e19e3132c8dfd88b13f91ce3f322e60
parentcfab803884f426b36b58dbe1f86f99742767c208
drm/amd/display: always use mpc factor of 2 for stereo timings

[why]
In the new pipe resource management logic, the special handling for
stereo timings is missing.
This commit implements the same stereo timings handling as old
pipe resource management code.

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h