CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2014-03-07 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Mar  7 15:39:18 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: completion.h

Log Message:
Fix return value of wait_for_completion_interruptible_timeout.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/external/bsd/drm2/include/linux/completion.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-03-07 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Mar  7 15:39:08 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Make gem mmappings shared, not copy-on-write, like Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.37 -r1.1.2.38 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Mar  6 00:32:39 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_gem.c

Log Message:
Take the vmobjlock in i915_gem_release_mmap around pmap_page_protect.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.21 -r1.1.1.1.2.22 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev/pci

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 22:18:19 UTC 2014

Modified Files:
src/sys/dev/pci [riastradh-drm2]: agp_i810.c agp_i810var.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.73.26.1 -r1.73.26.2 src/sys/dev/pci/agp_i810.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/dev/pci/agp_i810var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 22:18:27 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 22:17:59 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: intel_gtt.c

Log Message:
Kludgey attempt to fill in intel_gtt stubs.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/external/bsd/drm2/i915drm/intel_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 22:18:10 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_gem.c
intel_display.c
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]:
drm_wait_netbsd.h

Log Message:
Implement and use non-interruptible DRM_WAIT_* gizmos.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.20 -r1.1.1.1.2.21 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.1.1.1.2.9 -r1.1.1.1.2.10 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/drm

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 15:08:00 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]: intel-gtt.h

Log Message:
Oops -- define struct intel_gtt::do_idle_maps.

Missed this in last commit.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/include/drm/intel-gtt.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 14:45:00 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev/pci

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 14:42:41 UTC 2014

Modified Files:
src/sys/dev/pci [riastradh-drm2]: agp_i810.c
Added Files:
src/sys/dev/pci [riastradh-drm2]: agp_i810var.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.26.1 src/sys/dev/pci/agp_i810.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/dev/pci/agp_i810var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-03-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Mar  5 14:42:27 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Handle attach failure and don't try a framebuffer in i915 on failure.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.57 -r1.1.1.1.2.58 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 \
src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-03-05 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Wed Mar  5 08:45:06 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
revert to bogus assertion, as requested by riastradh@ to ease forecoming commit


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-03-04 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Tue Mar  4 22:14:12 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
do not KASSERT out on Sandy Bridge


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/modules

2014-03-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Mar  4 20:46:14 UTC 2014

Removed Files:
src/sys/modules/drm2 [riastradh-drm2]: Makefile Makefile.inc drm.ioconf
src/sys/modules/i915drm2 [riastradh-drm2]: Makefile i915drm.ioconf

Log Message:
Remove drm2 and i915drm2 modules.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.44 -r0 src/sys/modules/drm2/Makefile
cvs rdiff -u -r1.1.2.4 -r0 src/sys/modules/drm2/Makefile.inc
cvs rdiff -u -r1.1.2.2 -r0 src/sys/modules/drm2/drm.ioconf
cvs rdiff -u -r1.1.2.12 -r0 src/sys/modules/i915drm2/Makefile
cvs rdiff -u -r1.1.2.2 -r0 src/sys/modules/i915drm2/i915drm.ioconf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2014-03-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Mar  4 20:45:17 UTC 2014

Modified Files:
src/sys/conf [riastradh-drm2]: files majors
src/sys/dev/pci [riastradh-drm2]: files.pci
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_fops.c
drm_module.c drm_vm.c
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_module.c
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]: drm_os_netbsd.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c
src/sys/external/bsd/drm2/pci [riastradh-drm2]: drm_pci_module.c
Added Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: files.drmkms
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: files.i915drmkms
src/sys/external/bsd/drm2/linux [riastradh-drm2]: files.drmkms_linux
linux_module.c
src/sys/external/bsd/drm2/pci [riastradh-drm2]: files.drmkms_pci
src/sys/modules/drmkms [riastradh-drm2]: Makefile Makefile.inc
drmkms.ioconf
src/sys/modules/drmkms_linux [riastradh-drm2]: Makefile
src/sys/modules/drmkms_pci [riastradh-drm2]: Makefile
src/sys/modules/i915drmkms [riastradh-drm2]: Makefile i915drmkms.ioconf
Removed Files:
src/sys/external/bsd/drm2/conf [riastradh-drm2]: files.drm2

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1077.2.3 -r1.1077.2.4 src/sys/conf/files
cvs rdiff -u -r1.66.6.1 -r1.66.6.2 src/sys/conf/majors
cvs rdiff -u -r1.364.6.2 -r1.364.6.3 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.1.2.7 -r0 src/sys/external/bsd/drm2/conf/files.drm2
cvs rdiff -u -r1.1.1.1.2.56 -r1.1.1.1.2.57 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.35 -r1.1.2.36 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/external/bsd/drm2/drm/drm_fops.c
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/external/bsd/drm2/drm/drm_module.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/external/bsd/drm2/drm/drm_vm.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/external/bsd/drm2/drm/files.drmkms
cvs rdiff -u -r0 -r1.1.2.1 src/sys/external/bsd/drm2/i915drm/files.i915drmkms
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/i915drm/i915_module.c
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \
src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h
cvs rdiff -u -r0 -r1.1.2.1 src/sys/external/bsd/drm2/linux/files.drmkms_linux \
src/sys/external/bsd/drm2/linux/linux_module.c
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/external/bsd/drm2/linux/linux_work.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/external/bsd/drm2/pci/drm_pci_module.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/external/bsd/drm2/pci/files.drmkms_pci
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/drmkms/Makefile \
src/sys/modules/drmkms/Makefile.inc src/sys/modules/drmkms/drmkms.ioconf
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/drmkms_linux/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/drmkms_pci/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/i915drmkms/Makefile \
src/sys/modules/i915drmkms/i915drmkms.ioconf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev/wscons

2014-01-30 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan 30 17:18:51 UTC 2014

Modified Files:
src/sys/dev/wscons [riastradh-drm2]: wsdisplay_vcons.c

Log Message:
Make wsdisplay_vcons likelier to be modularizable too.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.28.4.1 src/sys/dev/wscons/wsdisplay_vcons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/arch/amd64/conf

2014-01-30 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan 30 17:18:15 UTC 2014

Modified Files:
src/sys/arch/amd64/conf [riastradh-drm2]: NO_DRM
Added Files:
src/sys/arch/amd64/conf [riastradh-drm2]: DRMKMS

Log Message:
Redo amd64/NO_DRM config and add amd64/DRMKMS.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/amd64/conf/DRMKMS
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/amd64/conf/NO_DRM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2014-01-30 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan 30 16:49:33 UTC 2014

Modified Files:
src/sys/dev/wsfb [riastradh-drm2]: files.wsfb
src/sys/external/bsd/drm2/conf [riastradh-drm2]: files.drm2

Log Message:
Tweak genfb tweaks so they work.


To generate a diff of this commit:
cvs rdiff -u -r1.7.30.1 -r1.7.30.2 src/sys/dev/wsfb/files.wsfb
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/external/bsd/drm2/conf/files.drm2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:52:12 UTC 2014

Modified Files:
src/sys/dev/wscons [riastradh-drm2]: wsdisplay_vconsvar.h
src/sys/dev/wsfb [riastradh-drm2]: genfb.c genfbvar.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/dev/wscons/wsdisplay_vconsvar.h
cvs rdiff -u -r1.50.8.2 -r1.50.8.3 src/sys/dev/wsfb/genfb.c
cvs rdiff -u -r1.21 -r1.21.24.1 src/sys/dev/wsfb/genfbvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/conf

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:47:54 UTC 2014

Modified Files:
src/sys/conf [riastradh-drm2]: majors

Log Message:
Give drmkms its own device major so it doesn't compete with old drm.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.66.6.1 src/sys/conf/majors

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:47:38 UTC 2014

Modified Files:
src/sys/conf [riastradh-drm2]: files
src/sys/dev/pci [riastradh-drm2]: files.pci
src/sys/dev/wsfb [riastradh-drm2]: files.wsfb
src/sys/external/bsd/drm2/conf [riastradh-drm2]: files.drm2
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_module.c
drm_vm.c
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_module.c
i915_pci.c
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: kgdb.h
src/sys/modules/drm2 [riastradh-drm2]: Makefile drm.ioconf
src/sys/modules/i915drm2 [riastradh-drm2]: Makefile i915drm.ioconf

Log Message:
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'.)


To generate a diff of this commit:
cvs rdiff -u -r1.1077.2.2 -r1.1077.2.3 src/sys/conf/files
cvs rdiff -u -r1.364.6.1 -r1.364.6.2 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.7 -r1.7.30.1 src/sys/dev/wsfb/files.wsfb
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/external/bsd/drm2/conf/files.drm2
cvs rdiff -u -r1.1.2.34 -r1.1.2.35 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/external/bsd/drm2/drm/drm_module.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/external/bsd/drm2/drm/drm_vm.c
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \
src/sys/external/bsd/drm2/i915drm/i915_module.c
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 \
src/sys/external/bsd/drm2/i915drm/i915_pci.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/include/linux/kgdb.h
cvs rdiff -u -r1.1.2.43 -r1.1.2.44 src/sys/modules/drm2/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/drm2/drm.ioconf
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/modules/i915drm2/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/i915drm2/i915drm.ioconf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev/wsfb

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:48:29 UTC 2014

Modified Files:
src/sys/dev/wsfb [riastradh-drm2]: genfb.c

Log Message:
Make genfb_attach configure the wsemuldisplaydev attribute.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.50.8.1 src/sys/dev/wsfb/genfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:48:14 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Make i915drm_match return 6 to beat genfb_pci no matter what.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \
src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/dev/wsfb

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:48:45 UTC 2014

Modified Files:
src/sys/dev/wsfb [riastradh-drm2]: genfb.c

Log Message:
Make genfb replay the msgbuf only if it's becoming the console.


To generate a diff of this commit:
cvs rdiff -u -r1.50.8.1 -r1.50.8.2 src/sys/dev/wsfb/genfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/arch/amd64/conf

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:46:51 UTC 2014

Modified Files:
src/sys/arch/amd64/conf [riastradh-drm2]: NO_DRM

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/amd64/conf/NO_DRM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 29 19:47:09 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 16:40:54 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_gem_vm.c

Log Message:
Little reference counting fix in drm_mmap.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.33 -r1.1.2.34 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/external/bsd/drm2/drm/drm_gem_vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 16:40:44 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_gem_vm.c
drm_vm.c

Log Message:
Tidy up and reuse the code I had already written for gem mmapping.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.55 -r1.1.1.1.2.56 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.32 -r1.1.2.33 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/drm/drm_gem_vm.c \
src/sys/external/bsd/drm2/drm/drm_vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 14:58:47 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/uapi/drm [riastradh-drm2]: drm.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_vm.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/uapi/drm/drm.h
cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/drm/drm_vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 14:58:20 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 14:58:29 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_buffer.c

Log Message:
Remove spurious newline to reduce diff from upstream.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/sys/external/bsd/drm2/dist/drm/drm_buffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 14:58:12 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_irq.c

Log Message:
Take irq_lock before waking up irq_queue in i915_handle_error.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.8 -r1.1.1.1.2.9 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 22 14:58:39 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Label fail4 is now used, so don't mark it __unused.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:50 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_kmap.c

Log Message:
Call uvm_vm_page_to_phys before taking a spin lock to ease debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/linux/linux_kmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:57:00 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_gem.c

Log Message:
Return EINTR too in __wait_seqno.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.19 -r1.1.1.1.2.20 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:40 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Call drm_mode_group_init_legacy_group in drm_attach like Linux does.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.30 -r1.1.2.31 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:20 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Initialize the right minor numbers...arg.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.28 -r1.1.2.29 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:00 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Remove vestige of wsdisplay XXX from drm_drv.c.

wsdisplay stuff happens in the parent driver now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.27 -r1.1.2.28 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:30 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Adjust errno from dev->driver->load.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.29 -r1.1.2.30 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:56:11 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_gem.c

Log Message:
uobj->pgops->pgo_put requires uobj->vmobjlock.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.18 -r1.1.1.1.2.19 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:50:21 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Oops -- unifdef  and  in drm_drv.c.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.26 -r1.1.2.27 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:49:29 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]: drm_mem_util.h

Log Message:
Just use kcalloc in drm_malloc_ab.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/include/drm/drm_mem_util.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:49:39 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Report st_rdev in stat on a drm device.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:49:10 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: slab.h

Log Message:
Make Linux kmalloc handle a few more gfp flags.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/external/bsd/drm2/include/linux/slab.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:48:52 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Fix i915_genfb_mmap base addresses and offsets.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/drm

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:49:20 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]:
drm_copy_netbsd.h

Log Message:
Fix order of arguments in DRM_COPY_TO_USER.

...


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \
src/sys/external/bsd/drm2/include/drm/drm_copy_netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 21 20:49:01 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_drv.h
i915_gem.c

Log Message:
i915_gem_object_get_page takes a page number, not byte offset.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.17 -r1.1.1.1.2.18 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 21:25:49 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: ktime.h

Log Message:
Initialize the nsec correctly in ktime_get.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \
src/sys/external/bsd/drm2/include/linux/ktime.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 21:25:29 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_irq.c
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c drm_fops.c

Log Message:
Hack up vblank events and make them work.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.10 -r1.1.1.1.2.11 \
src/sys/external/bsd/drm2/dist/drm/drm_irq.c
cvs rdiff -u -r1.1.1.1.2.54 -r1.1.1.1.2.55 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.24 -r1.1.2.25 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/external/bsd/drm2/drm/drm_fops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 21:25:39 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: ktime.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/include/linux/ktime.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 17:42:18 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_ioctl.c

Log Message:
Pesky ampersands!


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.5 -r1.1.1.1.2.6 \
src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 17:42:28 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Unconditionalize the genfb attachment.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:55:40 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_ioctl.c

Log Message:
Take master->lock.spinlock to read master->lock.hw_lock.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:54:03 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_module.c

Log Message:
Clean up initialization failures in drm2_modcmd.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/external/bsd/drm2/drm/drm_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:53:53 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_bufs.c
drm_context.c drm_stub.c
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_fops.c drm_lock.c

Log Message:
Rewrite drm locking support for NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.13 -r1.1.1.1.2.14 \
src/sys/external/bsd/drm2/dist/drm/drm_bufs.c
cvs rdiff -u -r1.1.1.1.2.7 -r1.1.1.1.2.8 \
src/sys/external/bsd/drm2/dist/drm/drm_context.c
cvs rdiff -u -r1.1.1.1.2.10 -r1.1.1.1.2.11 \
src/sys/external/bsd/drm2/dist/drm/drm_stub.c
cvs rdiff -u -r1.1.1.1.2.53 -r1.1.1.1.2.54 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/external/bsd/drm2/drm/drm_fops.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/drm/drm_lock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:53:42 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/conf [riastradh-drm2]: files.drm2
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
Clean up the still-not-yet-functional genfb attachment cruft a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/external/bsd/drm2/conf/files.drm2
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:39 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_fops.c

Log Message:
Add open drm files to the device file list.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/external/bsd/drm2/drm/drm_fops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:53:32 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c
i915_gem.c i915_irq.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.34 -r1.1.1.1.2.35 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
cvs rdiff -u -r1.1.1.1.2.16 -r1.1.1.1.2.17 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.1.1.1.2.7 -r1.1.1.1.2.8 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/pci

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:53:20 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/pci [riastradh-drm2]: drm_pci.c

Log Message:
Implement drm_pci_set_busid and drm_pci_set_unique.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/external/bsd/drm2/pci/drm_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:49 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]:
intel_ringbuffer.c

Log Message:
Destroy the waitqueue ring->irq_queue in intel_cleanup_ring_buffer.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.10 -r1.1.1.1.2.11 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:53:09 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]:
i915_gem_context.c

Log Message:
Drop another reference in do_destroy if the context is current.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:59 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_mm.c

Log Message:
Make it a bug to drm_mm_takedown when there remain allocated blocks.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/sys/external/bsd/drm2/dist/drm/drm_mm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:51:58 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: idr.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_idr.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/include/linux/idr.h
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \
src/sys/external/bsd/drm2/linux/linux_idr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:09 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_drv.h

Log Message:
Lock the right uvmobject for uvm_pagelookup.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.16 -r1.1.1.1.2.17 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:30 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_drv.c

Log Message:
Fix copyoutstr usage in drm_version_string.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/sys/external/bsd/drm2/drm/drm_drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:52:20 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_ioctl.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2014-01-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 15 13:51:48 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: idr.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_idr.c

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \
src/sys/external/bsd/drm2/include/linux/idr.h
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 \
src/sys/external/bsd/drm2/linux/linux_idr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:52:21 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Don't put work flush items on the stack; worker kmem_frees them.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:53 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c

Log Message:
i915_gem_context_close destroys the idr; i915_driver_postclose needn't.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.32 -r1.1.1.1.2.33 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:52:11 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: idr.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_idr.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \
src/sys/external/bsd/drm2/include/linux/idr.h
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/external/bsd/drm2/linux/linux_idr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:24 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: slab.h

Log Message:
Avoid dividing by zero when allocating empty array in kcalloc.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/include/linux/slab.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:35 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c
i915_gem.c

Log Message:
Initialize and destroy the pending flip lock.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.31 -r1.1.1.1.2.32 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
cvs rdiff -u -r1.1.1.1.2.15 -r1.1.1.1.2.16 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:52:02 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c

Log Message:
flush_workqueue should work now, so don't work around it i915 unload.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.33 -r1.1.1.1.2.34 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:43 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:57 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Make Linux workqueues at IPL_VM for now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:21 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: workqueue.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Add flush_scheduled_work back.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \
src/sys/external/bsd/drm2/include/linux/workqueue.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:16 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_fb_helper.c

Log Message:
Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:48 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Pass the wq to linux_worker as it expects, not NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:51:06 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Initialize the workqueue flush structures correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:39 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Actually insert the delayed work into the workqueue.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/linux

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:30 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
Helps to actually allocate and free the workqueue memory!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/linux/linux_work.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2013-12-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 30 04:50:12 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_module.c
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: workqueue.h
src/sys/modules/drm2 [riastradh-drm2]: Makefile
Added Files:
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_work.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/external/bsd/drm2/drm/drm_module.c
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 \
src/sys/external/bsd/drm2/include/linux/workqueue.h
cvs rdiff -u -r0 -r1.1.2.1 src/sys/external/bsd/drm2/linux/linux_work.c
cvs rdiff -u -r1.1.2.42 -r1.1.2.43 src/sys/modules/drm2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:40:36 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: workqueue.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/external/bsd/drm2/include/linux/workqueue.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:41:07 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c

Log Message:
First draft of genfb attachment for i915.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/i915drm/i915_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:38:51 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_fb_helper.c
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]:
intel_display.c intel_drv.h
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]:
drm_fb_helper.h
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: intel_fb.c
src/sys/modules/drm2 [riastradh-drm2]: Makefile

Log Message:
Round of hacking on i915 framebuffers.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3 \
src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c
cvs rdiff -u -r1.1.1.1.2.8 -r1.1.1.1.2.9 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_drv.h
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3 \
src/sys/external/bsd/drm2/dist/include/drm/drm_fb_helper.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/external/bsd/drm2/i915drm/intel_fb.c
cvs rdiff -u -r1.1.2.41 -r1.1.2.42 src/sys/modules/drm2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:38:02 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_crtc.c
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: intel_panel.c
src/sys/modules/i915drm2 [riastradh-drm2]: Makefile

Log Message:
Omit more needless #ifdef __NetBSD__.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.18 -r1.1.1.1.2.19 \
src/sys/external/bsd/drm2/dist/drm/drm_crtc.c
cvs rdiff -u -r1.1.1.1.2.5 -r1.1.1.1.2.6 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_panel.c
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/modules/i915drm2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/drm

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:35:20 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/drm [riastradh-drm2]:
drm_wait_netbsd.h

Log Message:
Fix DRM_WAIT_UNTIL to initialize (RET) on every exit.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 \
src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:32:37 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: device.h
kernel.h notifier.h printk.h sysrq.h

Log Message:
Miscellaneous Linux header file crud.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
src/sys/external/bsd/drm2/include/linux/device.h
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 \
src/sys/external/bsd/drm2/include/linux/kernel.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/external/bsd/drm2/include/linux/notifier.h \
src/sys/external/bsd/drm2/include/linux/sysrq.h
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/external/bsd/drm2/include/linux/printk.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:31:14 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: spinlock.h

Log Message:
Create Linux spin locks at IPL_VM for now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
src/sys/external/bsd/drm2/include/linux/spinlock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:30:13 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
src/sys/external/bsd/drm2/drm [riastradh-drm2]: drm_memory.c

Log Message:
Simplify drm_ioremap and map only what is requested, exclusively.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.52 -r1.1.1.1.2.53 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/external/bsd/drm2/drm/drm_memory.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:28:27 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c
i915_gem.c
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
Still more error branch cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.30 -r1.1.1.1.2.31 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
cvs rdiff -u -r1.1.1.1.2.14 -r1.1.1.1.2.15 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:27:15 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c

Log Message:
Hook up some GTT logic again in i915_driver_load.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.29 -r1.1.1.1.2.30 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:22:29 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: i915_dma.c

Log Message:
Use the cached mmio bar information to map the GTT.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.28 -r1.1.1.1.2.29 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:20:45 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]:
i915_gem_stolen.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:19:15 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: io-mapping.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/include/linux/io-mapping.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:17:58 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: highmem.h

Log Message:
linux_ namespace for kmap and kunmap.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
src/sys/external/bsd/drm2/include/linux/highmem.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:16:37 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: highmem.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_kmap.c

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \
src/sys/external/bsd/drm2/include/linux/highmem.h
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/linux/linux_kmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/pci

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:15:17 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/pci [riastradh-drm2]: drm_pci.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/external/bsd/drm2/pci/drm_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:13:55 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_gem_gtt.c

Log Message:
Fix arithmetic in gen6_ggtt_bind_object.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Sep  8 16:12:26 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]:
intel_ringbuffer.c

Log Message:
Specify the ring map type as _DRM_REGISTERS.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.9 -r1.1.1.1.2.10 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   4   5   6   7   >