summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h
diff options
context:
space:
mode:
authorabdoulaye berthe <abdoulaye.berthe@amd.com>2019-07-18 15:58:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-10-17 16:24:56 -0400
commitf6040a439f9b6d9f90b7d4ef56762f412dfd1f9d (patch)
tree9168e1e74f552b70435d6cf3ff569c2616342d8b /drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h
parent8276dd871fd4240037cffb3904eda2dfe028fd85 (diff)
downloadlinux-f6040a439f9b6d9f90b7d4ef56762f412dfd1f9d.tar.gz
linux-f6040a439f9b6d9f90b7d4ef56762f412dfd1f9d.tar.bz2
linux-f6040a439f9b6d9f90b7d4ef56762f412dfd1f9d.zip
drm/amd/display: configurable aux timeout support
[Description] 1-add configurable timeout support to aux engine. 2-add timeout support field to dc_caps 3-add reg_key to override extended timeout support Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h b/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h
index e79cd4e92919..e77b3a76766d 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h
@@ -140,6 +140,9 @@ struct write_command_context {
struct aux_engine_funcs {
+ bool (*configure_timeout)(
+ struct ddc_service *ddc,
+ uint32_t timeout);
void (*destroy)(
struct aux_engine **ptr);
bool (*acquire_engine)(