]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add opp recout adjustment
authorNavid Assadian <Navid.Assadian@amd.com>
Mon, 20 Jan 2025 17:35:23 +0000 (12:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 16:44:01 +0000 (11:44 -0500)
commitfba4d19f3731483ee8565f9e9bb7ed9fc89479e8
treeac57da0ae1509fc177dd88642cffde86c2ef59bf
parent86f06bcbb54e93f3c7b5e22ae37e72882b74c4b0
drm/amd/display: Add opp recout adjustment

[Why]
For subsampled YUV output formats, more pixels can get fetched and be
used for scaling.

[How]
Add the adjustment to the calculated recout, so the viewport covers the
corresponding pixels on the source plane.

Signed-off-by: Navid Assadian <Navid.Assadian@amd.com>
Reviewed-by: Samson Tam <Samson.Tam@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/sspl/dc_spl.c
drivers/gpu/drm/amd/display/dc/sspl/dc_spl_types.h