diff options
author | Eric Bernstein <eric.bernstein@amd.com> | 2017-10-31 18:52:25 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 20:47:28 +0300 |
commit | 6d56c5733282adb608795f1afe763988ba035218 (patch) | |
tree | 51def75246a6a1c4e2cbd0f666d1e1f57ef37bb1 /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | |
parent | 63340ae9a612063975d661369d07bae499e5e8ba (diff) | |
download | linux-6d56c5733282adb608795f1afe763988ba035218.tar.xz |
drm/amd/display: Add OPP DPG blank function
Added a function to blank data using OPP DPG.
Clean up code to prepare for pseudocode review with HW.
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.h | 6 |
1 files changed, 6 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 75adb8fec551..8141b677fda9 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h @@ -284,6 +284,12 @@ struct opp_funcs { void (*opp_set_test_pattern)( struct output_pixel_processor *opp, bool enable); + + void (*opp_dpg_blank_enable)( + struct output_pixel_processor *opp, + bool enable, + int width, + int height); }; #endif |