drm/amd/display: Add dsc_to_stream_resource for dcn3
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Mon, 17 Aug 2020 19:26:41 +0000 (15:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Aug 2020 22:20:11 +0000 (18:20 -0400)
commitc80e966b54096e50264af62a350c621708a4fcd2
treea03b9154804dfcf7bd58d9bc07e56035efa63905
parent5960e02290357504b18f79fdda6de2f4d4812926
drm/amd/display: Add dsc_to_stream_resource for dcn3

Without this, enabling dsc will cause a nullptr

Reviewed-by: Mikita Lipski <Mikita.Lipski@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c