rebuilt a kernel with DRMDEBUG, results attached below.

On Fri, 10 Oct 2014 15:20:45 +1100 Jonathan Gray <j...@jsg.id.au> wrote:
> On Fri, Oct 10, 2014 at 12:02:14AM -0400, thev...@openmailbox.org wrote:
> > > [drm:pid0:drm_edid_block_valid] *ERROR* EDID checksum is invalid, 
> > > remainder is 130
> > 
> > as the checksum error seems more straight-forward, following up on this 
> > myself..
> 
> Ideally there would be a relevant commit in the upstream linux code to
> minimise the local diff we have, but I can't seem to find one.
> 
> I suspect the problem you're seeing only happens on older intel
> hardware that doesn't have interrupt driven hotplug.  In this
> case the outputs have to be polled (if the relevant struct in
> i915_drv.c lacks ".has_hotplug = 1").
> 
> Though I don't remember ever seeing it with 855 on the x40.
> 855 has two output pipes instead of the one on 845/865 however.
> 

OpenBSD 5.6-current (drmdebug) #0: Sat Oct 11 08:40:36 EDT 2014
    root@node02:/usr/src/sys/arch/i386/compile/drmdebug
...
vga1 at pci0 dev 2 function 0 "Intel 82845G Video" rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x8000000
inteldrm0 at vga1
drm0 at inteldrm0[drm:pid0:drm_agp_init] agp_available = 1

