NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-amd64/49833: NetBSD-current (amd64/i386) reboot when start xinit on pc with HD6450
The following reply was made to PR port-amd64/49833; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
To: port-amd64-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost, riastradh%netbsd.org@localhost
Cc:
Subject: re: port-amd64/49833: NetBSD-current (amd64/i386) reboot when start xinit on pc with HD6450
Date: Sun, 19 Apr 2015 10:48:48 +1000
this seems to fix the problem for me. i *think* we're not supposed
to be looking at these values, and the simplest way i can see to
ensure this is to initialise something - the something we check
later when the assert is triggered.
with this in place, i'm able to run X and basic GL apps. bzflag
dumps core, but that might be bzflag itself. glxgears without vsync
enabled runs fairly slowly -- only about 200fps (my radeonhd 5450
gets about 2000fps), so there might be some problems still.
Taylor? comments?
.mrg.
Index: dist/drm/ttm/ttm_bo.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c,v
retrieving revision 1.9
diff -p -u -r1.9 ttm_bo.c
--- dist/drm/ttm/ttm_bo.c 10 Apr 2015 17:28:42 -0000 1.9
+++ dist/drm/ttm/ttm_bo.c 19 Apr 2015 00:43:39 -0000
@@ -1018,6 +1018,9 @@ static int ttm_bo_move_buffer(struct ttm
spin_unlock(&bdev->fence_lock);
if (ret)
return ret;
+#ifdef __NetBSD__
+ mem.bus.is_iomem = false;
+#endif
mem.num_pages = bo->num_pages;
mem.size = mem.num_pages << PAGE_SHIFT;
mem.page_alignment = bo->mem.page_alignment;
Home |
Main Index |
Thread Index |
Old Index