Now
riastradh-drm2 commitmail json YAML
Fix return value of wait_for_completion_interruptible_timeout.
riastradh-drm2 commitmail json YAML
Make gem mmappings shared, not copy-on-write, like Linux.
riastradh-drm2 commitmail json YAML
Take the vmobjlock in i915_gem_release_mmap around pmap_page_protect.
riastradh-drm2 commitmail json YAML
Fix up i915_gem_gtt for agp-style gen<6 devices.
- Set the DMA mask correctly: gen<4 needs 32-bit; gen4+, 36-bit.
- Use agp_i810_write_gtt_entry, not AGP_BIND_PAGE.
- Do a posting read after changing all the GTT entries.
- Set the DMA mask correctly: gen<4 needs 32-bit; gen4+, 36-bit.
- Use agp_i810_write_gtt_entry, not AGP_BIND_PAGE.
- Do a posting read after changing all the GTT entries.
riastradh-drm2 commitmail json YAML
src/sys/dev/pci/agp_i810.c@1.73.26.2
/
diff
/
nxr@1.73.26.2
src/sys/dev/pci/agp_i810var.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/dev/pci/agp_i810var.h@1.1.2.2 / diff / nxr@1.1.2.2
Expose agp_i810_write_gtt_entry for drm2.
Also add an agp_i810_post_gtt_entry to do a posting read for that GTT
entry.
Also add an agp_i810_post_gtt_entry to do a posting read for that GTT
entry.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.21
/
diff
/
nxr@1.1.1.1.2.21
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h@1.1.2.9 / diff / nxr@1.1.2.9
Implement and use non-interruptible DRM_WAIT_* gizmos.
riastradh-drm2 commitmail json YAML
Kludgey attempt to fill in intel_gtt stubs.
riastradh-drm2 commitmail json YAML
Oops -- define struct intel_gtt::do_idle_maps.
Missed this in last commit.
Missed this in last commit.
riastradh-drm2 commitmail json YAML
First draft of i915_gem_gtt.c for pre-Sandy Bridge (gen<6) devices.
These go through the legacy AGP cruft to get at the GTT.
These go through the legacy AGP cruft to get at the GTT.
riastradh-drm2 commitmail json YAML
src/sys/dev/pci/agp_i810.c@1.73.26.1
/
diff
/
nxr@1.73.26.1
src/sys/dev/pci/agp_i810var.h@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/dev/pci/agp_i810var.h@1.1.2.1 / diff / nxr@1.1.2.1
Expose the agp_i810 softc.
This is an Intel-specific kludge so that i915drmkms can get at the
GTT, graphics translation table, for pre-Sandy Bridge Intel graphics
devices.
This is an Intel-specific kludge so that i915drmkms can get at the
GTT, graphics translation table, for pre-Sandy Bridge Intel graphics
devices.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.58
/
diff
/
nxr@1.1.1.1.2.58
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.37 / diff / nxr@1.1.2.37
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.13 / diff / nxr@1.1.2.13
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.37 / diff / nxr@1.1.2.37
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.13 / diff / nxr@1.1.2.13
Handle attach failure and don't try a framebuffer in i915 on failure.
riastradh-drm2 commitmail json YAML
revert to bogus assertion, as requested by riastradh@ to ease forecoming commit
riastradh-drm2 commitmail json YAML
do not KASSERT out on Sandy Bridge
riastradh-drm2 commitmail json YAML
src/sys/modules/drm2/Makefile deleted
src/sys/modules/drm2/Makefile.inc deleted
src/sys/modules/drm2/drm.ioconf deleted
src/sys/modules/i915drm2/Makefile deleted
src/sys/modules/i915drm2/i915drm.ioconf deleted
src/sys/modules/drm2/Makefile.inc deleted
src/sys/modules/drm2/drm.ioconf deleted
src/sys/modules/i915drm2/Makefile deleted
src/sys/modules/i915drm2/i915drm.ioconf deleted
Remove drm2 and i915drm2 modules.
riastradh-drm2 commitmail json YAML
src/sys/conf/files@1.1077.2.4
/
diff
/
nxr@1.1077.2.4
src/sys/conf/majors@1.66.6.2 / diff / nxr@1.66.6.2
src/sys/dev/pci/files.pci@1.364.6.3 / diff / nxr@1.364.6.3
src/sys/external/bsd/drm2/conf/files.drm2 deleted
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.57 / diff / nxr@1.1.1.1.2.57
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.36 / diff / nxr@1.1.2.36
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/drm/drm_module.c@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/drm/files.drmkms@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/files.i915drmkms@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/i915_module.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/external/bsd/drm2/linux/files.drmkms_linux@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/linux/linux_module.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/pci/drm_pci_module.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/pci/files.drmkms_pci@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drmkms/Makefile@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drmkms/Makefile.inc@1.1.2.1 / diff / nxr@1.1.2.1
:
(more 5 files)
src/sys/conf/majors@1.66.6.2 / diff / nxr@1.66.6.2
src/sys/dev/pci/files.pci@1.364.6.3 / diff / nxr@1.364.6.3
src/sys/external/bsd/drm2/conf/files.drm2 deleted
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.57 / diff / nxr@1.1.1.1.2.57
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.36 / diff / nxr@1.1.2.36
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/drm/drm_module.c@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/drm/files.drmkms@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/files.i915drmkms@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/i915_module.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/external/bsd/drm2/linux/files.drmkms_linux@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/linux/linux_module.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/pci/drm_pci_module.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/pci/files.drmkms_pci@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drmkms/Makefile@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drmkms/Makefile.inc@1.1.2.1 / diff / nxr@1.1.2.1
:
(more 5 files)
Rework drm2 configuration and modularization.
- Split drm2.kmod into drmkms_linux, drmkms, drmkms_pci.
- Split up drmkms-related files.* similarly.
- Make drm_agp_* routines hooks that the drmkms_pci module installs.
- Reuse drm device major 180 for (old) drm and drmkms.
Now old drm and new drmkms can coexist happily in the same tree, with
or without PCI, and require no changes to userland.
- Split drm2.kmod into drmkms_linux, drmkms, drmkms_pci.
- Split up drmkms-related files.* similarly.
- Make drm_agp_* routines hooks that the drmkms_pci module installs.
- Reuse drm device major 180 for (old) drm and drmkms.
Now old drm and new drmkms can coexist happily in the same tree, with
or without PCI, and require no changes to userland.
riastradh-drm2 commitmail json YAML
Make wsdisplay_vcons likelier to be modularizable too.
riastradh-drm2 commitmail json YAML
src/sys/arch/amd64/conf/DRMKMS@1.1.2.1
/
diff
/
nxr@1.1.2.1
src/sys/arch/amd64/conf/NO_DRM@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/arch/amd64/conf/NO_DRM@1.1.2.3 / diff / nxr@1.1.2.3
Redo amd64/NO_DRM config and add amd64/DRMKMS.
riastradh-drm2 commitmail json YAML
src/sys/dev/wsfb/files.wsfb@1.7.30.2
/
diff
/
nxr@1.7.30.2
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.7 / diff / nxr@1.1.2.7
Tweak genfb tweaks so they work.
riastradh-drm2 commitmail json YAML
src/sys/dev/wscons/wsdisplay_vconsvar.h@1.22.8.1
/
diff
/
nxr@1.22.8.1
src/sys/dev/wsfb/genfb.c@1.50.8.3 / diff / nxr@1.50.8.3
src/sys/dev/wsfb/genfbvar.h@1.21.24.1 / diff / nxr@1.21.24.1
src/sys/dev/wsfb/genfb.c@1.50.8.3 / diff / nxr@1.50.8.3
src/sys/dev/wsfb/genfbvar.h@1.21.24.1 / diff / nxr@1.21.24.1
Make genfb a little friendlier to modules.
This is not enough to make it actually work as a module itself, but
it's enough to make the i915drm module use genfb.
This is not enough to make it actually work as a module itself, but
it's enough to make the i915drm module use genfb.
riastradh-drm2 commitmail json YAML
Make genfb replay the msgbuf only if it's becoming the console.
riastradh-drm2 commitmail json YAML
Make genfb_attach configure the wsemuldisplaydev attribute.
riastradh-drm2 commitmail json YAML
Make i915drm_match return 6 to beat genfb_pci no matter what.
riastradh-drm2 commitmail json YAML
Give drmkms its own device major so it doesn't compete with old drm.
riastradh-drm2 commitmail json YAML
src/sys/conf/files@1.1077.2.3
/
diff
/
nxr@1.1077.2.3
src/sys/dev/pci/files.pci@1.364.6.2 / diff / nxr@1.364.6.2
src/sys/dev/wsfb/files.wsfb@1.7.30.1 / diff / nxr@1.7.30.1
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.35 / diff / nxr@1.1.2.35
src/sys/external/bsd/drm2/drm/drm_module.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.5 / diff / nxr@1.1.2.5
src/sys/external/bsd/drm2/i915drm/i915_module.c@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/include/linux/kgdb.h@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/modules/drm2/Makefile@1.1.2.44 / diff / nxr@1.1.2.44
src/sys/modules/drm2/drm.ioconf@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/modules/i915drm2/Makefile@1.1.2.12 / diff / nxr@1.1.2.12
src/sys/modules/i915drm2/i915drm.ioconf@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/dev/pci/files.pci@1.364.6.2 / diff / nxr@1.364.6.2
src/sys/dev/wsfb/files.wsfb@1.7.30.1 / diff / nxr@1.7.30.1
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.35 / diff / nxr@1.1.2.35
src/sys/external/bsd/drm2/drm/drm_module.c@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.5 / diff / nxr@1.1.2.5
src/sys/external/bsd/drm2/i915drm/i915_module.c@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/include/linux/kgdb.h@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/modules/drm2/Makefile@1.1.2.44 / diff / nxr@1.1.2.44
src/sys/modules/drm2/drm.ioconf@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/modules/i915drm2/Makefile@1.1.2.12 / diff / nxr@1.1.2.12
src/sys/modules/i915drm2/i915drm.ioconf@1.1.2.2 / diff / nxr@1.1.2.2
First draft of in-kernel drm2 attachment.
The drm2 `drm' device is now called `drmkms' (likewise `i915drmkms',
&c.) so that it can coexist with the old drm code to reduce diffs
from HEAD. (Can't call a device `drm2'.)
The drm2 `drm' device is now called `drmkms' (likewise `i915drmkms',
&c.) so that it can coexist with the old drm code to reduce diffs
from HEAD. (Can't call a device `drm2'.)
riastradh-drm2 commitmail json YAML
Defer i915drm_attach_framebuffer until interrupts are running.
The i915 code initialization relies on counting hardclock ticks for a
delay (ugh).
Not an issue for modules, but it will matter when we build drm2 into
the kernel proper.
The i915 code initialization relies on counting hardclock ticks for a
delay (ugh).
Not an issue for modules, but it will matter when we build drm2 into
the kernel proper.
riastradh-drm2 commitmail json YAML
Include genfb in NO_DRM kernel rather than modularizing.
Modularizing required a bunch of hacks (wscons/genfb/&c. is not ready
for modules) and failed to pull in rasops dependencies, so rasops
never worked correctly.
Modularizing required a bunch of hacks (wscons/genfb/&c. is not ready
for modules) and failed to pull in rasops dependencies, so rasops
never worked correctly.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.34
/
diff
/
nxr@1.1.2.34
src/sys/external/bsd/drm2/drm/drm_gem_vm.c@1.1.2.5 / diff / nxr@1.1.2.5
src/sys/external/bsd/drm2/drm/drm_gem_vm.c@1.1.2.5 / diff / nxr@1.1.2.5
Little reference counting fix in drm_mmap.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.56
/
diff
/
nxr@1.1.1.1.2.56
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.33 / diff / nxr@1.1.2.33
src/sys/external/bsd/drm2/drm/drm_gem_vm.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.33 / diff / nxr@1.1.2.33
src/sys/external/bsd/drm2/drm/drm_gem_vm.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.4 / diff / nxr@1.1.2.4
Tidy up and reuse the code I had already written for gem mmapping.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/uapi/drm/drm.h@1.1.1.1.2.4
/
diff
/
nxr@1.1.1.1.2.4
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.32 / diff / nxr@1.1.2.32
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.32 / diff / nxr@1.1.2.32
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.3 / diff / nxr@1.1.2.3
Implement mmap on a drm device by a new kludgey ioctl.
There is currently no way to set up a custom choice of uvm object and
uvm pager ops for mmap: struct fileops has no fo_mmap, and device
nodes get to say only what paddr each offset maps to, not what uvm
object to use. For now, to avoid kernel changes outside the drm2
tree, we'll use a non-standard drm ioctl that calls uvm_map. This
requires source patches to userland programs, but for the most part
they can simply be converted from calling mmap to drmMap, which will
be adapted to use the ioctl.
This is not necessarily a permanent solution.
There is currently no way to set up a custom choice of uvm object and
uvm pager ops for mmap: struct fileops has no fo_mmap, and device
nodes get to say only what paddr each offset maps to, not what uvm
object to use. For now, to avoid kernel changes outside the drm2
tree, we'll use a non-standard drm ioctl that calls uvm_map. This
requires source patches to userland programs, but for the most part
they can simply be converted from calling mmap to drmMap, which will
be adapted to use the ioctl.
This is not necessarily a permanent solution.
riastradh-drm2 commitmail json YAML
Label fail4 is now used, so don't mark it __unused.
riastradh-drm2 commitmail json YAML
Remove spurious newline to reduce diff from upstream.
riastradh-drm2 commitmail json YAML
Fix queue_delayed_work edge cases.
- Copy the relevant part of queue_work in-line for ticks == 0, since
queue_work itself will choke on a delayed work.
- Don't reschedule the callout if it is already scheduled -- let it
fire when it was already scheduled to fire.
- Copy the relevant part of queue_work in-line for ticks == 0, since
queue_work itself will choke on a delayed work.
- Don't reschedule the callout if it is already scheduled -- let it
fire when it was already scheduled to fire.
riastradh-drm2 commitmail json YAML
Take irq_lock before waking up irq_queue in i915_handle_error.
riastradh-drm2 commitmail json YAML
Return EINTR too in __wait_seqno.
riastradh-drm2 commitmail json YAML
Call uvm_vm_page_to_phys before taking a spin lock to ease debugging.
riastradh-drm2 commitmail json YAML
Call drm_mode_group_init_legacy_group in drm_attach like Linux does.
riastradh-drm2 commitmail json YAML
Adjust errno from dev->driver->load.
riastradh-drm2 commitmail json YAML
Initialize the right minor numbers...arghhhh.
riastradh-drm2 commitmail json YAML
uobj->pgops->pgo_put requires uobj->vmobjlock.
riastradh-drm2 commitmail json YAML
Remove vestige of wsdisplay XXX from drm_drv.c.
wsdisplay stuff happens in the parent driver now.
wsdisplay stuff happens in the parent driver now.
riastradh-drm2 commitmail json YAML
Oops -- unifdef <sys/select.h> and <sys/poll.h> in drm_drv.c.
riastradh-drm2 commitmail json YAML
Report st_rdev in stat on a drm device.
riastradh-drm2 commitmail json YAML
Just use kcalloc in drm_malloc_ab.
riastradh-drm2 commitmail json YAML
Fix order of arguments in DRM_COPY_TO_USER.
...
...
riastradh-drm2 commitmail json YAML
Make Linux kmalloc handle a few more gfp flags.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.1.1.1.2.18
/
diff
/
nxr@1.1.1.1.2.18
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.18 / diff / nxr@1.1.1.1.2.18
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.18 / diff / nxr@1.1.1.1.2.18
i915_gem_object_get_page takes a page number, not byte offset.
riastradh-drm2 commitmail json YAML
Fix i915_genfb_mmap base addresses and offsets.
riastradh-drm2 commitmail json YAML
Initialize the nsec correctly in ktime_get.
riastradh-drm2 commitmail json YAML
Use nanouptime, not nanotime, for ktime_get.
As far as I can tell, ktime_get is supposed to provide monotonic
time, not a clock synchronized to TAI.
As far as I can tell, ktime_get is supposed to provide monotonic
time, not a clock synchronized to TAI.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_irq.c@1.1.1.1.2.11
/
diff
/
nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.55 / diff / nxr@1.1.1.1.2.55
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.25 / diff / nxr@1.1.2.25
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.55 / diff / nxr@1.1.1.1.2.55
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.25 / diff / nxr@1.1.2.25
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.8 / diff / nxr@1.1.2.8
Hack up vblank events and make them work.
riastradh-drm2 commitmail json YAML
Unconditionalize the genfb attachment.
riastradh-drm2 commitmail json YAML
Pesky ampersands!
riastradh-drm2 commitmail json YAML
Take master->lock.spinlock to read master->lock.hw_lock.
riastradh-drm2 commitmail json YAML
Clean up initialization failures in drm2_modcmd.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_bufs.c@1.1.1.1.2.14
/
diff
/
nxr@1.1.1.1.2.14
src/sys/external/bsd/drm2/dist/drm/drm_context.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/drm_stub.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.54 / diff / nxr@1.1.1.1.2.54
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/external/bsd/drm2/drm/drm_lock.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/dist/drm/drm_context.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/drm_stub.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.54 / diff / nxr@1.1.1.1.2.54
src/sys/external/bsd/drm2/drm/drm_fops.c@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/external/bsd/drm2/drm/drm_lock.c@1.1.2.4 / diff / nxr@1.1.2.4
Rewrite drm locking support for NetBSD.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.5
/
diff
/
nxr@1.1.2.5
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.6 / diff / nxr@1.1.2.6
Clean up the still-not-yet-functional genfb attachment cruft a bit.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.35
/
diff
/
nxr@1.1.1.1.2.35
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.17 / diff / nxr@1.1.1.1.2.17
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.17 / diff / nxr@1.1.1.1.2.17
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
Use dev_priv->irq_lock for ring->irq_queue, not dev->struct_mutex.
We need to use a spin lock here, because we need to exclude interrupt
handlers.
We need to use a spin lock here, because we need to exclude interrupt
handlers.
riastradh-drm2 commitmail json YAML
Implement drm_pci_set_busid and drm_pci_set_unique.
riastradh-drm2 commitmail json YAML
Drop another reference in do_destroy if the context is current.
riastradh-drm2 commitmail json YAML
Make it a bug to drm_mm_takedown when there remain allocated blocks.
riastradh-drm2 commitmail json YAML
Destroy the waitqueue ring->irq_queue in intel_cleanup_ring_buffer.
riastradh-drm2 commitmail json YAML
Add open drm files to the device file list.
riastradh-drm2 commitmail json YAML
Fix copyoutstr usage in drm_version_string.
riastradh-drm2 commitmail json YAML
Make DRM_IOCTL_GET_CLIENT work except for pid and uid.
The pid and uid don't make sense because the client is associated
with a file descriptor, which may be held by multiple processes, and
even if only one holds it (which is probably the only sensible state
of affairs), there's no index.
The pid and uid don't make sense because the client is associated
with a file descriptor, which may be held by multiple processes, and
even if only one holds it (which is probably the only sensible state
of affairs), there's no index.
riastradh-drm2 commitmail json YAML
Lock the right uvmobject for uvm_pagelookup.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/idr.h@1.1.2.9
/
diff
/
nxr@1.1.2.9
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.12 / diff / nxr@1.1.2.12
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.12 / diff / nxr@1.1.2.12
Convert linux_idr(9) to use spin locks.
idr_for_each is unlocked; caller must exclude modifications.
Eventually this should be rewritten with pserialize and a fancy
bitmap algorithm, but this *actually* works for now.
idr_for_each is unlocked; caller must exclude modifications.
Eventually this should be rewritten with pserialize and a fancy
bitmap algorithm, but this *actually* works for now.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/idr.h@1.1.2.8
/
diff
/
nxr@1.1.2.8
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.11 / diff / nxr@1.1.2.11
Revert "Rewrite idr to use a dumber algorithm that admits pserialized use."
This reverts commit 3a389a1cb20777fb73575f0514b96265052ac1ea.
I don't know what I was smoking with this; just need to change the
rwlock to a spin lock and we'll be good!
This reverts commit 3a389a1cb20777fb73575f0514b96265052ac1ea.
I don't know what I was smoking with this; just need to change the
rwlock to a spin lock and we'll be good!
riastradh-drm2 commitmail json YAML
Don't put work flush items on the stack; worker kmem_frees them.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/idr.h@1.1.2.7
/
diff
/
nxr@1.1.2.7
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/linux/linux_idr.c@1.1.2.10 / diff / nxr@1.1.2.10
Rewrite idr to use a dumber algorithm that admits pserialized use.
drm2 doesn't use them with RCU, but it does use them under spin locks,
so an rwlock is not kosher.
This algorithm is super-dumb, but the idr API has changed upstream,
and this is not performance-critical, so it's not worth investing
time in a better algorithm at the moment.
drm2 doesn't use them with RCU, but it does use them under spin locks,
so an rwlock is not kosher.
This algorithm is super-dumb, but the idr API has changed upstream,
and this is not performance-critical, so it's not worth investing
time in a better algorithm at the moment.
riastradh-drm2 commitmail json YAML
flush_workqueue should work now, so don't work around it i915 unload.
riastradh-drm2 commitmail json YAML
i915_gem_context_close destroys the idr; i915_driver_postclose needn't.
riastradh-drm2 commitmail json YAML
Detach framebuffer stuff before drm device in i915drm_detach.
Detaching the drm device calls the i915_driver_unload routine, which
nukes the i915 private data structures, so that we can't use them any
more to detach the framebuffer.
Now i915drm2 unloads!
Detaching the drm device calls the i915_driver_unload routine, which
nukes the i915 private data structures, so that we can't use them any
more to detach the framebuffer.
Now i915drm2 unloads!
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.32
/
diff
/
nxr@1.1.1.1.2.32
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.16 / diff / nxr@1.1.1.1.2.16
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.16 / diff / nxr@1.1.1.1.2.16
Initialize and destroy the pending flip lock.
riastradh-drm2 commitmail json YAML
Avoid dividing by zero when allocating empty array in kcalloc.
riastradh-drm2 commitmail json YAML
Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.
riastradh-drm2 commitmail json YAML
Initialize the workqueue flush structures correctly.
riastradh-drm2 commitmail json YAML
Make Linux workqueues at IPL_VM for now.
riastradh-drm2 commitmail json YAML
Pass the wq to linux_worker as it expects, not NULL.
riastradh-drm2 commitmail json YAML
Actually insert the delayed work into the workqueue.
riastradh-drm2 commitmail json YAML
Helps to actually allocate and free the workqueue memory!
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/workqueue.h@1.1.2.12
/
diff
/
nxr@1.1.2.12
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.2 / diff / nxr@1.1.2.2
Add flush_scheduled_work back.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/drm/drm_module.c@1.1.2.7
/
diff
/
nxr@1.1.2.7
src/sys/external/bsd/drm2/include/linux/workqueue.h@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drm2/Makefile@1.1.2.43 / diff / nxr@1.1.2.43
src/sys/external/bsd/drm2/include/linux/workqueue.h@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/linux/linux_work.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drm2/Makefile@1.1.2.43 / diff / nxr@1.1.2.43
First (plausible) draft of Linux workqueue implementation rework.
Untested, but this looks better than what was there before, or any of
the drafts leading up to this which got torn out of the typewriter,
crumpled up, and crudely tossed in frustration toward the wastepaper
basket by my desk alongside the empty bottles of Jack Daniels that
fueled them, or something like that.
Can't use multiple CPUs per workqueue. That requires some explicit
management of per-CPU workqueue state, since NetBSD's workqueue(9)
doesn't provide that or cancellation or flushing. Oops.
Untested, but this looks better than what was there before, or any of
the drafts leading up to this which got torn out of the typewriter,
crumpled up, and crudely tossed in frustration toward the wastepaper
basket by my desk alongside the empty bottles of Jack Daniels that
fueled them, or something like that.
Can't use multiple CPUs per workqueue. That requires some explicit
management of per-CPU workqueue state, since NetBSD's workqueue(9)
doesn't provide that or cancellation or flushing. Oops.
riastradh-drm2 commitmail json YAML
First draft of genfb attachment for i915.
riastradh-drm2 commitmail json YAML
Rework Linux `work' to use NetBSD workqueues, not callouts.
Callers expect to be able to allocate in the workers, which callouts
don't allow.
Delayed work uses callouts only to delay enqueueing work.
Linux `workqueues' are still stubs.
Callers expect to be able to allocate in the workers, which callouts
don't allow.
Delayed work uses callouts only to delay enqueueing work.
Linux `workqueues' are still stubs.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c@1.1.1.1.2.3
/
diff
/
nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c@1.1.1.1.2.9 / diff / nxr@1.1.1.1.2.9
src/sys/external/bsd/drm2/dist/drm/i915/intel_drv.h@1.1.1.1.2.5 / diff / nxr@1.1.1.1.2.5
src/sys/external/bsd/drm2/dist/include/drm/drm_fb_helper.h@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/i915drm/intel_fb.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/modules/drm2/Makefile@1.1.2.42 / diff / nxr@1.1.2.42
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c@1.1.1.1.2.9 / diff / nxr@1.1.1.1.2.9
src/sys/external/bsd/drm2/dist/drm/i915/intel_drv.h@1.1.1.1.2.5 / diff / nxr@1.1.1.1.2.5
src/sys/external/bsd/drm2/dist/include/drm/drm_fb_helper.h@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/i915drm/intel_fb.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/modules/drm2/Makefile@1.1.2.42 / diff / nxr@1.1.2.42
Round of hacking on i915 framebuffers.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_crtc.c@1.1.1.1.2.19
/
diff
/
nxr@1.1.1.1.2.19
src/sys/external/bsd/drm2/dist/drm/i915/intel_panel.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/modules/i915drm2/Makefile@1.1.2.11 / diff / nxr@1.1.2.11
src/sys/external/bsd/drm2/dist/drm/i915/intel_panel.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/modules/i915drm2/Makefile@1.1.2.11 / diff / nxr@1.1.2.11
Omit more needless #ifdef __NetBSD__.
riastradh-drm2 commitmail json YAML
Fix DRM_WAIT_UNTIL to initialize (RET) on every exit.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/device.h@1.1.2.5
/
diff
/
nxr@1.1.2.5
src/sys/external/bsd/drm2/include/linux/kernel.h@1.1.2.22 / diff / nxr@1.1.2.22
src/sys/external/bsd/drm2/include/linux/notifier.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/printk.h@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/include/linux/sysrq.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/kernel.h@1.1.2.22 / diff / nxr@1.1.2.22
src/sys/external/bsd/drm2/include/linux/notifier.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/printk.h@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/include/linux/sysrq.h@1.1.2.2 / diff / nxr@1.1.2.2
Miscellaneous Linux header file crud.
riastradh-drm2 commitmail json YAML
Create Linux spin locks at IPL_VM for now.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.53
/
diff
/
nxr@1.1.1.1.2.53
src/sys/external/bsd/drm2/drm/drm_memory.c@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/drm/drm_memory.c@1.1.2.8 / diff / nxr@1.1.2.8
Simplify drm_ioremap and map only what is requested, exclusively.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.31
/
diff
/
nxr@1.1.1.1.2.31
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.15 / diff / nxr@1.1.1.1.2.15
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.6 / diff / nxr@1.1.2.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.15 / diff / nxr@1.1.1.1.2.15
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.6 / diff / nxr@1.1.2.6
Still more error branch cleanup.
riastradh-drm2 commitmail json YAML
Hook up some GTT logic again in i915_driver_load.
riastradh-drm2 commitmail json YAML
Use the cached mmio bar information to map the GTT.
riastradh-drm2 commitmail json YAML
i915_gem_cleanup_stolen need not take down mm.stolen after all.
The one caller, i915_driver_unload, already takes care of this.
Having i915_gem_cleanup_stolen do it is obviously the right thing,
but this state of affairs reduces diffs to upstream.
The one caller, i915_driver_unload, already takes care of this.
Having i915_gem_cleanup_stolen do it is obviously the right thing,
but this state of affairs reduces diffs to upstream.
riastradh-drm2 commitmail json YAML
Just use bus_space_map for io-mapping, and limit to one at a time.
Reserving the whole region interferes with other parts of the driver
which want to map it in different ways. It also horrifically wastes
space when actually mapped, because there's no way to map a subregion
of a reservation. And the bus_space_reservation API is x86-only at
the moment.
Reserving the whole region interferes with other parts of the driver
which want to map it in different ways. It also horrifically wastes
space when actually mapped, because there's no way to map a subregion
of a reservation. And the bus_space_reservation API is x86-only at
the moment.
riastradh-drm2 commitmail json YAML
linux_ namespace for kmap and kunmap.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/highmem.h@1.1.2.4
/
diff
/
nxr@1.1.2.4
src/sys/external/bsd/drm2/linux/linux_kmap.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/linux/linux_kmap.c@1.1.2.3 / diff / nxr@1.1.2.3
Fix kunmap: unlike kunmap_atomic, it takes a page, not a vaddr.
Unmapping the vaddr where the struct vm_page is stored makes for a
rather confusing state of affairs!
Unmapping the vaddr where the struct vm_page is stored makes for a
rather confusing state of affairs!
riastradh-drm2 commitmail json YAML
Use the 64-bit PCI DMA tag if available.
Otherwise, it can't handle >32-bit physical addresses, which
uvm_obj_wirepages seems to have a tendency to return.
Otherwise, it can't handle >32-bit physical addresses, which
uvm_obj_wirepages seems to have a tendency to return.
riastradh-drm2 commitmail json YAML
Fix arithmetic in gen6_ggtt_bind_object.
riastradh-drm2 commitmail json YAML
Sprinkle some kasserts into i915_gem_gtt.c.
riastradh-drm2 commitmail json YAML
Specify the ring map type as _DRM_REGISTERS.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_context.c@1.1.1.1.2.7
/
diff
/
nxr@1.1.1.1.2.7
src/sys/external/bsd/drm2/dist/drm/drm_crtc.c@1.1.1.1.2.18 / diff / nxr@1.1.1.1.2.18
src/sys/external/bsd/drm2/dist/drm/drm_edid.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/drm/drm_gem.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/drm_global.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/dist/drm/drm_irq.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.52 / diff / nxr@1.1.1.1.2.52
src/sys/external/bsd/drm2/dist/include/drm/drm_crtc.h@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h@1.1.1.1.2.5 / diff / nxr@1.1.1.1.2.5
src/sys/modules/drm2/Makefile@1.1.2.41 / diff / nxr@1.1.2.41
src/sys/external/bsd/drm2/dist/drm/drm_crtc.c@1.1.1.1.2.18 / diff / nxr@1.1.1.1.2.18
src/sys/external/bsd/drm2/dist/drm/drm_edid.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/drm/drm_gem.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/drm_global.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/dist/drm/drm_irq.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.52 / diff / nxr@1.1.1.1.2.52
src/sys/external/bsd/drm2/dist/include/drm/drm_crtc.h@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h@1.1.1.1.2.5 / diff / nxr@1.1.1.1.2.5
src/sys/modules/drm2/Makefile@1.1.2.41 / diff / nxr@1.1.2.41
Remove some more needless #ifdef __NetBSD__.
riastradh-drm2 commitmail json YAML
Unconditionally avoid arithmetic on void * in drm_bufs.c.
riastradh-drm2 commitmail json YAML
Unconditionally avoid arithmetic on void * in drm_buffer.c.
riastradh-drm2 commitmail json YAML
Use Linux atomics, not spinlocks or NetBSD atomics in drm_auth.c.
Removes an #ifdef __NetBSD__.
Removes an #ifdef __NetBSD__.
riastradh-drm2 commitmail json YAML
Add Linux ATOMIC_INIT, atomic_inc_return, and atomic_dec_return.
riastradh-drm2 commitmail json YAML
Remove #ifdef __NetBSD__ from const fixes in dvo_ch7xxx.c.
riastradh-drm2 commitmail json YAML
Check that GEM wired pages use at most 40 bits of physical addresses.
Can't express this constraint to uvm_obj_wirepages at the moment, so
at least fail early and noisily if we violate it.
Can't express this constraint to uvm_obj_wirepages at the moment, so
at least fail early and noisily if we violate it.
riastradh-drm2 commitmail json YAML
The bus_dmamap_load_raw got moved to i915_gem_gtt but not committed.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.28
/
diff
/
nxr@1.1.1.1.2.28
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.12 / diff / nxr@1.1.1.1.2.12
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.12 / diff / nxr@1.1.1.1.2.12
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
Use dev->struct_mutex, not drm_global_mutex, for ring->irq_queue.
riastradh-drm2 commitmail json YAML
Fix result of DRM_TIMED_WAIT_UNTIL.
This has to return a positive number of ticks left if we haven't
timed out in order to match the semantics of Linux waitqueues.
This also fixes the amount of time for timeout if we ever wait for
more than one iteration.
Now we can actually wait for results from the ring buffers!
This has to return a positive number of ticks left if we haven't
timed out in order to match the semantics of Linux waitqueues.
This also fixes the amount of time for timeout if we ever wait for
more than one iteration.
Now we can actually wait for results from the ring buffers!
riastradh-drm2 commitmail json YAML
More error branch cleanup.
riastradh-drm2 commitmail json YAML
Destroy the mutex too in destroy_completion.
riastradh-drm2 commitmail json YAML
More little error branch cleanup.
riastradh-drm2 commitmail json YAML
Implement destroy_completion in <linux/completion.h>.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.26
/
diff
/
nxr@1.1.1.1.2.26
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.1.1.1.2.16 / diff / nxr@1.1.1.1.2.16
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.1.1.1.2.16 / diff / nxr@1.1.1.1.2.16
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.11 / diff / nxr@1.1.1.1.2.11
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c@1.1.1.1.2.6 / diff / nxr@1.1.1.1.2.6
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.3 / diff / nxr@1.1.2.3
Fix a bunch of i915 error branches.
Some of these fixes are necessary only on NetBSD because we require
mutex_destroy, while Linux doesn't.
Some of these fixes are necessary only on NetBSD because we require
mutex_destroy, while Linux doesn't.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c@1.1.1.1.2.5
/
diff
/
nxr@1.1.1.1.2.5
src/sys/external/bsd/drm2/i915drm/intel_pm.c deleted
src/sys/modules/i915drm2/Makefile@1.1.2.10 / diff / nxr@1.1.2.10
src/sys/external/bsd/drm2/i915drm/intel_pm.c deleted
src/sys/modules/i915drm2/Makefile@1.1.2.10 / diff / nxr@1.1.2.10
Adapt intel_pm.c to NetBSD. Drop stubs.
riastradh-drm2 commitmail json YAML
Add missing includes to intel_pm.c.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/jiffies.h@1.1.2.5
/
diff
/
nxr@1.1.2.5
src/sys/external/bsd/drm2/include/linux/kernel.h@1.1.2.21 / diff / nxr@1.1.2.21
src/sys/external/bsd/drm2/include/linux/kgdb.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/workqueue.h@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/include/linux/kernel.h@1.1.2.21 / diff / nxr@1.1.2.21
src/sys/external/bsd/drm2/include/linux/kgdb.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/workqueue.h@1.1.2.9 / diff / nxr@1.1.2.9
Buncha new cruft for <linux/*.h>.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/drm_crtc.c@1.1.1.1.2.17
/
diff
/
nxr@1.1.1.1.2.17
src/sys/modules/drm2/Makefile@1.1.2.40 / diff / nxr@1.1.2.40
src/sys/modules/drm2/Makefile@1.1.2.40 / diff / nxr@1.1.2.40
Use -Wno-shadow, not a cpp kludge, for drm_crtc.c's local min/max.
riastradh-drm2 commitmail json YAML
Shift the GTT size by twenty only once.
riastradh-drm2 commitmail json YAML
Use the _unlocked variant of unreference in drm_gem_pager_detach.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c@1.1.1.1.2.14
/
diff
/
nxr@1.1.1.1.2.14
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.10 / diff / nxr@1.1.1.1.2.10
Hook up the i915_gem uvm pager ops.
riastradh-drm2 commitmail json YAML
Use pmap_enter_default, not pmap_enter.
Seems to be a problem with modules referring to weak aliases?
Seems to be a problem with modules referring to weak aliases?
riastradh-drm2 commitmail json YAML
Helps to commit all my changes to drm_cache.c.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.25
/
diff
/
nxr@1.1.1.1.2.25
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.h@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
src/sys/external/bsd/drm2/i915drm/intel_pm.c@1.1.2.5 / diff / nxr@1.1.2.5
src/sys/external/bsd/drm2/i915drm/intel_ringbuffer.c deleted
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.h@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
src/sys/external/bsd/drm2/i915drm/intel_pm.c@1.1.2.5 / diff / nxr@1.1.2.5
src/sys/external/bsd/drm2/i915drm/intel_ringbuffer.c deleted
Adapt the Intel ringbuffer code to NetBSD.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.1.1.1.2.15
/
diff
/
nxr@1.1.1.1.2.15
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c@1.1.1.1.2.4 / diff / nxr@1.1.1.1.2.4
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_tiling.c@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/i915drm/i915_gem.c deleted
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/intel_gtt.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/i915drm2/Makefile@1.1.2.9 / diff / nxr@1.1.2.9
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c@1.1.1.1.2.4 / diff / nxr@1.1.1.1.2.4
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_tiling.c@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/sys/external/bsd/drm2/i915drm/i915_gem.c deleted
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/external/bsd/drm2/i915drm/intel_gtt.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/i915drm2/Makefile@1.1.2.9 / diff / nxr@1.1.2.9
Adapt the i915 GEM code to NetBSD.
riastradh-drm2 commitmail json YAML
Simplify drm_mem_util.h; fix source compatibility for drm_free_large.
riastradh-drm2 commitmail json YAML
Add missing initialization of dev->dmat in drm_pci_attach.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/drm/drm_gem_vm.c@1.1.2.2
/
diff
/
nxr@1.1.2.2
src/sys/external/bsd/drm2/drm/drm_scatter.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/drm/drm_scatter.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/drm/drm_vm.c@1.1.2.2 / diff / nxr@1.1.2.2
Avoid the PAGE_MASK mess in drm_gem_vm.c, drm_scatter.c, & drm_vm.c.
riastradh-drm2 commitmail json YAML
intel_ringbuffer.c needs <asm/param.h> for HZ.
riastradh-drm2 commitmail json YAML
Add missing includes to i915_gem_execbuffer.c.
riastradh-drm2 commitmail json YAML
Add missing includes to i915_gem.c.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.1.1.1.2.51
/
diff
/
nxr@1.1.1.1.2.51
src/sys/external/bsd/drm2/drm/drm_cache.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drm2/Makefile@1.1.2.39 / diff / nxr@1.1.2.39
src/sys/external/bsd/drm2/drm/drm_cache.c@1.1.2.1 / diff / nxr@1.1.2.1
src/sys/modules/drm2/Makefile@1.1.2.39 / diff / nxr@1.1.2.39
Implement drm_cache.c, for x86 only at the moment.
riastradh-drm2 commitmail json YAML
Rework Intel GTT abstraction to use bus_dma.
riastradh-drm2 commitmail json YAML
Implement a bus_dmamem_wire_uvm_object hack.
This is fit only for x86 at the moment -- it parrots the x86
bus_dmamem_alloc code but with uvm_obj_wirepages instead of
uvm_pglistalloc.
XXX THIS IS A MEGA-KLUDGE THAT NEEDS TO BE DONE PROPERLY.
This is fit only for x86 at the moment -- it parrots the x86
bus_dmamem_alloc code but with uvm_obj_wirepages instead of
uvm_pglistalloc.
XXX THIS IS A MEGA-KLUDGE THAT NEEDS TO BE DONE PROPERLY.
riastradh-drm2 commitmail json YAML
Rename delayed_work::dw_work to delayed_work::work for Linux source.
riastradh-drm2 commitmail json YAML
Fix definition of Linux PAGE_ALIGN in <linux/mm.h>.
Can't use uvm round_page because that depends on PAGE_MASK, whose
sense we have to invert for Linux! Plurgh.
Can't use uvm round_page because that depends on PAGE_MASK, whose
sense we have to invert for Linux! Plurgh.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/include/linux/jiffies.h@1.1.2.4
/
diff
/
nxr@1.1.2.4
src/sys/external/bsd/drm2/include/linux/log2.h@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/include/linux/pagemap.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/time.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/timer.h@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/include/linux/types.h@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/include/linux/log2.h@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/include/linux/pagemap.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/time.h@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/include/linux/timer.h@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/include/linux/types.h@1.1.2.8 / diff / nxr@1.1.2.8
More miscellaneous Linux header cruft. See patch for details.
riastradh-drm2 commitmail json YAML
Add Linuxoid non-atomic __set/clear_bit to <linux/bitops.h>.
riastradh-drm2 commitmail json YAML
Fix Linux atomic set/clear/change_bit to work on arrays.
riastradh-drm2 commitmail json YAML
Add ERESTARTSYS as a Linuxoid alias for ERESTART.
riastradh-drm2 commitmail json YAML
Add trace_i915_gem_object_unbind.
riastradh-drm2 commitmail json YAML
Add some copy_to/from_user variants to Linux <asm/uaccess.h>.
riastradh-drm2 commitmail json YAML
Define page_to_phys in Linux <asm/io.h>.
riastradh-drm2 commitmail json YAML
Decrement sc_opencount on drm_close.
riastradh-drm2 commitmail json YAML
Destroy context_idr and mm.lock in i915_driver_postclose.
riastradh-drm2 commitmail json YAML
Fix sense of atomic_cas loop condition and use kassertmsg for krefs.
riastradh-drm2 commitmail json YAML
Restore config `drm' attribute in sys/conf/files.
Not sure why this started to be necessary after the merge, but
whatever...
Not sure why this started to be necessary after the merge, but
whatever...
riastradh-drm2 commitmail json YAML
Initialize and destroy drm_global_mutex on module init/fini.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c@1.1.1.1.2.23
/
diff
/
nxr@1.1.1.1.2.23
src/sys/external/bsd/drm2/pci/drm_pci.c@1.1.2.8 / diff / nxr@1.1.2.8
src/sys/external/bsd/drm2/pci/drm_pci.c@1.1.2.8 / diff / nxr@1.1.2.8
Use PCI_BAR(m), not PCI_MAPREG_START + m, which is wrong.
riastradh-drm2 commitmail json YAML
Don't cancel rps.work or hotplug_work in i915_driver_unload.
These are cancelled in intel_modeset_cleanup.
These are cancelled in intel_modeset_cleanup.
riastradh-drm2 commitmail json YAML
Call drm_vblank_cleanup in drm_detach.
riastradh-drm2 commitmail json YAML
Initialize mm.retire_work in i915_gem_load stub.
riastradh-drm2 commitmail json YAML
Use mdelay for msleep of less than one tick.
riastradh-drm2 commitmail json YAML
Destroy locks in i915_driver_unload.
riastradh-drm2 commitmail json YAML
Ifdef out gtt unmapping for now in i915_driver_unload.
riastradh-drm2 commitmail json YAML
Enable drm_debug by default for now.
riastradh-drm2 commitmail json YAML
Clean up the waitqueue and locks in drm_vblank_cleanup.
riastradh-drm2 commitmail json YAML
Destroy mode config locks in drm_mode_config_cleanup.
riastradh-drm2 commitmail json YAML
Rework error branches of idr_get_new_above.
Return ENOSPC if we're about to overflow int.
Return ENOSPC if we're about to overflow int.
riastradh-drm2 commitmail json YAML
Actually return the new id in idr_get_new_above.
riastradh-drm2 commitmail json YAML
Don't redundantly cancel mm.retire_work or error_work.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/i915drm/i915_irq.c deleted
src/sys/external/bsd/drm2/i915drm/intel_pm.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/i915drm/intel_ringbuffer.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/drm2/i915drm/intel_pm.c@1.1.2.4 / diff / nxr@1.1.2.4
src/sys/external/bsd/drm2/i915drm/intel_ringbuffer.c@1.1.2.2 / diff / nxr@1.1.2.2
Kludge up i915 stubs and start using the real i915_irq.c.
riastradh-drm2 commitmail json YAML
Allow kfree(NULL).
riastradh-drm2 commitmail json YAML
Initialize dev->dev, dev->primary, and dev->control in drm_attach.
riastradh-drm2 commitmail json YAML
Convert i915_irq.c to use DRM_IRQ_ARGS in irq handlers.
riastradh-drm2 commitmail json YAML
Add assert_spin_locked to <linux/spinlock.h>.
riastradh-drm2 commitmail json YAML
Stub out intel_gtt initialization until we' ready for gem stuff.
riastradh-drm2 commitmail json YAML
Stub out the content, not definition, of intel_console_resume.
riastradh-drm2 commitmail json YAML
Fix sense of kassert in kcalloc.
riastradh-drm2 commitmail json YAML
Add i915_hangcheck_elapsed stub.
riastradh-drm2 commitmail json YAML
Add intel_irq_init stub.
riastradh-drm2 commitmail json YAML
Add intel_gt_init stub.
riastradh-drm2 commitmail json YAML
Add i1915_setup_sysfs stub.
riastradh-drm2 commitmail json YAML
Use a non-NULL value for bogus <linux/workqueue.h> stubs.
riastradh-drm2 commitmail json YAML
Initialize PCI memory maps and bus space/dma tags in drm_pci_attach.
riastradh-drm2 commitmail json YAML
Let drm_fill_in_dev initialize dev->driver after all.
riastradh-drm2 commitmail json YAML
Little stab at making drm_attach fail more gracefully.
riastradh-drm2 commitmail json YAML
Mega-kludge: reverse sense of PAGE_MASK in <linux/mm.h>.
riastradh-drm2 commitmail json YAML
Offset mmio_bar by PCI_MAPREG_START in i915_dma_attach.
riastradh-drm2 commitmail json YAML
Set num_ioctls and enable DRIVER_MODESET in i915 module init.
riastradh-drm2 commitmail json YAML
Call drm_pci_init/exit on i915drm2 module load/unload.
riastradh-drm2 commitmail json YAML
Move driver->bus setting to drm_pci_init.
riastradh-drm2 commitmail json YAML
Fill in files.drm2 a little.
riastradh-drm2 commitmail json YAML
Call dev->driver->load in drm_attach.
riastradh-drm2 commitmail json YAML
Pass drm_config_found arguments via explicit struct drm_attach_args.
riastradh-drm2 commitmail json YAML
Fill in drm_detach some more.
riastradh-drm2 commitmail json YAML
Destroy the idr in drm_ctxbitmap_cleanup.
riastradh-drm2 commitmail json YAML
Destroy mm->unused_lock in drm_mm_takedown.
riastradh-drm2 commitmail json YAML
Manage an opencount for each drm device to block drm_detach.
riastradh-drm2 commitmail json YAML
Initialize sc->sc_drm_dev in drm_attach.
riastradh-drm2 commitmail json YAML
src/sys/external/bsd/drm2/drm/drm_drv.c@1.1.2.13
/
diff
/
nxr@1.1.2.13
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/external/bsd/drm2/i915drm/i915_pci.c@1.1.2.3 / diff / nxr@1.1.2.3
Fix up drm attachment code.
riastradh-drm2 commitmail json YAML
Destroy gmbus_mutex in intel_teardown_gmbus.
riastradh-drm2 commitmail json YAML
Make drm_pci_agp_init succeed for now.
riastradh-drm2 commitmail json YAML
Initialize sc->sc_drm_dev->driver = i915_drm_driver in i915drm_attach.
riastradh-drm2 commitmail json YAML
Constify bus member of struct drm_driver.
riastradh-drm2 commitmail json YAML
Initialize dev->driver->bus in drm_pci_attach.
riastradh-drm2 commitmail json YAML
src/sys/arch/amd64/conf/NO_DRM@1.1.2.1
/
diff
/
nxr@1.1.2.1
src/sys/conf/files@1.1077.2.1 / diff / nxr@1.1077.2.1
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/conf/files@1.1077.2.1 / diff / nxr@1.1077.2.1
src/sys/external/bsd/drm2/conf/files.drm2@1.1.2.3 / diff / nxr@1.1.2.3
Provisional NO_DRM config for testing with a module.
Too much trouble to keep this as an uncommitted change...
Too much trouble to keep this as an uncommitted change...
riastradh-drm2 commitmail json YAML
Stub out ironlake_teardown_rc6 in intel_pm.c too.