]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Move the commit_tail() disable sequence to separate function
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 28 Aug 2019 22:47:01 +0000 (15:47 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Thu, 29 Aug 2019 21:15:29 +0000 (14:15 -0700)
commit0a3c360a7b4e0f3b5ca448a1a0b92057c709b254
tree0c2ac74796f6cc00f6b2a0618707fc44f5222b9c
parent5a5f8ef2a3823812b34bacdfd78c342dfc0c7a84
drm/i915/display: Move the commit_tail() disable sequence to separate function

Create a new function intel_commit_modeset_disables() consistent
with the naming in drm atomic helpers and similar to the enable function.
This helps better organize the disable sequence in atomic_commit_tail()

No functional change

v4:
* Do not create a function pointer, just a function (Maarten)
v3:
* Rebase (Manasi)
v2:
* Create a helper for old_crtc_state disables (Lucas)

Suggested-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190828224701.422-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/i915_drv.h