]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Avoid triggering unwanted cdclk changes due to dbuf bandwidth changes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Mar 2025 16:25:35 +0000 (18:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Apr 2025 16:58:47 +0000 (19:58 +0300)
commit074c31271a1d9ec74c5a1965589671337be11d0f
treed8e5632dad656c9d8948f1dc4a1de3fe5af0cdeb
parent18e6866615698f9dd714e47353022bd597a90a57
drm/i915: Avoid triggering unwanted cdclk changes due to dbuf bandwidth changes

Currently intel_bw_calc_min_cdclk() always adds the bw_state
to the atomic state. Not only does it result in potentially
redundant work later, it's also currently causing unwanted cdclk
changes during driver load.

Check if the dbuf bw is actually changing before we decide to
pull in the bw state.

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