Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-21 | Rename inappropriately named 'mask' fields to 'proposed_flags' instead. | Keith Packard | |
Flags pending validation were stored in a misleadingly named field, 'mask'. As 'mask' is already used to indicate pieces of a flags field which are changing, it seems better to use a name reflecting the actual purpose of this field. I chose 'proposed_flags' as they may not actually end up in 'flags', and in an case will be modified when they are moved over. This affects the API, but not ABI of the user-mode interface. | |||
2007-12-21 | Use dummy_read_page for unpopulated kernel-allocated ttm pages. | Keith Packard | |
Previously, dummy_read_page was used only for read-only user allocations; it filled in pages that were not present in the user address map (presumably, these were allocated but never written to pages). This patch allows them to be used for read-only ttms allocated from the kernel, so that applications can over-allocate buffers without forcing every page to be allocated. | |||
2007-12-21 | Move dummy_read_page from drm_ttm_set_user to drm_ttm_create. | Keith Packard | |
I'm hoping to use the dummy_read_page for kernel allocated buffers to avoid allocating extra pages for read-only buffers (like vertex and batch buffers). This also eliminates the 'write' parameter to drm_ttm_set_user and just has DRM_TTM_PAGE_WRITE passed into drm_ttm_create. | |||
2007-12-21 | Clean up and document drm_ttm.c APIs. drm_bind_ttm -> drm_ttm_bind. | Keith Packard | |
Aside from changing drm_bind_ttm to drm_ttm_bind, this patch adds only documentation and fixes the functions inside drm_ttm.c to all be prefixed with drm_ttm_. | |||
2007-12-15 | Document drm_ttm_set_user. | Keith Packard | |
Add a comment explaining the parameters for this function | |||
2007-12-15 | Document drm_buffer_object_validate function. | Keith Packard | |
Just add documentation for this function, no code changes. | |||
2007-12-15 | Document fence_class mess in drm_bo_setstatus_ioctl | Keith Packard | |
drmBOSetStatus does not bother to set the fence_class parameter. Fortunately, drm_bo_setstatus_ioctl doesn't end up using it as it calls drm_bo_handle_validate with use_old_fence_class = 1. | |||
2007-12-15 | Document drm_bo_handle_validate. Match drm_bo_do_validate parameter order. | Keith Packard | |
Document parameters and usage for drm_bo_handle_validate. Change parameter order to match drm_bo_do_validate (fence_class has been moved to after flags, hint and mask values). Existing users of this function have been changed, but out-of-tree users must be modified separately. | |||
2007-12-15 | Document drm_bo_do_validate. Remove spurious 'do_wait' parameter. | Keith Packard | |
Add comments about the parameters to drm_bo_do_validate, along with comments for the DRM_BO_HINT options. Remove the 'do_wait' parameter as it is duplicated by DRM_BO_HINT_DONT_BLOCK. | |||
2007-12-15 | Make ttm create/destroy APIs consistent. Pass page_flags in create. | Keith Packard | |
Creating a ttm was done with drm_ttm_init while destruction was done with drm_destroy_ttm. Renaming these to drm_ttm_create and drm_ttm_destroy makes their use clearer. Passing page_flags to the create function will allow that to know whether user or kernel pages are needed, with the goal of allowing kernel ttms to be saved for later reuse. | |||
2007-12-13 | catch an out of memory condition | Alan Hourihane | |
2007-12-10 | drm: move agp include outside CONFIG_AGP as it isn't dependant on agp in kernel | Dave Airlie | |
2007-12-06 | take down stuff after asking driver to unload | Dave Airlie | |
2007-12-05 | patch from -mm kernel to use upper_32_bits | Dave Airlie | |
2007-12-01 | drm: Add _DRM_DRIVER map flag. | Robert Noland | |
This flag indicates that the driver is responsible for the map. | |||
2007-11-29 | drm: enable udev node creation | Dave Airlie | |
2007-11-29 | drm: oops not a cleanup.. | Dave Airlie | |
2007-11-29 | drm: more cleanups | Dave Airlie | |
2007-11-22 | drm: major whitespace/coding style realignment with kernel | Dave Airlie | |
2007-11-22 | drm: cleanup drm_regman.c coding style | Dave Airlie | |
2007-11-21 | drm: don't reset to 0 irq_enabled when client open file descriptor | Jerome Glisse | |
2007-11-19 | drm: fix dead lock in drm_buffer_object_transfer | Jerome Glisse | |
2007-11-15 | nouveau: rename | Jeremy Kolb | |
2007-11-15 | nouveau: flip buffer into gart. | Jeremy Kolb | |
2007-11-15 | mm fixups. | Thomas Hellstrom | |
2007-11-15 | i915: remove excess debug output | Dave Airlie | |
2007-11-15 | intel: add flushing for i8xx chipsets. | Dave Airlie | |
Add a nut vs hammer style chipset flush for the i8xx chipsets - reenable TTM code paths | |||
2007-11-14 | Add new shared header file drm_internal.h. | Kristian Høgsberg | |
This header file is shared across linux and bsd, but is not installed for user space to access. It's the place to put prototypes and data types that aren't platform or chipset specific, but still internal to the drm. | |||
2007-11-14 | Revert "nouveau: stub superioctl" | Ben Skeggs | |
This reverts commit 2370ded79b4176d76cda1ec5f495fd33c2d566ed. Err.. didn't mean for that to slip in :) | |||
2007-11-14 | Merge branch 'fifo-cleanup' into upstream-master | Ben Skeggs | |
2007-11-14 | nouveau: store user control reg offsets in channel struct | Ben Skeggs | |
2007-11-14 | nouveau: stub superioctl | Ben Skeggs | |
2007-11-10 | Make sure PLLs are enabled before writing pipe configuration regs | Jesse Barnes | |
Fix from the X driver. Make sure the PLLs are enabled and not in VGA mode before writing PIPE(A|B)CONF regs to avoid hangs or crashes. | |||
2007-11-09 | suspend() and resume() need kernel 2.6.22 or later | Patrice Mandin | |
2007-11-07 | Don't overwrite TTM page flags. | Thomas Hellstrom | |
2007-11-06 | Avoid buffers not ending up on a list in some cases. | Thomas Hellstrom | |
2007-11-06 | Add missing drm_regman.c file. | Thomas Hellstrom | |
2007-11-06 | i915: compat code doesn't work in i8xx hw. | Dave Airlie | |
2007-11-06 | drm/agp: kernel style fixes | Dave Airlie | |
2007-11-06 | i915: cleanup most of the whitespace | Dave Airlie | |
2007-11-05 | Export a symbol. | Thomas Hellstrom | |
2007-11-05 | Fix a user-buffer check. | Thomas Hellstrom | |
2007-11-05 | drm: more kernel coding style cleanups | Dave Airlie | |
2007-11-05 | drm/ttm: apply linux kernel coding style to bo_lock/move/object/ttm.c | Dave Airlie | |
2007-11-05 | drm/ttm: kernel coding style for bo.c and objects.h | Dave Airlie | |
2007-11-05 | drm: fix the the typo | Dave Airlie | |
2007-11-05 | drm: fix memset size error | Li Zefan | |
The size passing to memset is wrong. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> | |||
2007-11-05 | drm: remove lots of spurious whitespace. | Dave Airlie | |
Kernel "cleanfile" script run. | |||
2007-11-05 | drm: move some of the OS stuff into the OS header | Dave Airlie | |
2007-11-05 | nouveau: Use a sw method instead of notify interrupt to signal fence completion. | Ben Skeggs | |