summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_hdmi.c
diff options
context:
space:
mode:
authorSonika Jindal <sonika.jindal@intel.com>2014-07-22 07:43:46 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 07:05:46 +0200
commitb98856a86b0a44ef9d0ab61f6855baf6d941fe6f (patch)
tree28fee6d827b942cb8781f718c0c2a5734f71f891 /drivers/gpu/drm/i915/intel_hdmi.c
parentdrm/i915: Returning from increase/decrease of pllclock when invalid (diff)
downloadlinux-b98856a86b0a44ef9d0ab61f6855baf6d941fe6f.tar.xz
linux-b98856a86b0a44ef9d0ab61f6855baf6d941fe6f.zip
drm/i915: Replace HAS_PCH_SPLIT which incorrectly lets some platforms in
v2: Adding IS_G4X instead of gen < 5 as suggested by Daniel Signed-off-by: Sonika Jindal <sonika.jindal@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
-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 c6601c10c80c..d189e95fe635 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -1562,7 +1562,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,
if (IS_VALLEYVIEW(dev)) {
intel_hdmi->write_infoframe = vlv_write_infoframe;
intel_hdmi->set_infoframes = vlv_set_infoframes;
- } else if (!HAS_PCH_SPLIT(dev)) {
+ } else if (IS_G4X(dev)) {
intel_hdmi->write_infoframe = g4x_write_infoframe;
intel_hdmi->set_infoframes = g4x_set_infoframes;
} else if (HAS_DDI(dev)) {