drm/i915: Add missing vbt check.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 12 Jan 2015 18:14:31 +0000 (10:14 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Jan 2015 00:36:30 +0000 (01:36 +0100)
Let's respect vbt full_link (link_standby) on source side as well.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_psr.c

index 0af89dbbe4c874ecc348b128ce849fc259e21110..20db835493008d1e34cd6d33923957e8e7201693 100644 (file)
@@ -226,7 +226,7 @@ static void hsw_psr_enable_source(struct intel_dp *intel_dp)
                               dev_priv->vbt.psr.idle_frames + 1 : 2;
        uint32_t val = 0x0;
        const uint32_t link_entry_time = EDP_PSR_MIN_LINK_ENTRY_TIME_8_LINES;
-       bool only_standby = false;
+       bool only_standby = dev_priv->vbt.psr.full_link;
 
        if (IS_BROADWELL(dev) && dig_port->port != PORT_A)
                only_standby = true;