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/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/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/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/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/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/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/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/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/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/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/i915drm

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

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

Log Message:
Sprinkle some kasserts into i915_gem_gtt.c.


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_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

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

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

Log Message:
Shift the GTT size by twenty only once.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
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

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 04:04:45 UTC 2013

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

Log Message:
Initialize mm.retire_work in i915_gem_load stub.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/external/bsd/drm2/i915drm/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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 04:02:12 UTC 2013

Modified Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: intel_pm.c
intel_ringbuffer.c
Removed Files:
src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_irq.c

Log Message:
Kludge up i915 stubs and start using the real i915_irq.c.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r0 src/sys/external/bsd/drm2/i915drm/i915_irq.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/i915drm/intel_pm.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/external/bsd/drm2/i915drm/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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:59:48 UTC 2013

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

Log Message:
Add intel_irq_init stub.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/external/bsd/drm2/i915drm/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

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 04:00:02 UTC 2013

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

Log Message:
Add i915_hangcheck_elapsed stub.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/i915drm/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

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:59:19 UTC 2013

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

Log Message:
Add i1915_setup_sysfs stub.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/external/bsd/drm2/i915drm/i915_sysfs.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-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:59:34 UTC 2013

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

Log Message:
Add intel_gt_init stub.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/i915drm/intel_pm.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-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:57:33 UTC 2013

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

Log Message:
Set num_ioctls and enable DRIVER_MODESET in i915 module init.


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_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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:57:19 UTC 2013

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

Log Message:
Call drm_pci_init/exit on i915drm2 module load/unload.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/external/bsd/drm2/i915drm/i915_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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:54:01 UTC 2013

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

Log Message:
Initialize sc->sc_drm_dev->driver = i915_drm_driver in i915drm_attach.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 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

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:52:52 UTC 2013

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

Log Message:
Stub out ironlake_teardown_rc6 in intel_pm.c too.


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_pm.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-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:49:57 UTC 2013

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

Log Message:
drm2 module is still called `drm' for now, so fix i915drm2 depends.


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_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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:24:52 UTC 2013

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

Log Message:
Use %d, not %s, for the error number in i915_module.c.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/sys/external/bsd/drm2/i915drm/i915_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/i915drm

2013-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 24 03:14:49 UTC 2013

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

Log Message:
Add drm2edid to the commented list of what i915drm2 should depend on.


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

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