Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (8d) 

2024-05-20 12:51:54 UTC Now

2014-03-07 15:39:18 UTC riastradh-drm2 commitmail json YAML

Fix return value of wait_for_completion_interruptible_timeout.

(riastradh)

2014-03-07 15:39:08 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2014-03-06 00:32:39 UTC riastradh-drm2 commitmail json YAML

Take the vmobjlock in i915_gem_release_mmap around pmap_page_protect.

(riastradh)

2014-03-05 22:18:27 UTC 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.

(riastradh)

2014-03-05 22:18:19 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-03-05 22:18:10 UTC riastradh-drm2 commitmail json YAML

2014-03-05 22:17:59 UTC riastradh-drm2 commitmail json YAML

Kludgey attempt to fill in intel_gtt stubs.

(riastradh)

2014-03-05 15:08:00 UTC riastradh-drm2 commitmail json YAML

Oops -- define struct intel_gtt::do_idle_maps.

Missed this in last commit.

(riastradh)

2014-03-05 14:45:00 UTC 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.

(riastradh)

2014-03-05 14:42:41 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-03-05 14:42:27 UTC riastradh-drm2 commitmail json YAML

2014-03-05 08:45:06 UTC riastradh-drm2 commitmail json YAML

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

(aymeric)

2014-03-04 22:14:12 UTC riastradh-drm2 commitmail json YAML

2014-03-04 20:46:14 UTC riastradh-drm2 commitmail json YAML

2014-03-04 20:45:17 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-01-30 17:18:51 UTC riastradh-drm2 commitmail json YAML

Make wsdisplay_vcons likelier to be modularizable too.

(riastradh)

2014-01-30 17:18:15 UTC riastradh-drm2 commitmail json YAML

2014-01-30 16:49:33 UTC riastradh-drm2 commitmail json YAML

2014-01-29 19:52:12 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-01-29 19:48:45 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2014-01-29 19:48:29 UTC riastradh-drm2 commitmail json YAML

Make genfb_attach configure the wsemuldisplaydev attribute.

(riastradh)

2014-01-29 19:48:14 UTC riastradh-drm2 commitmail json YAML

Make i915drm_match return 6 to beat genfb_pci no matter what.

(riastradh)

2014-01-29 19:47:54 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2014-01-29 19:47:38 UTC riastradh-drm2 commitmail json YAML

2014-01-29 19:47:09 UTC 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.

(riastradh)

2014-01-29 19:46:51 UTC 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.

(riastradh)

2014-01-22 16:40:54 UTC riastradh-drm2 commitmail json YAML

2014-01-22 16:40:44 UTC riastradh-drm2 commitmail json YAML

2014-01-22 14:58:47 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-01-22 14:58:39 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2014-01-22 14:58:29 UTC riastradh-drm2 commitmail json YAML

Remove spurious newline to reduce diff from upstream.

(riastradh)

2014-01-22 14:58:20 UTC 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.

(riastradh)

2014-01-22 14:58:12 UTC riastradh-drm2 commitmail json YAML

Take irq_lock before waking up irq_queue in i915_handle_error.

(riastradh)

2014-01-21 20:57:00 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:56:50 UTC riastradh-drm2 commitmail json YAML

Call uvm_vm_page_to_phys before taking a spin lock to ease debugging.

(riastradh)

2014-01-21 20:56:40 UTC riastradh-drm2 commitmail json YAML

Call drm_mode_group_init_legacy_group in drm_attach like Linux does.

(riastradh)

2014-01-21 20:56:30 UTC riastradh-drm2 commitmail json YAML

Adjust errno from dev->driver->load.

(riastradh)

2014-01-21 20:56:20 UTC riastradh-drm2 commitmail json YAML

Initialize the right minor numbers...arghhhh.

(riastradh)

2014-01-21 20:56:11 UTC riastradh-drm2 commitmail json YAML

uobj->pgops->pgo_put requires uobj->vmobjlock.

(riastradh)

2014-01-21 20:56:00 UTC riastradh-drm2 commitmail json YAML

Remove vestige of wsdisplay XXX from drm_drv.c.

wsdisplay stuff happens in the parent driver now.

(riastradh)

2014-01-21 20:50:21 UTC riastradh-drm2 commitmail json YAML

