Skip to content

Commit

Permalink
drm/i915: rename has_edp_a() to ilk_has_edp_a()
Browse files Browse the repository at this point in the history
Clarify that the name is specific to ILK+ PCH platforms.

v2: prefix the name with ilk rather than pch (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190122082307.4003-5-jani.nikula@intel.com
  • Loading branch information
Jani Nikula committed Jan 24, 2019
1 parent d652146 commit a5916fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -14231,7 +14231,7 @@ static int intel_encoder_clones(struct intel_encoder *encoder)
return index_mask;
}

static bool has_edp_a(struct drm_i915_private *dev_priv)
static bool ilk_has_edp_a(struct drm_i915_private *dev_priv)
{
if (!IS_MOBILE(dev_priv))
return false;
Expand Down Expand Up @@ -14388,7 +14388,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)

dpd_is_edp = intel_dp_is_port_edp(dev_priv, PORT_D);

if (has_edp_a(dev_priv))
if (ilk_has_edp_a(dev_priv))
intel_dp_init(dev_priv, DP_A, PORT_A);

if (I915_READ(PCH_HDMIB) & SDVO_DETECTED) {
Expand Down

0 comments on commit a5916fd

Please sign in to comment.