drm/i915: Avoid incorrect returning for some platforms
authorSonika Jindal <sonika.jindal@intel.com>
Mon, 21 Jul 2014 09:53:45 +0000 (15:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:44 +0000 (07:05 +0200)
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c

index 228489cf203947958b674ffaa9f72c8d1f89c4cc..c6601c10c80c80008d6cb182eb1ad67a15688dc1 100644 (file)
@@ -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) {