]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19e72cb9ca42a4b18e486a712e67f60fc55dbb41
treebae20fa3ff6a9ee818b279c4419488308cb43ccd
parent9280274e5690591a5db45932e6d39f1dcf69e5cd
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