summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn321
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2023-09-11 17:25:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-09-26 17:00:22 -0400
commitcd1baa1f6aa307e5829b3e6c7512ec61d2b8bfb3 (patch)
treee9ae592c0414f6e0d162e4845f5b9c4504f2284e /drivers/gpu/drm/amd/display/dc/dcn321
parent99c1673fd14797591d11126dd093313e8aed466c (diff)
downloadlinux-stable-cd1baa1f6aa307e5829b3e6c7512ec61d2b8bfb3.tar.gz
linux-stable-cd1baa1f6aa307e5829b3e6c7512ec61d2b8bfb3.tar.bz2
linux-stable-cd1baa1f6aa307e5829b3e6c7512ec61d2b8bfb3.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn321')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
index 7d40fb6156f3..f11ff6f071e2 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
@@ -1589,6 +1589,7 @@ static struct resource_funcs dcn321_res_pool_funcs = {
.calculate_wm_and_dlg = dcn32_calculate_wm_and_dlg,
.populate_dml_pipes = dcn32_populate_dml_pipes_from_context,
.acquire_free_pipe_as_secondary_dpp_pipe = dcn32_acquire_free_pipe_as_secondary_dpp_pipe,
+ .acquire_free_pipe_as_secondary_opp_head = dcn32_acquire_free_pipe_as_secondary_opp_head,
.release_pipe = dcn20_release_pipe,
.add_stream_to_ctx = dcn30_add_stream_to_ctx,
.add_dsc_to_stream_resource = dcn20_add_dsc_to_stream_resource,