On Thu, May 31, 2018 at 02:56:21PM +0300, Jani Nikula wrote: > Virtualized non-PCH systems such as Broxton or Geminilake should use > PCH_NONE to indicate no PCH rather than PCH_NOP. The latter is a > specific case to indicate a PCH system without south display. Then let's go ahead and document it? ------------- Subject: [PATCH] drm/i915: document PCH_NOP There's a difference between PCH_NONE and PCH_NOP: the former means we don't have a PCH while in the latter we do, but it doesn't have the south display. Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> --- drivers/gpu/drm/i915/i915_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 72150f89f200..aa395a898258 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -631,7 +631,7 @@ enum intel_pch { PCH_KBP, /* Kaby Lake PCH */ PCH_CNP, /* Cannon Lake PCH */ PCH_ICP, /* Ice Lake PCH */ - PCH_NOP, + PCH_NOP, /* PCH without south display */ }; enum intel_sbi_destination { -- Feel free to squash something like that if you agree. Lucas De Marchi > > Reported-by: Colin Xu <Colin.Xu@xxxxxxxxx> > Cc: Colin Xu <Colin.Xu@xxxxxxxxx> > Reviewed-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c > index 8f002ae22e62..c42e389a27f3 100644 > --- a/drivers/gpu/drm/i915/i915_drv.c > +++ b/drivers/gpu/drm/i915/i915_drv.c > @@ -287,7 +287,7 @@ static void intel_detect_pch(struct drm_i915_private *dev_priv) > if (WARN_ON(pch_type == PCH_NONE)) > pch_type = PCH_NOP; > } else { > - pch_type = PCH_NOP; > + pch_type = PCH_NONE; > } > dev_priv->pch_type = pch_type; > dev_priv->pch_id = id; > -- > 2.11.0 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx