]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/wm: Initialize max_latency variable to appropriate value
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 3 Dec 2024 08:47:01 +0000 (14:17 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 5 Dec 2024 03:34:28 +0000 (09:04 +0530)
commit5105c803295e4c2004aad518713208fae42bfc33
tree0ec8d63ca5ac0c7ea47919b2f510c1223f183edd
parent9bc5e7dc694d3112bbf0fa4c46ef0fa0f114937a
drm/i915/wm: Initialize max_latency variable to appropriate value

Initialize max_latency variable to LNL_PKG_C_LATENCY_MASK which helps
to eliminate the else block and make the whole code a lot cleaner.

--v2
-Seprate patch to club variables together [Mitul]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241203084706.2126189-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/skl_watermark.c