drm/amd/display: DCN2 Engine-specifc encoder allocation
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Wed, 24 Apr 2019 19:25:41 +0000 (15:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:12 +0000 (09:34 -0500)
[WHY]
From DCE110 onward, we have the ability to assign DIG BE and FE
separately for any display connector type; before, we could only do this
for DP.

Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

index ac65794c7fa66c65c1ab1f3dcb0cd01216e8c104..8b4853dd4fd48feb9bea8ea9a10ed1436d928667 100644 (file)
@@ -2446,8 +2446,9 @@ static struct resource_funcs dcn20_res_pool_funcs = {
        .set_mcif_arb_params = dcn20_set_mcif_arb_params,
 #ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT
        .add_dsc_to_stream_resource = dcn20_add_dsc_to_stream_resource,
-       .remove_dsc_from_stream_resource = dcn20_remove_dsc_from_stream_resource
+       .remove_dsc_from_stream_resource = dcn20_remove_dsc_from_stream_resource,
 #endif
+       .find_first_free_match_stream_enc_for_link = dce110_find_first_free_match_stream_enc_for_link
 };
 
 bool dcn20_dwbc_create(struct dc_context *ctx, struct resource_pool *pool)