]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Drop the cached per-pipe min_cdclk[] from bw state
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Mar 2025 16:25:31 +0000 (18:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Apr 2025 16:57:44 +0000 (19:57 +0300)
commit1aa4031257e6f8a3ff436a165863f40905dd3968
tree63223fc99fe84f27a5b1dea93041d4c4d904a6fe
parent38188a7f575dacba1120a59fd5d62c7f3313c0fa
drm/i915: Drop the cached per-pipe min_cdclk[] from bw state

intel_bw_crtc_min_cdclk() only depends on the pipe data rate,
which we already have stashed in bw_state->data_rate[]. So
stashing the resulting min_cdclk[] as well is redundant. Get
rid of it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250326162544.3642-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/display/intel_bw.h