aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
diff options
context:
space:
mode:
authorArun Pandey <[email protected]>2017-11-08 09:02:55 +0000
committerAlex Deucher <[email protected]>2017-12-06 17:47:42 +0000
commite994340bfa57d96bfbd9e66bf802ea82b4ba56fc (patch)
tree43e2017a1b003966747b81ff35f0e939b7296f3b /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
parentdrm/amd/display: fix plane update prior to stream enablement (diff)
downloadkernel-e994340bfa57d96bfbd9e66bf802ea82b4ba56fc.tar.gz
kernel-e994340bfa57d96bfbd9e66bf802ea82b4ba56fc.zip
drm/amd/display: Added Opp and Diags Interface for P to I
Signed-off-by: Arun Pandey <[email protected]> Reviewed-by: Charlene Liu <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/opp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/opp.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
index cd6b0d4cd457..579d1059a3d4 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
@@ -281,6 +281,21 @@ struct opp_funcs {
bool enable,
bool rightEyePolarity);
+ void (*opp_set_test_pattern)(
+ struct output_pixel_processor *opp,
+ bool enable);
+
+ void (*opp_dpg_blank_enable)(
+ struct output_pixel_processor *opp,
+ bool enable,
+ const struct tg_color *color,
+ int width,
+ int height);
+
+ void (*opp_convert_pti)(
+ struct output_pixel_processor *opp,
+ bool enable,
+ bool polarity);
};
#endif