aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_hdmi.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-11-02 21:07:51 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-08 18:10:01 +0100
commite3c3357863db7cb8e847b3adff5b6be94cecde82 (patch)
tree8cd162a97fa83021546ca14cf226d2141bc3155f /drivers/gpu/drm/i915/intel_hdmi.c
parent0f161f7075a61700b973562b17ae9339357a5b2e (diff)
downloadlinaro-lsk-e3c3357863db7cb8e847b3adff5b6be94cecde82.tar.gz
drm/i915/bdw: Broadwell has a max port clock of 300Mhz on HDMI
Just like HSW. This means we can scan out a mode with a 300Mhz pixel clock with a depth of 24 bits, but only a 200Mhz one with a 36bits depth. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jani Nikula <jani.nikula@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 51a8336dec2..03f9ca70530 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -847,7 +847,7 @@ static int hdmi_portclock_limit(struct intel_hdmi *hdmi)
if (IS_G4X(dev))
return 165000;
- else if (IS_HASWELL(dev))
+ else if (IS_HASWELL(dev) || INTEL_INFO(dev)->gen >= 8)
return 300000;
else
return 225000;