]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Fix recout calculation for stereo side-by-side
authorSung Joon Kim <sungjoon.kim@amd.com>
Thu, 11 Apr 2024 19:28:08 +0000 (15:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:48:55 +0000 (09:48 -0400)
commit2862b1637ea2bdaaf13d9b5e3635c096297a0f1d
tree4890dbd8c23a998c3a7b57febef6a17028cc6515
parente7f5f9d6222ec9264b160b622544cd7e1091e4b4
drm/amd/display: Fix recout calculation for stereo side-by-side

[why & how]
The recout x offset was incorrect which led to
wrong viewport calculation. For stereo
side-by-side case, the slice index should be
0 for both split pipes.

Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c