diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2083-drm-amd-display-Use-stream-opp_id-instead-of-hubp.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2083-drm-amd-display-Use-stream-opp_id-instead-of-hubp.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2083-drm-amd-display-Use-stream-opp_id-instead-of-hubp.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2083-drm-amd-display-Use-stream-opp_id-instead-of-hubp.patch new file mode 100644 index 00000000..a1853bb8 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2083-drm-amd-display-Use-stream-opp_id-instead-of-hubp.patch @@ -0,0 +1,48 @@ +From f9b3f74abea0fb4b1e9793f90cac25c3929d1723 Mon Sep 17 00:00:00 2001 +From: Wesley Chalmers <Wesley.Chalmers@amd.com> +Date: Wed, 29 May 2019 14:38:53 -0400 +Subject: [PATCH 2083/2940] drm/amd/display: Use stream opp_id instead of hubp + +[WHY] +By the time output csc matrix is being programmed, stream connection to +OPP has been established, but this information has not been relayed back +to HUBP. + +Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> +Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> +Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +Acked-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c +index 0d9942151563..d14927c91de2 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c +@@ -463,7 +463,7 @@ bool dc_stream_program_csc_matrix(struct dc *dc, struct dc_stream_state *stream) + pipes, + stream->output_color_space, + stream->csc_color_matrix.matrix, +- pipes->plane_res.hubp ? pipes->plane_res.hubp->opp_id : 0); ++ pipes->stream_res.opp->inst); + ret = true; + } + } +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +index 134f3bc74c35..4a3e31e06f34 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +@@ -2168,7 +2168,7 @@ void update_dchubp_dpp( + pipe_ctx, + pipe_ctx->stream->output_color_space, + pipe_ctx->stream->csc_color_matrix.matrix, +- hubp->opp_id); ++ pipe_ctx->stream_res.opp->inst); + } + + if (plane_state->update_flags.bits.full_update || +-- +2.17.1 + |