Oops -- unifdef <sys/select.h> and <sys/poll.h> in drm_drv.c.

(riastradh)

2014-01-21 20:49:39 UTC riastradh-drm2 commitmail json YAML

Report st_rdev in stat on a drm device.

(riastradh)

2014-01-21 20:49:29 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:49:20 UTC riastradh-drm2 commitmail json YAML

Fix order of arguments in DRM_COPY_TO_USER.

...

(riastradh)

2014-01-21 20:49:10 UTC riastradh-drm2 commitmail json YAML

Make Linux kmalloc handle a few more gfp flags.

(riastradh)

2014-01-21 20:49:01 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:48:52 UTC riastradh-drm2 commitmail json YAML

Fix i915_genfb_mmap base addresses and offsets.

(riastradh)

2014-01-15 21:25:49 UTC riastradh-drm2 commitmail json YAML

Initialize the nsec correctly in ktime_get.

(riastradh)

2014-01-15 21:25:39 UTC 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.

(riastradh)

2014-01-15 21:25:29 UTC riastradh-drm2 commitmail json YAML

2014-01-15 17:42:28 UTC riastradh-drm2 commitmail json YAML

Unconditionalize the genfb attachment.

(riastradh)

2014-01-15 17:42:18 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:55:40 UTC riastradh-drm2 commitmail json YAML

Take master->lock.spinlock to read master->lock.hw_lock.

(riastradh)

2014-01-15 13:54:03 UTC riastradh-drm2 commitmail json YAML

Clean up initialization failures in drm2_modcmd.

(riastradh)

2014-01-15 13:53:53 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:53:42 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:53:32 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-01-15 13:53:20 UTC riastradh-drm2 commitmail json YAML

Implement drm_pci_set_busid and drm_pci_set_unique.

(riastradh)

2014-01-15 13:53:09 UTC riastradh-drm2 commitmail json YAML

Drop another reference in do_destroy if the context is current.

(riastradh)

2014-01-15 13:52:59 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2014-01-15 13:52:49 UTC riastradh-drm2 commitmail json YAML

Destroy the waitqueue ring->irq_queue in intel_cleanup_ring_buffer.

(riastradh)

2014-01-15 13:52:39 UTC riastradh-drm2 commitmail json YAML

Add open drm files to the device file list.

(riastradh)

2014-01-15 13:52:30 UTC riastradh-drm2 commitmail json YAML

Fix copyoutstr usage in drm_version_string.

(riastradh)

2014-01-15 13:52:20 UTC 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.

(riastradh)

2014-01-15 13:52:09 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:51:58 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2014-01-15 13:51:48 UTC riastradh-drm2 commitmail json YAML

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!

(riastradh)

2013-12-30 04:52:21 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2013-12-30 04:52:11 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2013-12-30 04:52:02 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2013-12-30 04:51:53 UTC riastradh-drm2 commitmail json YAML

i915_gem_context_close destroys the idr; i915_driver_postclose needn't.

(riastradh)

2013-12-30 04:51:43 UTC 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!

(riastradh)

2013-12-30 04:51:35 UTC riastradh-drm2 commitmail json YAML

2013-12-30 04:51:24 UTC riastradh-drm2 commitmail json YAML

Avoid dividing by zero when allocating empty array in kcalloc.

(riastradh)

2013-12-30 04:51:16 UTC riastradh-drm2 commitmail json YAML

Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.

(riastradh)

2013-12-30 04:51:06 UTC riastradh-drm2 commitmail json YAML

Initialize the workqueue flush structures correctly.

(riastradh)

2013-12-30 04:50:57 UTC riastradh-drm2 commitmail json YAML

Make Linux workqueues at IPL_VM for now.

(riastradh)

2013-12-30 04:50:48 UTC riastradh-drm2 commitmail json YAML

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

(riastradh)

2013-12-30 04:50:39 UTC riastradh-drm2 commitmail json YAML

Actually insert the delayed work into the workqueue.

(riastradh)

2013-12-30 04:50:30 UTC riastradh-drm2 commitmail json YAML

Helps to actually allocate and free the workqueue memory!

(riastradh)

2013-12-30 04:50:21 UTC riastradh-drm2 commitmail json YAML

2013-12-30 04:50:12 UTC riastradh-drm2 commitmail json YAML

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.

(riastradh)

2013-09-08 16:41:07 UTC riastradh-drm2 commitmail json YAML

First draft of genfb attachment for i915.

(riastradh)

2013-09-08 16:40:36 UTC 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.

(riastradh)

2013-09-08 16:38:51 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:38:02 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:35:20 UTC riastradh-drm2 commitmail json YAML

Fix DRM_WAIT_UNTIL to initialize (RET) on every exit.

(riastradh)

2013-09-08 16:32:37 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:31:14 UTC riastradh-drm2 commitmail json YAML

Create Linux spin locks at IPL_VM for now.

(riastradh)

2013-09-08 16:30:13 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:28:27 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:27:15 UTC riastradh-drm2 commitmail json YAML

Hook up some GTT logic again in i915_driver_load.

(riastradh)

2013-09-08 16:22:29 UTC riastradh-drm2 commitmail json YAML

Use the cached mmio bar information to map the GTT.

(riastradh)

2013-09-08 16:20:45 UTC 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.

(riastradh)

2013-09-08 16:19:15 UTC 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.

(riastradh)

2013-09-08 16:17:58 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:16:37 UTC riastradh-drm2 commitmail json YAML

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!

(riastradh)

2013-09-08 16:15:17 UTC 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.

(riastradh)

2013-09-08 16:13:55 UTC riastradh-drm2 commitmail json YAML

Fix arithmetic in gen6_ggtt_bind_object.

(riastradh)

2013-09-08 16:13:10 UTC riastradh-drm2 commitmail json YAML

Sprinkle some kasserts into i915_gem_gtt.c.

(riastradh)

2013-09-08 16:12:26 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:11:29 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:10:23 UTC riastradh-drm2 commitmail json YAML

Unconditionally avoid arithmetic on void * in drm_bufs.c.

(riastradh)

2013-09-08 16:09:35 UTC riastradh-drm2 commitmail json YAML

Unconditionally avoid arithmetic on void * in drm_buffer.c.

(riastradh)

2013-09-08 16:08:38 UTC riastradh-drm2 commitmail json YAML

Use Linux atomics, not spinlocks or NetBSD atomics in drm_auth.c.

Removes an #ifdef __NetBSD__.

(riastradh)

2013-09-08 16:07:29 UTC riastradh-drm2 commitmail json YAML

Add Linux ATOMIC_INIT, atomic_inc_return, and atomic_dec_return.

(riastradh)

2013-09-08 16:06:35 UTC riastradh-drm2 commitmail json YAML

Remove #ifdef __NetBSD__ from const fixes in dvo_ch7xxx.c.

(riastradh)

2013-09-08 16:05:07 UTC 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.

(riastradh)

2013-09-08 16:04:09 UTC riastradh-drm2 commitmail json YAML

The bus_dmamap_load_raw got moved to i915_gem_gtt but not committed.

(riastradh)

2013-09-08 16:03:21 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:02:51 UTC 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!

(riastradh)

2013-09-08 16:02:21 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:01:49 UTC riastradh-drm2 commitmail json YAML

Destroy the mutex too in destroy_completion.

(riastradh)

2013-09-08 16:01:22 UTC riastradh-drm2 commitmail json YAML

2013-09-08 16:00:50 UTC riastradh-drm2 commitmail json YAML

Implement destroy_completion in <linux/completion.h>.

(riastradh)

2013-09-08 16:00:22 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:59:47 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:58:53 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:58:24 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:57:55 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:57:01 UTC riastradh-drm2 commitmail json YAML

Shift the GTT size by twenty only once.

(riastradh)

2013-09-08 15:56:32 UTC riastradh-drm2 commitmail json YAML

Use the _unlocked variant of unreference in drm_gem_pager_detach.

(riastradh)

2013-09-08 15:56:02 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:55:23 UTC riastradh-drm2 commitmail json YAML

Use pmap_enter_default, not pmap_enter.

Seems to be a problem with modules referring to weak aliases?

(riastradh)

2013-09-08 15:54:48 UTC riastradh-drm2 commitmail json YAML

Helps to commit all my changes to drm_cache.c.

(riastradh)

2013-09-08 15:54:20 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:52:20 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:47:17 UTC riastradh-drm2 commitmail json YAML

Simplify drm_mem_util.h; fix source compatibility for drm_free_large.

(riastradh)

2013-09-08 15:46:22 UTC riastradh-drm2 commitmail json YAML

Add missing initialization of dev->dmat in drm_pci_attach.

(riastradh)

2013-09-08 15:44:14 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:42:48 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:42:12 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:41:41 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:41:07 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:40:17 UTC riastradh-drm2 commitmail json YAML

Rework Intel GTT abstraction to use bus_dma.

(riastradh)

2013-09-08 15:39:48 UTC 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.

(riastradh)

2013-09-08 15:39:05 UTC riastradh-drm2 commitmail json YAML

Rename delayed_work::dw_work to delayed_work::work for Linux source.

(riastradh)

2013-09-08 15:38:35 UTC 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.

(riastradh)

2013-09-08 15:38:05 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:37:34 UTC riastradh-drm2 commitmail json YAML

Add Linuxoid non-atomic __set/clear_bit to <linux/bitops.h>.

(riastradh)

2013-09-08 15:37:04 UTC riastradh-drm2 commitmail json YAML

Fix Linux atomic set/clear/change_bit to work on arrays.

(riastradh)

2013-09-08 15:36:35 UTC riastradh-drm2 commitmail json YAML

Add ERESTARTSYS as a Linuxoid alias for ERESTART.

(riastradh)

2013-09-08 15:36:05 UTC riastradh-drm2 commitmail json YAML

2013-09-08 15:35:36 UTC riastradh-drm2 commitmail json YAML

Add some copy_to/from_user variants to Linux <asm/uaccess.h>.

(riastradh)

2013-09-08 15:35:06 UTC riastradh-drm2 commitmail json YAML

Define page_to_phys in Linux <asm/io.h>.

(riastradh)

2013-09-08 15:34:36 UTC riastradh-drm2 commitmail json YAML

Decrement sc_opencount on drm_close.

(riastradh)

2013-09-08 15:34:06 UTC riastradh-drm2 commitmail json YAML

Destroy context_idr and mm.lock in i915_driver_postclose.

(riastradh)

2013-09-08 15:33:35 UTC riastradh-drm2 commitmail json YAML

Fix sense of atomic_cas loop condition and use kassertmsg for krefs.

(riastradh)

2013-09-08 15:33:06 UTC 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...

(riastradh)

2013-09-08 15:26:24 UTC riastradh-drm2 commitmail json YAML

Initialize and destroy drm_global_mutex on module init/fini.

(riastradh)

2013-07-24 04:05:34 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:05:18 UTC riastradh-drm2 commitmail json YAML

Don't cancel rps.work or hotplug_work in i915_driver_unload.

These are cancelled in intel_modeset_cleanup.

(riastradh)

2013-07-24 04:05:00 UTC riastradh-drm2 commitmail json YAML

Call drm_vblank_cleanup in drm_detach.

(riastradh)

2013-07-24 04:04:45 UTC riastradh-drm2 commitmail json YAML

Initialize mm.retire_work in i915_gem_load stub.

(riastradh)

2013-07-24 04:04:30 UTC riastradh-drm2 commitmail json YAML

Use mdelay for msleep of less than one tick.

(riastradh)

2013-07-24 04:04:16 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:04:01 UTC riastradh-drm2 commitmail json YAML

Ifdef out gtt unmapping for now in i915_driver_unload.

(riastradh)

2013-07-24 04:03:45 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:03:32 UTC riastradh-drm2 commitmail json YAML

Clean up the waitqueue and locks in drm_vblank_cleanup.

(riastradh)

2013-07-24 04:03:15 UTC riastradh-drm2 commitmail json YAML

Destroy mode config locks in drm_mode_config_cleanup.

(riastradh)

2013-07-24 04:02:58 UTC riastradh-drm2 commitmail json YAML

Rework error branches of idr_get_new_above.

Return ENOSPC if we're about to overflow int.

(riastradh)

2013-07-24 04:02:43 UTC riastradh-drm2 commitmail json YAML

Actually return the new id in idr_get_new_above.

(riastradh)

2013-07-24 04:02:28 UTC riastradh-drm2 commitmail json YAML

Don't redundantly cancel mm.retire_work or error_work.

(riastradh)

2013-07-24 04:02:12 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:01:51 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:01:37 UTC riastradh-drm2 commitmail json YAML

Initialize dev->dev, dev->primary, and dev->control in drm_attach.

(riastradh)

2013-07-24 04:01:23 UTC riastradh-drm2 commitmail json YAML

Convert i915_irq.c to use DRM_IRQ_ARGS in irq handlers.

(riastradh)

2013-07-24 04:01:05 UTC riastradh-drm2 commitmail json YAML

Add assert_spin_locked to <linux/spinlock.h>.

(riastradh)

2013-07-24 04:00:51 UTC riastradh-drm2 commitmail json YAML

Stub out intel_gtt initialization until we' ready for gem stuff.

(riastradh)

2013-07-24 04:00:35 UTC riastradh-drm2 commitmail json YAML

Stub out the content, not definition, of intel_console_resume.

(riastradh)

2013-07-24 04:00:19 UTC riastradh-drm2 commitmail json YAML

2013-07-24 04:00:02 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:59:48 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:59:34 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:59:19 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:59:06 UTC riastradh-drm2 commitmail json YAML

Use a non-NULL value for bogus <linux/workqueue.h> stubs.

(riastradh)

2013-07-24 03:58:51 UTC riastradh-drm2 commitmail json YAML

Initialize PCI memory maps and bus space/dma tags in drm_pci_attach.

(riastradh)

2013-07-24 03:58:36 UTC riastradh-drm2 commitmail json YAML

Let drm_fill_in_dev initialize dev->driver after all.

(riastradh)

2013-07-24 03:58:19 UTC riastradh-drm2 commitmail json YAML

Little stab at making drm_attach fail more gracefully.

(riastradh)

2013-07-24 03:58:04 UTC riastradh-drm2 commitmail json YAML

Mega-kludge: reverse sense of PAGE_MASK in <linux/mm.h>.

(riastradh)

2013-07-24 03:57:49 UTC riastradh-drm2 commitmail json YAML

Offset mmio_bar by PCI_MAPREG_START in i915_dma_attach.

(riastradh)

2013-07-24 03:57:33 UTC riastradh-drm2 commitmail json YAML

Set num_ioctls and enable DRIVER_MODESET in i915 module init.

(riastradh)

2013-07-24 03:57:19 UTC riastradh-drm2 commitmail json YAML

Call drm_pci_init/exit on i915drm2 module load/unload.

(riastradh)

2013-07-24 03:57:04 UTC riastradh-drm2 commitmail json YAML

Move driver->bus setting to drm_pci_init.

(riastradh)

2013-07-24 03:56:49 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:56:33 UTC riastradh-drm2 commitmail json YAML

Call dev->driver->load in drm_attach.

(riastradh)

2013-07-24 03:56:18 UTC riastradh-drm2 commitmail json YAML

Pass drm_config_found arguments via explicit struct drm_attach_args.

(riastradh)

2013-07-24 03:56:03 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:55:48 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:55:32 UTC riastradh-drm2 commitmail json YAML

Destroy mm->unused_lock in drm_mm_takedown.

(riastradh)

2013-07-24 03:55:17 UTC riastradh-drm2 commitmail json YAML

Manage an opencount for each drm device to block drm_detach.

(riastradh)

2013-07-24 03:55:00 UTC riastradh-drm2 commitmail json YAML

Initialize sc->sc_drm_dev in drm_attach.

(riastradh)

2013-07-24 03:54:43 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:54:28 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:54:14 UTC riastradh-drm2 commitmail json YAML

Make drm_pci_agp_init succeed for now.

(riastradh)

2013-07-24 03:54:01 UTC riastradh-drm2 commitmail json YAML

Initialize sc->sc_drm_dev->driver = i915_drm_driver in i915drm_attach.

(riastradh)

2013-07-24 03:53:47 UTC riastradh-drm2 commitmail json YAML

2013-07-24 03:53:31 UTC riastradh-drm2 commitmail json YAML

Initialize dev->driver->bus in drm_pci_attach.

(riastradh)

2013-07-24 03:53:14 UTC riastradh-drm2 commitmail json YAML

Provisional NO_DRM config for testing with a module.

Too much trouble to keep this as an uncommitted change...

(riastradh)

2013-07-24 03:52:52 UTC riastradh-drm2 commitmail json YAML

Stub out ironlake_teardown_rc6 in intel_pm.c too.

(riastradh)