]> 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)
commit0ea256df8343da8369798cf9db91b1c2c5bcb41a
treef70fa21d4cca5b7e47c6cb36182a21a07e0ece7e
parent1dfd91905d3129b24d48f6488ed9002cc716a185
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