diff options
author | Eric Bernstein <eric.bernstein@amd.com> | 2017-10-31 11:52:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 12:47:28 -0500 |
commit | 6d56c5733282adb608795f1afe763988ba035218 (patch) | |
tree | 51def75246a6a1c4e2cbd0f666d1e1f57ef37bb1 /drivers/gpu/drm/amd/display/dc/inc/hw | |
parent | 63340ae9a612063975d661369d07bae499e5e8ba (diff) | |
download | linux-6d56c5733282adb608795f1afe763988ba035218.tar.gz linux-6d56c5733282adb608795f1afe763988ba035218.tar.bz2 linux-6d56c5733282adb608795f1afe763988ba035218.zip |
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')
-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 |