mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
63a85ff6c3
commit
accde06fcb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user