]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/alpm: Remove error handling from get_lfps_cycle_min_max_time
authorJouni Högander <jouni.hogander@intel.com>
Fri, 12 Sep 2025 06:40:35 +0000 (09:40 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 18 Sep 2025 05:55:15 +0000 (08:55 +0300)
commitfcf2af765c1e4f47f2fc8aa8ce7d368fc5728f46
tree28f4d2a7cc75c123826bdbb4b3390b9e2d7b6902
parent5615e78e813ee50609b94cbd6a376e29af01814f
drm/i915/alpm: Remove error handling from get_lfps_cycle_min_max_time

Getter for LFPS cycle min/max times is unnecessarily checking faulty port
clock value. This doesn't make sense as erroneous port clock value would
have been noticed already at this point. Remove this check and use 140/800
ns always when port clock > 540000.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250912064035.335329-1-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c