]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Really calculate the cursor ddb based on the highest enabled wm level
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Mar 2019 17:51:28 +0000 (19:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Mar 2019 16:41:38 +0000 (18:41 +0200)
commite38b3ab1cd361a9429c4e19b08934dc406c8b841
tree5c91f1a45c44380db9d45062ce3e34a2d27195fa
parent1f4bffd0db2b83b80bf638267b2f4584309cace9
drm/i915: Really calculate the cursor ddb based on the highest enabled wm level

I added the loop but neglected to actually pass the level to the
function. So we were just looping 8 times calculating the exact
same thing every time.

Fixes: 5c6b4490b51b ("drm/i915: Allocate enough DDB for the cursor")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190321175128.32178-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_pm.c