On Tue, Oct 07, 2014 at 08:13:53AM -0400, [email protected] wrote:
> >Synopsis:    drm giving errors, startx freezes machine
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 5.6
>       Details     : OpenBSD 5.6-current (GENERIC) #0: Sat Oct  4 22:36:11 EDT 
> 2014
>                        root@node02:/usr/src/sys/arch/i386/compile/GENERIC
> 
>       Architecture: OpenBSD.i386
>       Machine     : i386
> >Description:
>         drm giving 2 error messages (multiple times, see dmesg below):
>       error: [drm:pid0:drm_edid_block_valid] *ERROR* EDID checksum is 
> invalid, remainder is 130
>       error: [drm:pid0:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
>       these seem to have started around 5.4. 5.2 didn't give any errors, and
>       i checked a 5.3 kernel (the last with no errors, dmesg at end)
> 
>       also, startx freezes shortly after starting. the first time it showed
>       the little grid in the lower right hand corner, then gave a non-solid
>       blue background, and froze. the second time it showed the little grid,
>       a black background, and the curser. i moved the cursor and it froze.
>       i don't know if this is related as i didn't run X on this machine
>       before, but this seems hardware related. it may just be coincidence.
> 
>       it's totally frozen. no console or ping response .
> >How-To-Repeat:
>       (for drm errors) just boot any kernel since 5.4
> >Fix:
>       unknown

Can you try the following patch?  It seems the quirks got removed
for i830/i845 in later versions of the code:

commit 0e8abc81bf4b54a01bb026ba4d883de7c415cc03
Author: Daniel Vetter <[email protected]>
Date:   Mon Jun 2 17:57:18 2014 +0200

    drm/i915: Nuke pipe A quirk on i830M
    
    Apparently it does more harm than good. Thomas Richter reports that
    it helps his machine (Thinkpad X31) and there's another report from a
    Fujitsu S6010. Also, we've nuked it on i845G already to make Chris'
    machine happy.
    
    Cc: Thomas Richter <[email protected]>
    References: 
http://mid.mail-archive.com/[email protected]
    Signed-off-by: Daniel Vetter <[email protected]>

commit a4945f9522d27e1e6d64a02ad055e83768cb0896
Author: Chris Wilson <[email protected]>
Date:   Tue Oct 8 11:16:59 2013 +0100

    drm/i915: Undo the PIPEA quirk for i845
    
    The PIPEA quirk is specifically for the issue with the PIPEB PLL on
    830gm being slaved to the PIPEA PLL, and so to use PIPEB requires PIPEA
    running. i845 doesn't even have the second PLL or pipe, and enabling
    the quirk results in a blank DVO LVDS.
    
    Signed-off-by: Chris Wilson <[email protected]>
    Signed-off-by: Daniel Vetter <[email protected]>


Index: sys/dev/pci/drm/i915/intel_display.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/intel_display.c,v
retrieving revision 1.36
diff -u -p -r1.36 intel_display.c
--- sys/dev/pci/drm/i915/intel_display.c        21 Jun 2014 05:38:28 -0000      
1.36
+++ sys/dev/pci/drm/i915/intel_display.c        7 Oct 2014 11:31:10 -0000
@@ -9016,10 +9016,6 @@ static struct intel_quirk intel_quirks[]
        /* ThinkPad T60 needs pipe A force quirk (bug #16494) */
        { 0x2782, 0x17aa, 0x201a, quirk_pipea_force },
 
-       /* 830/845 need to leave pipe A & dpll A up */
-       { 0x2562, PCI_ANY_ID, PCI_ANY_ID, quirk_pipea_force },
-       { 0x3577, PCI_ANY_ID, PCI_ANY_ID, quirk_pipea_force },
-
        /* Lenovo U160 cannot use SSC on LVDS */
        { 0x0046, 0x17aa, 0x3920, quirk_ssc_force_disable },
 

Reply via email to