mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 01:26:19 +07:00
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> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
910954da2c
commit
c08264876f
@ -457,7 +457,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;
|
||||
}
|
||||
}
|
||||
|
@ -2169,7 +2169,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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user