summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorYue Hin Lau2017-07-25 22:02:33 +0200
committerAlex Deucher2017-09-27 00:15:42 +0200
commitf4d5abf56b03e55f83d300324e5bf5f32431171c (patch)
treefe5b90189035e87774a1d720f1eba1820d164351 /drivers/gpu/drm
parentdrm/amd/display: Fix eDP panel light-up (diff)
downloadkernel-qcow2-linux-f4d5abf56b03e55f83d300324e5bf5f32431171c.tar.gz
kernel-qcow2-linux-f4d5abf56b03e55f83d300324e5bf5f32431171c.tar.xz
kernel-qcow2-linux-f4d5abf56b03e55f83d300324e5bf5f32431171c.zip
drm/amd/display: move ocsc programming from opp to dpp
Signed-off-by: Yue Hin Lau <Yuehin.Lau@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')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c2
1 files changed, 1 insertions, 1 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 bbe3e8705405..7c24e8f43bb1 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
@@ -1809,7 +1809,7 @@ static void program_csc_matrix(struct pipe_ctx *pipe_ctx,
tbl_entry.color_space = color_space;
//tbl_entry.regval = matrix;
- pipe_ctx->opp->funcs->opp_set_csc_adjustment(pipe_ctx->opp, &tbl_entry);
+ pipe_ctx->xfm->funcs->opp_set_csc_adjustment(pipe_ctx->xfm, &tbl_entry);
}
}
static bool is_lower_pipe_tree_visible(struct pipe_ctx *pipe_ctx)