Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-11 | Make obj->pages a simple array instead of an array of bus_dma_segment_t's. | Mark Kettenis | |
Simplifies things a bit and reduces the diffs with Linux a bit too. | |||
2013-12-09 | Bring i915_gem_mmap_ioctl a bit closer to the Linux code. | Mark Kettenis | |
2013-12-09 | Remove MD intagp(4) code that is unused now that inteldrm(4) manages the GTT | Mark Kettenis | |
all by itself. | |||
2013-12-09 | initialize staterr, no functional change; from david hill | Mike Belopuhov | |
2013-12-08 | simplify activate function | Theo de Raadt | |
2013-12-08 | add static back to the ttm functions | Jonathan Gray | |
ok kettenis@ | |||
2013-12-07 | Rewrite receive filter handling and ioctl bits. Fixes not being able to | Brad Smith | |
bring the interface out of all multicast mode once a range of multicast addresses has been found. Tested with QEMU and VMware's pcn(4) emulated adapters. | |||
2013-12-07 | Emulating wait_event_timeout() using msleep() is hard. This version should | Mark Kettenis | |
avoid the negative timeout panic and make __wait_seqno() properly wait forever if no timeout was specified. | |||
2013-12-07 | Remove the agp-specific bus_dma code. It is no longer used now that | Mark Kettenis | |
inteldrm(4) manages the GTT by itself. ok miod@ | |||
2013-12-07 | No need to blow away the cache after updating GTT entries. The driver already | Mark Kettenis | |
flushes individual cache lines when needed. | |||
2013-12-07 | Now that we properly flush caches, we can enable cpu relocations. | Mark Kettenis | |
2013-12-07 | Enable fast path for relocations. | Mark Kettenis | |
ok jsg@ | |||
2013-12-07 | Some fixes for jme_encap().. | Brad Smith | |
- Remove the maximum DMA segments handling bits as it is unused between DragonFly and OpenBSD. - Fix error handling for bus_dmamap_load_mbuf() so as to not try unloading a DMA map that had not already been loaded. - Clean up the DMA chain defragmenting path to remove unwanted printfs and simplify things a bit. - Have jme_encap() check the number of mapped DMA segments against the TX ring to see if it'll fit as do most of the driver nowadays. - Remove the KASSERT's that shouldn't be there. - Simplify the dummy descriptor handling to be closer to the FreeBSD driver since unlike the DragonFly driver this originated from our driver always uses the 64-bit dummy descriptor. - If the ring was full make sure to IF_PREPEND() the packet back on the queue since it wasn't transmitted. Tested by myself, comete@daknet.org and vigdis+obsd@chown.me. | |||
2013-12-06 | Change a WARN_ON into a BUG_ON to match Linux. | Mark Kettenis | |
2013-12-06 | Add a DVACT_WAKEUP op to the *_activate() API. This is called after the | Theo de Raadt | |
kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people | |||
2013-12-06 | It seems to be possible to truncate an object while it is still mapped. | Mark Kettenis | |
Don't panic in that case but force a page fault instead. Hopefully this fixes the panic during coredump that deraadt@ reported. | |||
2013-12-06 | Another round of reducing diffs with Linux. | Mark Kettenis | |
2013-12-05 | Fully unstub intel_overlay_{map|unmap}_regs. | Mark Kettenis | |
2013-12-05 | Rename 'struct drm_obj' to 'struct drm_gem_object' to reduce the diffs with | Mark Kettenis | |
Linux. ok jsg@ | |||
2013-12-04 | kill a debug printf; noticed by sthen | Mike Belopuhov | |
2013-12-03 | Seems we simply have to live with fatal firmware errors. Even Linux, with its | Mark Kettenis | |
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. Tested by naddy@, who unfortunately is experiencing the quantum zeno effect making his iwi(4) not crap out. ok stsp@ | |||
2013-12-03 | Remove some unused cruft. | Mark Kettenis | |
2013-12-01 | Remove some prototypes for functions that no longer exist. | Mark Kettenis | |
2013-12-01 | The flush_tlb() method is a no-op so don't bother. | Mark Kettenis | |
2013-12-01 | drm/i915: no lvds quirk for hp t5740 | Mark Kettenis | |
From Ben Mesman 117b91f41d99e88338e1f9577ced365e777a9098 in ubuntu 3.8 45a211d75137b1ac869a8a758a6667f15827a115 in mainline linux | |||
2013-12-01 | drm/i915: Fix write-read race with multiple rings | Mark Kettenis | |
From Chris Wilson caf40bcc8f6751b723f0ec78e2f67beb771bfb68 in ubuntu 3.8 02978ff57a5bdfbf703d2bc5a4d933a53ede3144 in mainline linux | |||
2013-12-01 | drm/i915: inverted brightness quirk for Acer Aspire 4736Z | Mark Kettenis | |
From Daniel Vetter 96f2e8dd3f2492d3bbf232fa0afc1e0e065e7d52 in ubuntu 3.8 ac4199e0f047546aa40172785e26c82b54bbe811 in mainline linux | |||
2013-12-01 | drm/i915: Adding more reserved PCI IDs for Haswell. | Mark Kettenis | |
From Rodrigo Vivi 349fe2edae985d44dc8ca27c6441b20408a9e184 in ubuntu 3.8 1c98b4871cca4b7ce07e19f92f934d47cf7210b0 in mainline linux | |||
2013-12-01 | drm/i915: Correct obj->mm_list link to dev_priv->dev_priv->mm.inactive_list | Mark Kettenis | |
From Xiong Zhang 77e700964bdb06caf7eaf03371d7ffd4a6500199 in ubuntu 3.8 067556084a0e412013af6b0250a3143ae5afde6d in mainline linux | |||
2013-12-01 | Bring back the DRM_IOCTL_I915_GEM_WAIT diff now that I've figured out what | Mark Kettenis | |
made it fail (WARN_ON() was evaluating its argument multiple times). This time, also advertise support through I915_PARAM_HAS_WAIT_TIMEOUT. | |||
2013-12-01 | Fix WARN() and WARN_ON(); the condition should only be evaluated once. | Mark Kettenis | |
Properly implement WARN_ON_ONCE() as well. ok jsg@ | |||
2013-11-30 | Oops! Only intended to commit the i915_dma.c changes in the previous commit. | Mark Kettenis | |
2013-11-30 | Reorder some case statements to reduce the diffs with Linux. | Mark Kettenis | |
2013-11-30 | Seems we simply have to live with fatal firmware errors. Even Linux, with its | Mark Kettenis | |
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. tested by stsp@, pascal@ ok stsp@ | |||
2013-11-30 | Enable some #ifdef'ed out SandyBridge-specific code that seems to work fine. | Mark Kettenis | |
2013-11-30 | Restore frame buffer upon last close; makes sure we we have a usable console | Mark Kettenis | |
after exiting X. tested by tobiasu@ | |||
2013-11-29 | Should be safe to allow intel_ring_wait_seqno() to be interrupted. | Mark Kettenis | |
Reduces diffs with Linux. | |||
2013-11-28 | Re-enable RADEON_INFO_VA_START and RADEON_INFO_IB_VM_MAX_SIZE. | Mark Kettenis | |
suggested by jsg@ | |||
2013-11-28 | Add short-circuit code to __wait_seqno() that's also present in Linux. | Mark Kettenis | |
2013-11-28 | Seems we simply have tolibe with fatal firmware errors. Even Linux, with its | Mark Kettenis | |
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. ok chris@, phessler@, mpi@ | |||
2013-11-27 | Reduce diffs with Linux. | Mark Kettenis | |
2013-11-27 | Hook up gem_open/close_object methods. | Mark Kettenis | |
ok jsg@ | |||
2013-11-27 | Add 'struct drm_i915_gem_objects_ops' and use it; reduces diffs with Linux. | Mark Kettenis | |
2013-11-27 | use a macro when testing for an ich8 family mac type | Jonathan Gray | |
no binary change | |||
2013-11-26 | spelling; Kent R. Spillner | Theo de Raadt | |
2013-11-26 | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | Theo de Raadt | |
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||
2013-11-26 | Instead of comparing the lower and higher addresses of all the multicast | Martin Pieuchot | |
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not change the behavior of any driver but if you encounter any problem, feel free to revert the offending chunk and ping me about it. ok naddy@, dlg@ | |||
2013-11-26 | claim to support relaxed fencing | Jonathan Gray | |
ok kettenis@ | |||
2013-11-23 | task_add(NULL, blah) is a fault, fix by using task_add(systq, blah). | David Gwynne | |
reported by josh grosse on misc@ | |||
2013-11-22 | regen | Mark Kettenis | |