]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the correct plane source width in watermark calculations
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Dec 2021 14:43:10 +0000 (16:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Jan 2022 19:18:44 +0000 (21:18 +0200)
commitf1a33d92d1434281c821560ef2aafe9e649dbe6e
treef70fa21d4cca5b7e47c6cb36182a21a07e0ece7e
parentb3f2d3961b2f8f670732901c6b599fff6770fc4f
drm/i915: Use the correct plane source width in watermark calculations

Currently we sometimes use the plane destination width, or just the
pipe src width as the plane source width in the watermark calculatons.
Use the correct thing everywhere.

v2: convert ilk cur/fbc cases too

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