r296548 breaks external DP and HDMI on HD4000

From: Ian FREISLICH <ian.freislich_at_capeaugusta.com>
Date: Mon, 14 Mar 2016 13:59:18 -0400
Hi

With r296548 on the following hardware:

vgapci0_at_pci0:0:2:0:     class=0x030000 card=0x15171043 chip=0x01668086
rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3rd Gen Core processor Graphics Controller'
    class      = display
    subclass   = VGA
    cap 05[90] = MSI supports 1 message enabled with 1 message
    cap 01[d0] = powerspec 2  supports D0 D3  current D0
    cap 13[a4] = PCI Advanced Features: FLR TP

I get the following console messages when X starts and my external
monitor (Samsung U28E590) goes into epileptic fit attack mode.

[drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
[drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck
[drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON:
I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail!
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail!

The good news is that I no longer need the following hack to turn on the
back light this laptop's LVDS display:

Index: sys/dev/drm2/i915/intel_display.c
===================================================================
--- sys/dev/drm2/i915/intel_display.c   (revision 296547)
+++ sys/dev/drm2/i915/intel_display.c   (working copy)
_at__at_ -6960,7 +6960,7 _at__at_
         */
        I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
        I915_WRITE(BLC_PWM_CPU_CTL, 0);
-       I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
+       I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30));
 }
 
 void intel_modeset_init_hw(struct drm_device *dev)

-- 
Ian Freislich


-- 
 

Cape Augusta Digital Properties, LLC a Cape Augusta Company

*Breach of confidentiality & accidental breach of confidentiality *

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
Received on Mon Mar 14 2016 - 16:59:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC