mrg
3eb83a79ce
import mesa-drm git from change 2580a065d81be645a14af1e91b8441f7e72fcbe4.
...
this pulls in a few vblank fixes.
2008-07-25 05:27:51 +00:00
bjs
42cc23f284
IRQ_HANDLED should be 1, not 0.
2008-07-25 02:37:18 +00:00
bjs
e2ae9c7df8
Remove #ifdef __FreeBSD__ around DRM_UPDATE_DRAW ioctl, as we have drawable
...
code (and if it does not work, we must make it work!).
Add missing entry for DRM_MODESET_IOCTL.
2008-07-21 07:18:11 +00:00
bjs
616225d114
add forgotten initialization/destruction for tsk_lock.
2008-07-20 03:02:22 +00:00
bjs
e63e7d81db
Add a forgotten mtsleep().
2008-07-20 02:58:40 +00:00
mrg
8754a8144b
move an XXXNETBSD along with the assignment that moved
2008-07-19 22:23:14 +00:00
mrg
f9c3ff3858
merge cornflakes from git-change-04893aa99abfbed8eb6d7067a974fa1f31193c87.
2008-07-19 22:22:17 +00:00
mrg
acf7df4527
fix a merge error
2008-07-19 22:14:13 +00:00
mrg
b0c27870b5
merge cornflakes from git-change-04893aa99abfbed8eb6d7067a974fa1f31193c87.
2008-07-19 22:10:09 +00:00
mrg
60c992bef9
import mesa-drm git at change 04893aa99abfbed8eb6d7067a974fa1f31193c87.
2008-07-19 22:05:02 +00:00
jmcneill
a8309870a5
Pull in agp_i810.h so the agp borrow hack works on i915drm.
2008-07-19 20:08:39 +00:00
jmcneill
e3f4f88866
PCI_PRODUCT works on pa_id, not pa_device
2008-07-19 17:45:53 +00:00
bjs
61ffbe1fec
dev->pci_device should be assigned PCI_PRODUCT(pa->pa_id), not the id
...
itself.
2008-07-19 17:44:14 +00:00
bjs
79b565981a
use ALIGN() instead of rolling our own.
2008-07-19 17:28:14 +00:00
bjs
e87f5b54be
set dev->kdev = kdev at open time, not in drm_ioctl.
2008-07-19 17:23:04 +00:00
jmcneill
4a648a5b9a
Implement drm_drawable gunk and drm_locked_task, untested. i915drm links now.
2008-07-19 14:15:11 +00:00
bjs
d63b70db6d
Change IPL of DRM_SPININIT macro to IPL_NONE. Currently, the only
...
mutex initialized by this macro is the dma lock, which certainly
should not be IPL_VM. The priorities of the other locks should be
revisited.
Also, in DRM_WAIT_ON, enforce the policy of "drm returns -errno
to shared code" (this used to be implemented via a macro).
2008-07-19 10:09:01 +00:00
mrg
242955a02d
XXX: remove the (volatile uint32_t *) cast from atomic_read() macro for now.
...
now all bsd drm drivers build except for i915 which fails to link.
2008-07-19 07:03:07 +00:00
mrg
cc28125d9e
XXX: always return DRM_MIGHT_BE_AGP for now -- need to implement the
...
XXX: releant bus controller grovelling for netbsd pci.
2008-07-19 07:02:15 +00:00
mrg
310b3512f5
XXX rename some macro internal variable names to not clash with users.
2008-07-19 06:48:44 +00:00
mrg
c97fa01b94
rename some inner local variables away from outer scope name conflicts
2008-07-19 06:42:07 +00:00
mrg
215f2c6a8b
rename a local variable from free to myfree
2008-07-19 06:40:01 +00:00
mrg
8ff8b7b272
pull over many many changes from netbsd-current sys/dev/{,pci/}drm/.
...
make the mesa-drm style Makefile's actually run on netbsd (but i doubt
they work yet.)
this still has a lot to go. it doesn't work yet, but it's getting
close.
most of this is from other authors than myself: yorrick, drochner,
jared, bjs, all contributed a lot more than i have so far, but there's
a bunch of clean up from myself in here as well.
2008-07-19 06:18:23 +00:00
mrg
3a3ec8ba5f
include bsd.subdir.mk
2008-07-19 06:14:25 +00:00
mrg
d582952b83
import mesa-drm git from version 5d27fd94afaaf434c3a92af0075420b550055bfb,
...
which is approximately june 25th or so.
2008-07-19 05:30:36 +00:00