[PATCH] drm/amd/display: Add dsc_to_stream_resource for dcn3
Alex Deucher
alexdeucher at gmail.com
Mon Aug 17 19:49:54 UTC 2020
On Mon, Aug 17, 2020 at 3:33 PM Bhawanpreet Lakha
<Bhawanpreet.Lakha at amd.com> wrote:
>
> Without this, enabling dsc will cause a nullptr
>
> Reviewed-by: Mikita Lipski <Mikita.Lipski at amd.com>
> Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> index 1ee9087eec76..957fc37b971e 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> @@ -2424,6 +2424,7 @@ static const struct resource_funcs dcn30_res_pool_funcs = {
> .populate_dml_pipes = dcn30_populate_dml_pipes_from_context,
> .acquire_idle_pipe_for_layer = dcn20_acquire_idle_pipe_for_layer,
> .add_stream_to_ctx = dcn30_add_stream_to_ctx,
> + .add_dsc_to_stream_resource = dcn20_add_dsc_to_stream_resource,
> .remove_stream_from_ctx = dcn20_remove_stream_from_ctx,
> .populate_dml_writeback_from_context = dcn30_populate_dml_writeback_from_context,
> .set_mcif_arb_params = dcn30_set_mcif_arb_params,
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list