Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/external/bsd/drm2



Dear list,

On 2017-02-21, NONAKA Kimihiro wrote:
> Module Name:	src
> Committed By:	nonaka
> Date:		Tue Feb 21 14:19:40 UTC 2017
> 
> Modified Files:
> 	src/sys/external/bsd/drm2/dist/include/drm: drmP.h
> 	src/sys/external/bsd/drm2/pci: drm_pci.c
> 
> Log Message:
> drmkms_pci: use MSI if available.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm2/dist/include/drm/drmP.h
> cvs rdiff -u -r1.13 -r1.14 src/sys/external/bsd/drm2/pci/drm_pci.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

Is anyone else experiencing GPU hangs since revision 1.14 
of src/sys/external/bsd/drm2/pci/drm_pci.c ?

Going back to 1.13 makes opengl and Xv usable again for me.
Here is the dmesg of the affected machine:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.62 (YORICK.i386) #0: Mon Feb 27 00:24:44 SAST 2017
	root@HOME:/root/build.i386.local/obj/sys/arch/i386/compile/YORICK.i386
total memory = 1013 MB
avail memory = 983 MB
rnd: seeded with 128 bits
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
RTC BIOS diagnostic error 0x80<clock_battery>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
LG Electronics X130-L.ASW6Z (05)
mainbus0 (root)
ACPI: RSDP 0x00000000000FE020 000024 (v02 LGE   )
ACPI: XSDT 0x000000003F6FE120 000064 (v01 LGE    LGPC     00000001      01000013)
ACPI: FACP 0x000000003F6FC000 0000F4 (v04 LGE    LGPC     00000001 MSFT 01000013)
ACPI: DSDT 0x000000003F6F0000 007068 (v01 LGE    LGPC     00000001 MSFT 01000013)
ACPI: FACS 0x000000003F688000 000040
ACPI: FACS 0x000000003F688000 000040
ACPI: SSDT 0x000000003F6FD000 0004C4 (v02 LGE    LGPC     00003000 INTL 20051117)
ACPI: HPET 0x000000003F6FB000 000038 (v01 LGE    LGPC     00000001 MSFT 01000013)
ACPI: APIC 0x000000003F6FA000 000068 (v02 LGE    LGPC     00000001 MSFT 01000013)
ACPI: MCFG 0x000000003F6F9000 00003C (v01 LGE    LGPC     00000001 MSFT 01000013)
ACPI: ASF! 0x000000003F6F8000 0000A5 (v32 LGE    LGPC     00000001 MSFT 01000013)
ACPI: SLIC 0x000000003F6EF000 000176 (v01 LGE    LGPC     00000001 MSFT 01000013)
ACPI: BOOT 0x000000003F6EE000 000028 (v01 LGE    LGPC     00000001 MSFT 01000013)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 2 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Atom(TM) CPU N270   @ 1.60GHz, id 0x106c2
cpu1 at mainbus0 apid 1
cpu1: Intel(R) Atom(TM) CPU N270   @ 1.60GHz, id 0x106c2
acpi0 at mainbus0: Intel ACPICA 20170119
acpi0: X/RSDT: OemId <LGE   ,LGPC    ,00000001>, AslId <    ,01000013>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0x00000000C2234C84 000239 (v02 LGE    LGPC     00003000 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0x00000000C2081A04 0001C1 (v02 LGE    LGPC     00003001 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0x00000000C20501CC 0000D0 (v02 LGE    LGPC     00003000 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0x00000000C20690AC 000083 (v02 LGE    LGPC     00003000 INTL 20051117)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (EC0, PNP0C09-1)
: io 0x62,0x66
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat0: Dynapack LION rechargeable battery
acpibat0: granularity: low->warn 0.010 Ah, warn->full 0.025 Ah
SYSR (PNP0C02) at acpi0 not configured
FPU (PNP0C04) at acpi0 not configured
attimer0 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
FWHD (INT0800) at acpi0 not configured
pckbc0 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc1 at acpi0 (MOUE, SYN1304) (aux port): irq 12
acpiwmi0 at acpi0 (MAP1, PNP0C14-0): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpivga0 at acpi0 (OVGA): ACPI Display Adapter
acpiout0 at acpivga0 (CRT1, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (DTV1, 0x0240): ACPI Display Output Device
acpiout2 at acpivga0 (LCD, 0x0410): ACPI Display Output Device
acpiout2: brightness levels: [10,20,30,40,50,65,80,90,100]
acpiout3 at acpivga0 (DTV2, 0x0004): ACPI Display Output Device
acpiout4 at acpivga0 (DFP2, 0x0005): ACPI Display Output Device
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): VGA Analog Monitor, index 0, port 0, head 0, bios detect
acpivga0:   0x0240 (acpiout1): TV/HDTV Monitor, index 0, port 4, head 0, bios detect
acpivga0:   0x0410 (acpiout2): Int. Digital Flat Panel, index 0, port 1, head 0, bios detect
acpitz0 at acpi0 (TZ01): cpu0 cpu1
acpitz0: levels: critical 100.0 C, hot 95.0 C, passive 85.0 C, passive cooling
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 2 GPEs in block 00 to 1F
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 7.2
pms0: Extended W mode, Palm detect, Multi-finger Report
pckbc0: using irq 12 for aux slot
wsmouse101 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 27ac (rev. 0x03)
agp0 at pchb0: i915-family chipset
agp0: detected 7932k stolen memory
agp0: aperture at 0x40000000, size 0x10000000
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 27ae (rev. 0x03)
drm: Memory usable by graphics device = 256M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xd9b83000, size 1024x600, depth 32, stride 4096
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
vendor 8086 product 27a6 (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at msi0 vec 0
hdafg0 at hdaudio0: vendor 10ec product 0272
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: ADC01 2ch: Mic In [Jack]
hdafg0: ADC02 2ch: Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
ppb0 at pci0 dev 28 function 0: vendor 8086 product 27d0 (rev. 0x02)
ppb0: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci1 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x02)
re0: interrupting at msi1 vec 0
re0: Ethernet address c8:0a:a9:70:29:b3
re0: using 256 tx descriptors
rlphy0 at re0 phy 7: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb1 at pci0 dev 28 function 1: vendor 8086 product 27d2 (rev. 0x02)
ppb1: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ral0 at pci2 dev 0 function 0: vendor 1814 product 3090 (rev. 0x00)
ral0: interrupting at ioapic0 pin 17
ral0: 802.11 address 00:0d:f0:7d:d7:4a
ral0: MAC/BBP RT3071 (rev 0x0213), RF RT3020 (MIMO 1T1R)
uhci0 at pci0 dev 29 function 0: vendor 8086 product 27c8 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 8086 product 27c9 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 17
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 8086 product 27ca (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 8086 product 27cb (rev. 0x02)
uhci3: interrupting at ioapic0 pin 19
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 8086 product 27cc (rev. 0x02)
ehci0: interrupting at ioapic0 pin 16
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb2 at pci0 dev 30 function 0: vendor 8086 product 2448 (rev. 0xe2)
pci3 at ppb2 bus 6
pci3: i/o space, memory space enabled
ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 27b9 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
tco0 at ichlpcib0: TCO (watchdog) timer configured.
tco0: Min/Max interval 1/367 seconds
piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 27c5 (rev. 0x02)
ahcisata0: interrupting at ioapic0 pin 17
ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP 0xdf10ff03<PSC,SSC,PMD,ISS=0x1=Gen1,SCLO,SAL,SALP,SSS,SMPS,SNCQ,S64A>
atabus1 at ahcisata0 channel 0
atabus2 at ahcisata0 channel 2
ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 27da (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: I/O, lat   1 us, pow   500 mW
acpicpu0: C3: I/O, lat  57 us, pow   100 mW
acpicpu0: P0: FFH, lat  10 us, pow  2000 mW, 1600 MHz
acpicpu0: P1: FFH, lat  10 us, pow  1533 mW, 1333 MHz
acpicpu0: P2: FFH, lat  10 us, pow  1066 mW, 1066 MHz
acpicpu0: P3: FFH, lat  10 us, pow   600 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
DRM error in i915_irq_handler: pipe A underrun
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter offline.
IPsec: Initialized Security Association Processing.
uhub0 at usb0: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0
wd0: <FUJITSU MJA2250BH G2>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uvideo0 at uhub4 port 5 configuration 1 interface 0: BISON Corporation LG, rev 2.00/18.02, addr 2
video0 at uvideo0: BISON Corporation LG, rev 2.00/18.02, addr 2
WARNING: 2 errors while detecting hardware; check system log.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/i386/7.99.62/modules
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ubt0 at uhub1 port 1
ubt0: Broadcom Corp Broadcom Bluetooth 2.1 Device, rev 2.00/0.72, addr 2
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)

-- 
Kind regards,

Yorick Hardy


Home | Main Index | Thread Index | Old Index