drm/amd/display: add missing function pointer for DCN321 resource
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 11 Sep 2023 21:25:58 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 21:00:22 +0000 (17:00 -0400)
commitcd1baa1f6aa307e5829b3e6c7512ec61d2b8bfb3
treee9ae592c0414f6e0d162e4845f5b9c4504f2284e
parent99c1673fd14797591d11126dd093313e8aed466c
drm/amd/display: add missing function pointer for DCN321 resource

[why]
acquire_free_pipe_as_secondary_opp_head function pointer is not
assigned. This causes ODM mode to be disabled after enabling
windowed MPO ODM capability on DCN321.

[how]
assign the correct function to the function pointer.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/dcn321/dcn321_resource.c