]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/lspcon: do not hardcode settle timeout
authorGiedrius Statkevičius <giedriuswork@gmail.com>
Thu, 17 Oct 2024 07:57:24 +0000 (10:57 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 27 Jan 2025 19:54:46 +0000 (14:54 -0500)
commit2e0727c347467775a2dfa7d850a3a029f3212e58
tree67c8ac3e415ea5d5363ab49e457fe22c97da5608
parentf14d81b7102bdbf062f90b3910e986850f5f86c2
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>
drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
drivers/gpu/drm/i915/display/intel_lspcon.c
include/drm/display/drm_dp_dual_mode_helper.h