NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50060: kernel crash with i915drmksm on Intel 965Q
The following reply was made to PR kern/50060; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gson%netbsd.org@localhost, nisimura%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/50060: kernel crash with i915drmksm on Intel 965Q
Date: Mon, 12 Oct 2015 20:36:20 +0000
This is a multi-part message in MIME format.
--=_PEcRT7HpZC+rI8TOQS8CJoc9wLMBnnal
Can you please try the attached patch?
--=_PEcRT7HpZC+rI8TOQS8CJoc9wLMBnnal
Content-Type: text/plain; charset="ISO-8859-1"; name="agp"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="agp.patch"
Index: agp_i810.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pci/agp_i810.c,v
retrieving revision 1.118
diff -p -u -r1.118 agp_i810.c
--- agp_i810.c 5 Apr 2015 12:55:20 -0000 1.118
+++ agp_i810.c 12 Oct 2015 20:35:42 -0000
@@ -420,7 +420,9 @@ agp_i810_attach(device_t parent, device_
case CHIP_I965:
apbase =3D AGP_I965_GMADR;
mmadr_bar =3D AGP_I965_MMADR;
- mmadr_type |=3D PCI_MAPREG_MEM_TYPE_64BIT;
+ mmadr_type |=3D PCI_MAPREG_MEM_TYPE_MASK &
+ pci_mapreg_type(isc->vga_pa.pa_pc,
+ isc->vga_pa.pa_tag, AGP_I965_MMADR);
if (pci_mapreg_info(isc->vga_pa.pa_pc, isc->vga_pa.pa_tag,
AGP_I965_MMADR, mmadr_type, NULL, &isc->size, NULL))
isc->size =3D 512*1024; /* XXX */
--=_PEcRT7HpZC+rI8TOQS8CJoc9wLMBnnal--
Home |
Main Index |
Thread Index |
Old Index