Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2015-04-06 | add and use macros for wake_up/wake_up_all/wake_up_all_locked | Jonathan Gray | |
2015-04-06 | Convert some udelay() calls back to DRM_UDELAY() where | Jonathan Gray | |
the wrapper is still used in the original linux code. | |||
2015-04-05 | Consistently use #if 0/#endif to handle our lack of DRM_MINOR_CONTROL. | Mark Kettenis | |
Change an #ifdef notyet into #ifdef __linux__ as we'll never have sysfs. Remove #ifdef notyet around WARN macro since we have it now. | |||
2015-04-05 | whitespace | Mark Kettenis | |
2015-04-05 | Another round of reducing diffs with Linux. This one moves the various | Mark Kettenis | |
copy_to_user and copy_from_user functions into drm_linux.h and uses them instead of copyin/copyout and DRM_COPY_*. Also move the timespec functions, and put i915_gem_object_is_purgable() where it belongs. Uncovered a bug where the arguments to copyout() were in the wrong order. ok jsg@ | |||
2015-04-03 | resync i915_drv.h to make it diffable to linux | Jonathan Gray | |
ok kettenis@ | |||
2015-04-03 | change types/macros to reduce the diff to linux | Jonathan Gray | |
2015-04-03 | Translate PAGE_MASK usage for the way it is defined in our kernel. | Jonathan Gray | |
This code is not called. | |||
2015-03-26 | additional params from libdrm 2.4.60 | Jonathan Gray | |