]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Updated optc401_set_drr to use dcn401 functions
authorRelja Vojvodic <relja.vojvodic@amd.com>
Wed, 15 May 2024 18:15:48 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:13 +0000 (11:25 -0400)
commit239612c3762d280338169880aa180c4d43249fa0
tree5c1e1bb39f6c4c6d4b6f321e7cdd464688a237e0
parent2656e1ce783a90fa1aa0e11f2915d7c0442bf06f
drm/amd/display: Updated optc401_set_drr to use dcn401 functions

why:
optc_401_set_drr was using an old optc3 function to update vtotal min and max,
causing crashes when disabling FAMS2

how:
Updated dcn401 to point to opt401 function for vtotal updates. This version of
the function has FAMS2 logic that allows for FAMS2 to be disabled.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Relja Vojvodic <relja.vojvodic@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/optc/dcn401/dcn401_optc.c