[drm:pid0:intel_detect_pch] No PCH detected
[drm:pid0:drm_vblank_init] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm:pid0:drm_vblank_init] Driver supports precise vblank timestamp query.
[drm:pid0:intel_opregion_setup] graphic opregion physical addr: 0x0
[drm:pid0:intel_opregion_setup] ACPI OpRegion not supported!
[drm:pid0:init_vbt_defaults] Set default to SSC at 66MHz
[drm:pid0:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 1 
int_crt_support 0 lvds_use_ssc 0 lvds_ssc_freq 48 display_clock_mode 0 
fdi_rx_polarity_inverted 0
[drm:pid0:parse_general_definitions] crt_ddc_bus_pin: 2
[drm:pid0:parse_sdvo_device_mapping] different child size is found. Invalid.
[drm:pid0:parse_device_mapping] different child size is found. Invalid.
[drm:pid0:intel_modeset_init] todo set fb base
[drm:pid0:intel_modeset_init] 1 display pipe available.
[drm:pid0:intel_modeset_init] plane 0 init failed: -19
[drm:pid0:intel_pch_pll_init] No PCH PLLs on this hardware, skipping 
initialisation
[drm:pid0:tfp410_init] tfp410 not detected got VID FFFFFFFF: from Slave 56.
[drm:pid0:intel_setup_overlay] initialized overlay support
[drm:pid0:intel_modeset_setup_hw_state] [CRTC:3] hw state readout: enabled
[drm:pid0:intel_modeset_setup_hw_state] [ENCODER:5:DAC-5] hw state readout: 
enabled, pipe=0
[drm:pid0:intel_modeset_setup_hw_state] [CONNECTOR:4:VGA-1] hw state readout: 
enabled
[drm:pid0:intel_connector_check_state] [CONNECTOR:4:VGA-1]
[drm:pid0:intel_modeset_check_state] [ENCODER:5:DAC-5]
[drm:pid0:intel_modeset_check_state] [CRTC:3]
[drm:pid0:drm_irq_install] irq=5
[drm:pid0:drm_helper_probe_single_connector_modes] [CONNECTOR:4:VGA-1]
[drm:pid0:drm_edid_block_valid] Fixing EDID header, your hardware may be failing
drm: EDID is empty
VGA-1: EDID block 0 invalid.
[drm:pid0:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO 
bit-banging
[drm:pid0:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid EDID 
found]
[drm:pid0:intel_get_load_detect_pipe] [CONNECTOR:4:VGA-1], [ENCODER:5:DAC-5]
[drm:pid0:drm_edid_block_valid] Fixing EDID header, your hardware may be failing
[drm:pid0:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO 
bit-banging
[drm:pid0:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid EDID 
found]
[drm:pid0:intel_crt_load_detect] starting load-detect on CRT
[drm:pid0:intel_release_load_detect_pipe] [CONNECTOR:4:VGA-1], [ENCODER:5:DAC-5]
[drm:pid0:drm_edid_block_valid] Fixing EDID header, your hardware may be failing
[drm:pid0:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO 
bit-banging
[drm:pid0:drm_helper_probe_single_connector_modes] [CONNECTOR:4:VGA-1] probed 
modes :
[drm:pid0:drm_mode_debug_printmodeline] Modeline 11:"1024x768" 60 65000 1024 
1048 1184 1344 768 771 777 806 0x40 0xa
[drm:pid0:drm_mode_debug_printmodeline] Modeline 9:"800x600" 60 40000 800 840 
968 1056 600 601 605 628 0x40 0x5
[drm:pid0:drm_mode_debug_printmodeline] Modeline 8:"800x600" 56 36000 800 824 
896 1024 600 601 603 625 0x40 0x5
[drm:pid0:drm_mode_debug_printmodeline] Modeline 10:"848x480" 60 33750 848 864 
976 1088 480 486 494 517 0x40 0x5
[drm:pid0:drm_mode_debug_printmodeline] Modeline 7:"640x480" 60 25175 640 656 
752 800 480 489 492 525 0x40 0xa
[drm:pid0:drm_setup_crtcs] 
[drm:pid0:drm_enable_connectors] connector 4 enabled? yes
[drm:pid0:drm_target_preferred] looking for cmdline mode on connector 4
[drm:pid0:drm_target_preferred] looking for preferred mode on connector 4
[drm:pid0:drm_target_preferred] found mode 1024x768
[drm:pid0:drm_setup_crtcs] picking CRTCs for 2048x2048 config
[drm:pid0:drm_setup_crtcs] desired mode 1024x768 set on crtc 3
[drm:pid0:intelfb_create] allocated 1024x768 fb: 0x00060000, bo 0xd5e9321c
[drm:pid0:intelfb_create] skipping call to vga_switcheroo_client_fb_set
[drm:pid0:intel_crtc_set_config] [CRTC:3] [FB:13] #connectors=1 (x y) (0 0)
[drm:pid0:intel_set_config_compute_mode_changes] crtc has no fb, full mode set
[drm:pid0:intel_set_config_compute_mode_changes] modes are different, full mode 
set
[drm:pid0:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 
0x0
[drm:pid0:drm_mode_debug_printmodeline] Modeline 12:"1024x768" 60 65000 1024 
1048 1184 1344 768 771 777 806 0x40 0xa
[drm:pid0:intel_modeset_stage_output_state] [CONNECTOR:4:VGA-1] to [CRTC:3]
[drm:pid0:intel_crtc_set_config] attempting to set mode from userspace
[drm:pid0:drm_mode_debug_printmodeline] Modeline 12:"1024x768" 60 65000 1024 
1048 1184 1344 768 771 777 806 0x40 0xa
[drm:pid0:intel_set_mode] set mode pipe masks: modeset: 1, prepare: 1, disable: 0
[drm:pid0:intel_modeset_adjusted_mode] [CRTC:3]
[drm:pid0:drm_calc_vbltimestamp_from_scanoutpos] crtc 0: Noop due to 
uninitialized mode.
[drm:pid0:i9xx_crtc_mode_set] Mode for pipe A:
[drm:pid0:drm_mode_debug_printmodeline] Modeline 12:"1024x768" 60 65000 1024 
1048 1184 1344 768 771 777 806 0x40 0xa
[drm:pid0:i9xx_update_plane] Writing base 00060000 00000000 0 0 4096
[drm:pid0:intel_crtc_mode_set] [ENCODER:5:DAC-5] set [MODE:12:1024x768]
[drm:pid0:i845_get_fifo_size] FIFO size - (0x0000005f) A: 23
[drm:pid0:intel_calculate_wm] FIFO entries required for mode: 41
[drm:pid0:intel_calculate_wm] FIFO watermark level: -20
[drm:pid0:i830_update_wm] Setting FIFO watermarks - A: 1
[drm:pid0:intel_connector_check_state] [CONNECTOR:4:VGA-1]
[drm:pid0:intel_modeset_check_state] [ENCODER:5:DAC-5]
[drm:pid0:intel_modeset_check_state] [CRTC:3]
inteldrm0: 1024x768

Reply via email to