summaryrefslogtreecommitdiff
path: root/include/drm/display/drm_dp_dual_mode_helper.h
diff options
context:
space:
mode:
authorGiedrius Statkevičius <giedriuswork@gmail.com>2024-10-17 10:57:24 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2025-01-27 14:54:46 -0500
commit2e0727c347467775a2dfa7d850a3a029f3212e58 (patch)
tree67c8ac3e415ea5d5363ab49e457fe22c97da5608 /include/drm/display/drm_dp_dual_mode_helper.h
parentf14d81b7102bdbf062f90b3910e986850f5f86c2 (diff)
drm/i915/lspcon: do not hardcode settle timeout
Avoid hardcoding the LSPCON settle timeout because it takes a longer time on certain chips made by certain vendors. Use the function that already exists to determine the timeout. Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241017075725.207384-1-giedriuswork@gmail.com Acked-by: Simona Vetter <simona.vetter@ffwll.ch> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/display/drm_dp_dual_mode_helper.h')
-rw-r--r--include/drm/display/drm_dp_dual_mode_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/display/drm_dp_dual_mode_helper.h b/include/drm/display/drm_dp_dual_mode_helper.h
index 7ee482265087..7ac6969db935 100644
--- a/include/drm/display/drm_dp_dual_mode_helper.h
+++ b/include/drm/display/drm_dp_dual_mode_helper.h
@@ -117,5 +117,5 @@ const char *drm_dp_get_dual_mode_type_name(enum drm_dp_dual_mode_type type);
int drm_lspcon_get_mode(const struct drm_device *dev, struct i2c_adapter *adapter,
enum drm_lspcon_mode *current_mode);
int drm_lspcon_set_mode(const struct drm_device *dev, struct i2c_adapter *adapter,
- enum drm_lspcon_mode reqd_mode);
+ enum drm_lspcon_mode reqd_mode, int time_out);
#endif