diff options
author | Anthony Koo | 2017-10-23 23:02:02 +0200 |
---|---|---|
committer | Alex Deucher | 2017-12-04 22:41:37 +0100 |
commit | 56ef6ed9faf35b9057630dd12aeca134f98214ec (patch) | |
tree | fc30c3cca8d1c828a3e219d97e1e824644d4da77 /drivers/gpu/drm/amd/display/dc/dcn10 | |
parent | drm/amd/display: Apply VQ adjustments in MPO case (diff) | |
download | kernel-qcow2-linux-56ef6ed9faf35b9057630dd12aeca134f98214ec.tar.gz kernel-qcow2-linux-56ef6ed9faf35b9057630dd12aeca134f98214ec.tar.xz kernel-qcow2-linux-56ef6ed9faf35b9057630dd12aeca134f98214ec.zip |
drm/amd/display: Move hdr_metadata from plane to stream
Need to move HDR Metadata from Surface to Stream since there is only one
infoframe possible per stream.
Also cleaning up some duplicate definitions.
Signed-off-by: Anthony Koo <anthony.koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 cf594fb44328..adabd2ad5594 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 @@ -1556,8 +1556,7 @@ static void program_csc_matrix(struct pipe_ctx *pipe_ctx, int i; struct out_csc_color_matrix tbl_entry; - if (pipe_ctx->stream->csc_color_matrix.enable_adjustment - == true) { + if (pipe_ctx->stream->csc_color_matrix.enable_adjustment == true) { enum dc_color_space color_space = pipe_ctx->stream->output_color_space; |