From: Sonika Jindal Date: Mon, 21 Jul 2014 09:53:45 +0000 (+0530) Subject: drm/i915: Avoid incorrect returning for some platforms X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f227ae9e7692b2dbb4a7d868cdcbdbfee9dffc6d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Avoid incorrect returning for some platforms Signed-off-by: Sonika Jindal Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 228489cf2039..c6601c10c80c 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -882,7 +882,7 @@ static bool hdmi_12bpc_possible(struct intel_crtc *crtc) struct intel_encoder *encoder; int count = 0, count_hdmi = 0; - if (!HAS_PCH_SPLIT(dev)) + if (HAS_GMCH_DISPLAY(dev)) return false; list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.head) {