Age | Commit message (Collapse) | Author |
|
"I'm all for it." marco@ "Yeah" deraadt@
|
|
|
|
|
|
|
|
though if no new features are in play. diff from Wouter Godefroy
|
|
part of a server. there's no configuration yet, and several other drawbacks,
but it can be hammered into shape. i haven't moved the code forward in a year,
and marco wants it in the tree to hack on.
|
|
|
|
|
|
size.
kill (empty) drm_mem_{un,}init() while here.
|
|
While we don't have code for this (yet!), mean I will be able to update
libdrm, and consequently the xf86-video-intel driver to 2.5.x.
Add PARAM_HAS_GEM to the getparam ioctl, and return no support.
|
|
ok yuo@
|
|
dev->pa by doing the pci_intr_establish/disestablish dance in the driver
function, not in drm. This removes the need for
interrupt_{pre,post}install callbacks, instead just provide a
interrupt_install() callback.
|
|
just put a vblank_pipes argument to the driver structure which tells us
how many to set up
this means that intel doesn't lose all vblank count on vtswitch (it
disables the interrupt there), i've heard of a few uvm_faults where this
happens as well as things just going wrong.
This was suggested by Keith Packard who provided a different diff for
drm.git.
|
|
Not enabled in any kernel (and will not be).
ok drahn, uwe
|
|
|
|
|
|
from wiz@netbsd
|
|
|
|
ok dlg
|
|
ok deraadt@ claudio@
|
|
|
|
this much better.
ok yuo@
|
|
the device has been moved to this driver.
|
|
|
|
|
|
Before accessing a ro_rt make sure the route is either freshly allocated or
RTF_UP is set. If not ro_rt should be freed and reallocated or at least no
info from the ro_rt should be considered valid.
This seems to solve the crashes seen by Felipe Alfaro Solana.
some sort of OK dlg@
|
|
|
|
|
|
|
|
|
|
unused there anyway. use nitems in mpi_pci_match.
|
|
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
in the kernel, you can now use this instead of torturing yourself.
ok dlg, well, really i just finally gave in to his arguments and we choose
a better name than sizeofa().
|
|
as default device input. That's what the man page says
|
|
Removes some unneeded ifp pointers from the stack and don't assign
ifp->if_softc twice in the same function.
|
|
|
|
|
|
|
|
interfaces can now be configured with dhcp during install and upgrades.
Problem most forcibly pointed out by Luis and Pedro at h2k8.
"go for it" deraadt@
|
|
on the softc.
|
|
using the drm_maps interface (this was done for inteldrm a few days
ago). All drivers now ignore the mmio_offset argument that the init
ioctl takes.
This clears up the code and makes sure that drm_ioremap_core() doesn't
need the vga_pci_map inteface anymore, so we don't have to pass in the
vga softc anymore. We also get to kill the drm_resource_{start,length}
linux-alike functions since we just calculate all the requisite offsets
at startup and cache those we need. This now means that technically the
only driver that needs the vga_pci_map api is inteldrm (due to sharing
with intagp issues), though this diff doesn't convert them over.
|
|
callers (plus an upcomming one). OK henning@, dlg@
|
|
wd reset to / rather than current working directory.
From Jacek Masiulaniec <jacekm@dobremiasto.net>
|
|
so just inline it there.
also remove dev->pci_vendor and dev->pci_device, and insert pci_device
into the one place any of them are needed (inteldrm's interface can give
this info to the X driver. to remove that you'd need to fix X too).
|
|
vga1 at pci0
inteldrm0 at vga1
to
vga1 at pci0
inteldrm0 at vga1
drm0 at inteldrm0
i.e. a similar scheme to audio(4) where the interface attaches on top of
the wildly different drivers. This helps to clean up the code a lot
(more is coming) and help me start to move drm to being essentially bus
independent, which will help in the future.
|
|
the attach function. First step towards splitting drm off as it's own
(bus independant) device, as it should be.
|
|
allow port to become optionnal (implicit 25) or provided by value
or name.
|
|
ral0 at cardbus0 dev 0 function 0 "Ralink RT2860" rev 0x00: irq 11, address 00:0e:8e:13:cd:1d
ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R)
|
|
monkeys.
found by toby's bounce buffers.
ok krw deraadt uwe fwk matthieu, drahn, mbalmer, robert, yuo, ratchov,
claudio, rainer, art.
|
|
the policy for the mlock(2) on this architecture: all users are allowed
to call mlock, while the limit is imposed by the current RLIMIT_MEMLOCK
value.
"makes sense" art, ok hshoexer (who was running with the same change for
about 10 months).
|
|
In short, make cpu_unidle do what signotify used to do and
make signotify use cpu_unidle.
Also, include a cpu_unidle in need_resched, it won't change much right now
but will be needed in the future.
|