Lines Matching +full:hardware +full:- +full:accelerated
3 * Copyright (c) 2006-2009 Vmware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
106 * This is a structure holding the pages, caching- and aperture binding
118 struct sg_table *sg; /* for SG objects via dma-buf */
136 * This is a structure holding the pages, caching- and aperture binding
146 #define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */
187 * @mem::mm_node should be set to a non-null value, and
228 * type manager to aid debugging of out-of-memory conditions.
291 * Protected by the global->lru_lock.
306 * @move: Callback for a driver to hook in accelerated functions to
342 * -ENOMEM: Out of memory.
375 * Return the bo flags for a buffer which is not mapped to the hardware.
377 * finished, they'll end up in bo->mem.flags
389 * @no_wait: whether this should give up and return -EBUSY
411 * This function should return 0 if access is granted, -EPERM otherwise.
456 * struct ttm_bo_global_ref - Argument to initialize a struct ttm_bo_global.
465 * struct ttm_bo_global - Buffer object driver global data.
514 * struct ttm_bo_device - Buffer object driver device-specific data.
661 * cache-coherent.
673 * write-combined,
712 * -EBUSY: No space available (only if no_wait == 1).
713 * -ENOMEM: Could not allocate memory for the buffer object, either due to
715 * -ERESTARTSYS: An interruptible sleep was interrupted by a signal.
780 * @no_wait: Don't sleep while trying to reserve, rather return -EBUSY.
782 * it to become unreserved if @sequence < (@bo)->sequence.
794 * (typically execbuf), should first obtain a unique 32-bit
801 * holding the reservation, the function returns -EAGAIN. Otherwise it sleeps
804 * The caller should, when receiving an -EAGAIN error
811 * -EAGAIN: The reservation may cause a deadlock.
814 * -ERESTARTSYS: A wait for the buffer to become unreserved was interrupted by
815 * a signal. Release all buffer reservations and return to user-space.
816 * -EBUSY: The function needed to sleep, but @no_wait was true
817 * -EDEADLK: Bo already reserved using @sequence. This error code will only
828 * @sequence: Set (@bo)->sequence to this value after lock
830 * This is called after ttm_bo_reserve returns -EAGAIN and we backed off
846 * @sequence: Set (@bo)->sequence to this value after lock
848 * This is called after ttm_bo_reserve returns -EAGAIN and we backed off
860 * @no_wait: Don't sleep while trying to reserve, rather return -EBUSY.
862 * it to become unreserved if @sequence < (@bo)->sequence.
868 * -EAGAIN: The reservation may cause a deadlock.
871 * -ERESTARTSYS: A wait for the buffer to become unreserved was interrupted by
872 * a signal. Release all buffer reservations and return to user-space.
873 * -EBUSY: The function needed to sleep, but @no_wait was true
874 * -EDEADLK: Bo already reserved using @sequence. This error code will only
915 * free any old aperture space, and set (@new_mem)->mm_node to NULL,
916 * and update the (@bo)->mem placement flags. If unsuccessful, the old
937 * free any old aperture space, and set (@new_mem)->mm_node to NULL,
938 * and update the (@bo)->mem placement flags. If unsuccessful, the old
967 * Accelerated move function to be called when an accelerated move