drm/i915/display: Avoid unnecessarily calling intel_cx0_get_owned_lane_mask
authorJouni Högander <jouni.hogander@intel.com>
Tue, 22 Jul 2025 12:56:16 +0000 (15:56 +0300)
committerTvrtko Ursulin <tursulin@ursulin.net>
Tue, 29 Jul 2025 09:20:33 +0000 (10:20 +0100)
commitc338923c4c8a89bb81f585732b9b49fcf9465cdd
tree8ebcd7e58dc84a0372992f01948707ed5f12b393
parenta045246b684badf0545f252651bdc008b2e80835
drm/i915/display: Avoid unnecessarily calling intel_cx0_get_owned_lane_mask

Currently we are always calling intel_cx0_get_owned_lane_mask when
intel_lnl_mac_transmit_lfps is called. Avoid this in cases where it's not
needed.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20250722125618.1842615-3-jouni.hogander@intel.com
(cherry picked from commit d487ed7e2b4ab3126239ab93324405eb1e45ccf5)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
drivers/gpu/drm/i915/display/intel_cx0_phy.c