summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc
diff options
context:
space:
mode:
authorLeon Huang <Leon.Huang1@amd.com>2022-11-08 16:29:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-04-18 16:28:51 -0400
commitb8fe56375f78835db47565d91ea9d21767fe3c08 (patch)
tree5319af86cb88d7dcc1a6ae870bae5c2bcaa1a5e9 /drivers/gpu/drm/amd/display/dc/inc
parent0c1f033159712b3d071cfe4a3ec0f36f1914453b (diff)
downloadlinux-stable-b8fe56375f78835db47565d91ea9d21767fe3c08.tar.gz
linux-stable-b8fe56375f78835db47565d91ea9d21767fe3c08.tar.bz2
linux-stable-b8fe56375f78835db47565d91ea9d21767fe3c08.zip
drm/amd/display: Refactor ABM feature
[Why] Refactor ABM feature and implement inbox command for DMUB. [How] Implement the ioctl to send inbox command to DMUB. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Leon Huang <Leon.Huang1@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@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/abm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h
index ecb4191b6e64..db5cf9acafe6 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h
@@ -55,6 +55,12 @@ struct abm_funcs {
unsigned int bytes,
unsigned int inst);
bool (*set_abm_pause)(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int otg_inst);
+ bool (*set_pipe_ex)(struct abm *abm,
+ unsigned int otg_inst,
+ unsigned int option,
+ unsigned int panel_inst);
+ bool (*set_abm_event)(struct abm *abm, unsigned int full_screen, unsigned int video_mode,
+ unsigned int hdr_mode, unsigned int panel_inst);
};
#endif