Commit 0c841271 authored by Manasi Navare's avatar Manasi Navare
Browse files

drm/i915/display: Rename update_crtcs() to commit_modeset_enables()

This patch has no functional changes. This just renames the update_crtcs()
hooks to commit_modeset_enables() to match the drm_atomic helper naming

* Rebase on drm-tip

Suggested-by: default avatarDaniel Vetter <>
Cc: Ville Syrjälä <>
Cc: Maarten Lankhorst <>
Cc: Matt Roper <>
Cc: Jani Nikula <>
Reviewed-by: default avatarMaarten Lankhorst <>
Signed-off-by: default avatarManasi Navare <>
parent 31444afb
......@@ -13743,7 +13743,7 @@ static void intel_update_crtc(struct intel_crtc *crtc,
intel_finish_crtc_commit(state, crtc);
static void intel_update_crtcs(struct intel_atomic_state *state)
static void intel_commit_modeset_enables(struct intel_atomic_state *state)
struct intel_crtc *crtc;
struct intel_crtc_state *old_crtc_state, *new_crtc_state;
......@@ -13758,7 +13758,7 @@ static void intel_update_crtcs(struct intel_atomic_state *state)
static void skl_update_crtcs(struct intel_atomic_state *state)
static void skl_commit_modeset_enables(struct intel_atomic_state *state)
struct drm_i915_private *dev_priv = to_i915(state->;
struct intel_crtc *crtc;
......@@ -13999,7 +13999,7 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)
/* Now enable the clocks, plane, pipe, and connectors that we set up. */
if (state->modeset) {
......@@ -15906,9 +15906,9 @@ void intel_init_display_hooks(struct drm_i915_private *dev_priv)
if (INTEL_GEN(dev_priv) >= 9)
dev_priv->display.update_crtcs = skl_update_crtcs;
dev_priv->display.commit_modeset_enables = skl_commit_modeset_enables;
dev_priv->display.update_crtcs = intel_update_crtcs;
dev_priv->display.commit_modeset_enables = intel_commit_modeset_enables;
static i915_reg_t i915_vgacntrl_reg(struct drm_i915_private *dev_priv)
......@@ -288,7 +288,7 @@ struct drm_i915_display_funcs {
struct intel_atomic_state *old_state);
void (*crtc_disable)(struct intel_crtc_state *old_crtc_state,
struct intel_atomic_state *old_state);
void (*update_crtcs)(struct intel_atomic_state *state);
void (*commit_modeset_enables)(struct intel_atomic_state *state);
void (*audio_codec_enable)(struct intel_encoder *encoder,
const struct intel_crtc_state *crtc_state,
const struct drm_connector_state *conn_state);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment