]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Make intel_bw_modeset_checks() internal to intel_bw_atomic_check()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Mar 2025 16:25:42 +0000 (18:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Apr 2025 17:02:18 +0000 (20:02 +0300)
commit4d5204b3045473cc007aa119e6501db367979aa6
tree6e0e863f02b2372c587042c5dab08713c6811aaa
parentd1381206b13cbfa276dab0f399f3a46757c59f54
drm/i915: Make intel_bw_modeset_checks() internal to intel_bw_atomic_check()

Now that all the sagv computation has been moved from the
skl+ watermark code into intel_bw_atomic_check() there is
no point in calling intel_bw_modeset_checks() before the
wm computation. Hide it within intel_bw_atomic_check().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250326162544.3642-13-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
drivers/gpu/drm/i915/display/intel_display.c