summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorSonika Jindal <sonika.jindal@intel.com>2014-07-21 09:53:45 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 05:05:44 (GMT)
commitf227ae9e7692b2dbb4a7d868cdcbdbfee9dffc6d (patch)
tree1cf78cece102ba11e4d972897cf70856d75774a8 /drivers/gpu/drm
parent3abfce77f7229116fa56aedfe3b79ce5ccde3d72 (diff)
downloadlinux-f227ae9e7692b2dbb4a7d868cdcbdbfee9dffc6d.tar.xz
drm/i915: Avoid incorrect returning for some platforms
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/i915/intel_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 228489c..c6601c1 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) {