]> git.itanic.dy.fi Git - linux-stable/commit
drm/i915/display: Check async flip state of every crtc and plane once
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 29 Oct 2021 20:24:32 +0000 (13:24 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 1 Nov 2021 17:36:40 +0000 (10:36 -0700)
commit0826edb6a5e5b32d38b89d2df3d74c4dac8828dc
tree7ce462fdd1fe03bb26f07452ce1b31cb31f915a5
parent49c55f7b035b87371a6d3c53d9af9f92ddc962db
drm/i915/display: Check async flip state of every crtc and plane once

For every crtc in state, intel_atomic_check_async() was checking all
the crtc and plane states again.

v2: comparing pipe ids instead of crtc pointers when iterating over
planes

Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211029202432.140745-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_display.c