summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2020-02-05 20:47:41 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-02-25 11:05:35 -0500
commitaccde06fcb7fd82abdfa77ecf4dc63d724a6d9bf (patch)
tree80951f9aa1cc311c9a520c475cea867905fa90eb /drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
parent63a85ff6c35d8a7aaf0fb60ddbab93530d495bf3 (diff)
downloadlinux-accde06fcb7fd82abdfa77ecf4dc63d724a6d9bf.tar.gz
linux-accde06fcb7fd82abdfa77ecf4dc63d724a6d9bf.tar.bz2
linux-accde06fcb7fd82abdfa77ecf4dc63d724a6d9bf.zip
drm/amd/display: Add function pointers for panel related hw functions
[Why] Make panel backlight and power on/off functions into hardware specific function pointers [How] Add function pointers for panel related hw functions - is_panel_powered_on - is_panel_backlight_on Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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_sequencer_private.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
index ecf566378ccd..c5511e6157af 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
@@ -97,6 +97,8 @@ struct hwseq_private_funcs {
struct dc *dc);
void (*edp_backlight_control)(struct dc_link *link,
bool enable);
+ bool (*is_panel_backlight_on)(struct dc_link *link);
+ bool (*is_panel_powered_on)(struct dc_link *link);
void (*setup_vupdate_interrupt)(struct dc *dc,
struct pipe_ctx *pipe_ctx);
bool (*did_underflow_occur)(struct dc *dc, struct pipe_ctx *pipe_ctx);