Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-16 | Introduce a Linux compatible wait_event API and use it in the inteldrm code. | Mark Kettenis | |
ok jsg@, guenther@ | |||
2015-07-15 | add some definitions from libdrm 2.4.62 | Jonathan Gray | |
2015-07-11 | Make use of recent drm_linux.h additions to further reduce the | Jonathan Gray | |
diff to linux. ok kettenis@ | |||
2015-06-28 | Read the lower 16-bits of the GCFGC "double word". Potentially fixes issues | Mark Kettenis | |
with some modes on machines with the 915GM chipset. discussed with jsg@ | |||
2015-06-26 | Add Linux completion API and use it. | Mark Kettenis | |
ok jsg@ | |||
2015-06-24 | #undef HZ before defining it such that compiling a kernel with -DHZ=xxx works. | Mark Kettenis | |
2015-06-24 | Linux jiffies and OpenBSD ticks are the same thing. | Mark Kettenis | |
ok jsg@ | |||
2015-06-24 | Introduce Linux work queue APIs and use them. As a side-effect, this will | Mark Kettenis | |
move some of the work from the system task queue to the driver-specific task queue. ok jsg@ | |||
2015-06-22 | Flush out another small diff to reduce the diffs with Linux. | Mark Kettenis | |
2015-06-04 | Switch intel_gmbus_is_port_valid and intel_gmbus_is_forced_bit from | Jonathan Gray | |
extern inline back to static inline so the kernel will build on compilers that default to c99 inline semantics. | |||
2015-06-04 | use mallocarray instead of malloc in drm_calloc | Jonathan Gray | |
2015-05-30 | DRMDEBUG not DRM_DEBUG. From frantisek holop. | Jonathan Gray | |
2015-05-05 | fix a return path that lacked a rw_exit_write() call | Jonathan Gray | |
ok kettenis@ | |||
2015-04-19 | Enable the REG_READ ioctl. A whitelist is used to allow | Jonathan Gray | |
reading a timestamp off the render ring for the Mesa i965 driver. ok kettenis@ | |||
2015-04-18 | another round of reducing the diff to linux | Jonathan Gray | |
2015-04-18 | define and use trace macros | Jonathan Gray | |
discussed with kettenis | |||
2015-04-18 | Remove some unused debug functions. If we're interested in | Jonathan Gray | |
these in future we should add i915_debugfs.c | |||
2015-04-18 | add and use module param macros | Jonathan Gray | |
2015-04-17 | Make drm ioctls table driven. Further reduces the diff to linux. | Jonathan Gray | |
ok kettenis@ | |||
2015-04-15 | Convert remaining drm ioctl implementation functions to return Linux-style | Mark Kettenis | |
negative errno values. ok jsg@ | |||
2015-04-12 | Add a few missing trace functions, and "use" them. Add back the WATCH_GTT | Mark Kettenis | |
code (that isn't actually compiled in). Use dev_priv->dev in one more place now that we have it, and add set_normalized_timespec() and use it. | |||
2015-04-12 | change back to linux style pci vendor/device defines | Jonathan Gray | |
2015-04-12 | change back to wait_for/wait_for_atomic_us | Jonathan Gray | |
2015-04-12 | Switch back to ioread32 and iowrite32 for cases where bus_space_vaddr is | Jonathan Gray | |
used instead of bus_space_read/bus_space_write. | |||
2015-04-12 | make wait_queue_head a struct with a mutex | Jonathan Gray | |
better matches linux behaviour | |||
2015-04-11 | rename i915 interrupt handlers from *_intr back to *_irq_handler | Jonathan Gray | |
2015-04-11 | change back to spinlock_t/DEFINE_SPINLOCK | Jonathan Gray | |
2015-04-11 | change back to drm_free_large/drm_malloc_ab | Jonathan Gray | |
2015-04-11 | add/use max_t() | Jonathan Gray | |
2015-04-11 | Rename i915_gem_chipset_flush() to intel_gtt_chipset_flush() | Jonathan Gray | |
so we can use the inline definition of i915_gem_chipset_flush() that avoids the flush entirely on gen >= 6. | |||
2015-04-10 | Move irqs_disabled() and in_dbg_master() out of the i386/amd64 ifdef block | Jonathan Gray | |
and change drm_can_sleep() to only use in_atomic() on i386/amd64 as it isn't defined for other archs currently. Unbreaks the sparc64 build. Found the hard way by benoit@ | |||
2015-04-10 | Use mdelay(x) instead of delay(x * 1000) for drm_msleep() to better | Jonathan Gray | |
deal with long delays. | |||
2015-04-10 | Make drm_can_sleep() match linux. No change in behaviour as it's | Jonathan Gray | |
only ever used to decide between mdelay and drm_msleep and our drm_msleep delays instead of sleeping. | |||
2015-04-10 | add irqs_disabled() and in_dbg_master() using cold and db_is_active | Jonathan Gray | |
2015-04-08 | Move vmap back to kernel_map/uvm_km_valloc as it's allowed to fail. | Jonathan Gray | |
This should help dlg's dell 2950 that gets stuck during boot with vmap in the trace. ok kettenis@ | |||
2015-04-08 | change back to udelay/mdelay | Jonathan Gray | |
2015-04-08 | change back to memcpy_toio/memcpy_fromio/memset_io | Jonathan Gray | |
2015-04-08 | change back to using min_t | Jonathan Gray | |
2015-04-08 | ttm has it's own version of kmap/kunmap that uses | Jonathan Gray | |
kernel_map/uvm_km_valloc and i915 has a version that uses phys_map/uvm_km_valloc_wait as calling code assumes kmap would sleep if no memory is available. Move these and ttm's vmap/vunmap into the linux compat files and make them all use phys_map/uvm_km_valloc_wait. looks good kettenis@ | |||
2015-04-06 | Move almost all of the linux compat from drmP.h to drm_linux.h. | Jonathan Gray | |
The exception being the barrier defines that are implemented in terms of DRM_* defines. ok kettenis@ | |||
2015-04-06 | switch back from roundup2() and roundup() to round_up() | Jonathan Gray | |
2015-04-06 | switch back from howmany() to DIV_ROUND_UP() | Jonathan Gray | |
2015-04-06 | move some inline linux compat into the dedicated files | Jonathan Gray | |
2015-04-06 | drm_calloc -> kcalloc | Jonathan Gray | |
2015-04-06 | add/use some more errno remapping | Jonathan Gray | |
2015-04-06 | Now we have dev_priv->mm.gtt_base_addr we can set fb_base and remove | Jonathan Gray | |
an ifdef. The code that uses fb_base itself remains #if 0'd out. | |||
2015-04-06 | Add an empty drm_sysfs_hotplug_event() function and use it | Jonathan Gray | |
and the existing drm_sysfs* functions to remove some ifdefs. | |||
2015-04-06 | Add get_user() and put_user() compatibility interfaces and use them. | Mark Kettenis | |
ok jsg@ | |||
2015-04-06 | add back some more static use to reduce the diff to linux | Jonathan Gray | |
2015-04-06 | No need to use a temporary pointer variable after the drm struct name | Jonathan Gray | |
in the softc changed a while back. |