drm/i915: Streamline skl_commit_modeset_enables()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Dec 2019 14:41:02 +0000 (16:41 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Dec 2019 20:57:34 +0000 (22:57 +0200)
commit601a9ee0f0c71efdd36b7fe7b053e2fb42187c7e
treebae20fa3ff6a9ee818b279c4419488308cb43ccd
parent8717c6b7414ffb890672276dccc284c23078ac0e
drm/i915: Streamline skl_commit_modeset_enables()

skl_commit_modeset_enables() is a bit of mess. Let's streamline
it by simply tracking which pipes still need to be updated.
As a bonus we get rid of the state->wm_results.dirty_pipes usage.

v2: Rebase due to port sync

Cc: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210144105.3239-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c