]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/alpm: Replace hardcoded LFPS cycle with proper calculation
authorJouni Högander <jouni.hogander@intel.com>
Fri, 29 Aug 2025 05:39:27 +0000 (08:39 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Fri, 5 Sep 2025 05:35:46 +0000 (08:35 +0300)
commitcc2189a97848a41d107c03da6ddd93d94ad27e77
tree2eacb621c6592f8c1b5777927bc57f1a7d730f8d
parente9c62c8654875bb583fa07701e3921540550a379
drm/i915/alpm: Replace hardcoded LFPS cycle with proper calculation

Currently LFPS is hadcoded for different port clocks. Replace this with
proper calculation.

v2: replace hardcoded 20 with 2 * LFPS_CYCLE_COUNT

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://lore.kernel.org/r/20250829053929.3585636-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c