summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
diff options
context:
space:
mode:
authorEric Bernstein <eric.bernstein@amd.com>2017-11-18 01:21:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-14 18:53:59 +0300
commitf7f36c1f547751d1ea8b45f4b9dfa4a65ec271fb (patch)
tree1939897b407ad62a2c72f382584ca214711a5639 /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
parentb629596072e5fa901c84f9e88d845a696ee32942 (diff)
downloadlinux-f7f36c1f547751d1ea8b45f4b9dfa4a65ec271fb.tar.xz
drm/amd/display: OPP DPG test pattern
Create opp_set_test_pattern function with similar interface and implementation as timing generator test pattern. Signed-off-by: Eric Bernstein <eric.bernstein@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/inc/hw/opp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/opp.h5
1 files changed, 4 insertions, 1 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 8c3a302fcd65..42f2bb29a5fc 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
@@ -284,7 +284,10 @@ struct opp_funcs {
void (*opp_set_test_pattern)(
struct output_pixel_processor *opp,
- bool enable);
+ enum controller_dp_test_pattern test_pattern,
+ enum dc_color_depth color_depth,
+ int width,
+ int height);
void (*opp_dpg_blank_enable)(
struct output_pixel_processor *opp,