diff options
author | Yue Hin Lau <Yuehin.Lau@amd.com> | 2017-12-04 16:58:11 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-20 14:48:22 -0500 |
commit | b51adc77e220ddc659db7c46270596717f50cf5c (patch) | |
tree | 0455b355083fc1dca5203dac74483753e013cdd3 /drivers/gpu/drm/amd/display/dc/inc | |
parent | 39f26499c6fff26dfa913863e6e6bc5359834b13 (diff) |
drm/amd/display: Only blank DCN when we have set_blank implementation
Also rename timing_generator to optc
Signed-off-by: Yue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@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')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 19 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 1 |
2 files changed, 1 insertions, 19 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 6da125de9507..17e143e4cb94 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h @@ -282,25 +282,6 @@ struct opp_funcs { bool enable, bool rightEyePolarity); - void (*opp_set_test_pattern)( - struct output_pixel_processor *opp, - 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, - 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 diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h index a32c745b7d88..4c0aa56f7bae 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h @@ -28,6 +28,7 @@ #include "dc_types.h" #include "clock_source.h" #include "inc/hw/timing_generator.h" +#include "inc/hw/opp.h" #include "inc/hw/link_encoder.h" #include "core_status.h" |