Linux Kernel
3.7.1
|
#include <i915_drm.h>
Data Fields | |
__u32 | target_handle |
__u32 | delta |
__u64 | offset |
__u64 | presumed_offset |
__u32 | read_domains |
__u32 | write_domain |
Definition at line 485 of file i915_drm.h.
__u32 delta |
Value to be added to the offset of the target buffer to make up the relocation entry.
Definition at line 500 of file i915_drm.h.
Offset in the buffer the relocation entry will be written into
Definition at line 503 of file i915_drm.h.
__u64 presumed_offset |
Offset value of the target buffer that the relocation entry was last written as.
If the buffer has the same offset as last time, we can skip syncing and writing the relocation. This value is written back out by the execbuffer ioctl when the relocation is written.
Definition at line 513 of file i915_drm.h.
__u32 read_domains |
Target memory domains read by this operation.
Definition at line 518 of file i915_drm.h.
__u32 target_handle |
Handle of the buffer being pointed to by this relocation entry.
It's appealing to make this be an index into the mm_validate_entry list to refer to the buffer, but this allows the driver to create a relocation list for state buffers and not re-write it per exec using the buffer.
Definition at line 494 of file i915_drm.h.
__u32 write_domain |
Target memory domains written by this operation.
Note that only one domain may be written by the whole execbuffer operation, so that where there are conflicts, the application will get -EINVAL back.
Definition at line 527 of file i915_drm.h.