summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
diff options
context:
space:
mode:
authorBayan Zabihiyan <bayan.zabihiyan@amd.com>2019-07-26 11:10:11 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-23 11:42:58 -0500
commit5e1613e21fc1ea5c0888f4c858aa220ff8464d53 (patch)
treef51e5ba2b39fc08ccc3ed7d0f8236da4aa5218b3 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
parentc0358809d49129d9a031de2fec152e4a2b75138e (diff)
downloadlinux-stable-5e1613e21fc1ea5c0888f4c858aa220ff8464d53.tar.gz
linux-stable-5e1613e21fc1ea5c0888f4c858aa220ff8464d53.tar.bz2
linux-stable-5e1613e21fc1ea5c0888f4c858aa220ff8464d53.zip
drm/amd/display: add Cursor Degamma logic for DCN2
[Why] We need to have the ability to to tell us set degamma on the cursor. [How] Pass a flag down to register programming that tells us if the current surface format needs cursor degamma. Signed-off-by: Bayan Zabihiyan <bayan.zabihiyan@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
index 8a5517eebb7c..e2c613611ac9 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
@@ -1368,7 +1368,7 @@ enum dcn10_input_csc_select {
void dpp1_set_cursor_attributes(
struct dpp *dpp_base,
- enum dc_cursor_color_format color_format);
+ struct dc_cursor_attributes *cursor_attributes);
void dpp1_set_cursor_position(
struct dpp *dpp_base,