Commit 8c4bba5a authored by José Roberto de Souza's avatar José Roberto de Souza
Browse files

drm/i915/display: Add comment to a function that probably can be removed



This function is only called from port sync and it is identical to
what will be executed again in intel_update_crtc() over port sync
pipes.
If it is really necessary at least it deserves a better name and a
comment, leaving it to people working on port sync.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191223010654.67037-7-jose.souza@intel.com
parent 080d47bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14737,6 +14737,10 @@ static void intel_set_dp_tp_ctl_normal(struct intel_crtc *crtc,
	intel_dp_stop_link_train(intel_dp);
}
/*
 * TODO: This is only called from port sync and it is identical to what will be
 * executed again in intel_update_crtc() over port sync pipes
 */
static void intel_post_crtc_enable_updates(struct intel_crtc *crtc,
					   struct intel_atomic_state *state)
{