mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 12:40:23 +01:00
anv: Document the index and offset parameters of anv_bo
This commit is contained in:
parent
85520aa070
commit
222ddac810
1 changed files with 11 additions and 0 deletions
|
|
@ -206,8 +206,19 @@ anv_vector_finish(struct anv_vector *queue)
|
|||
|
||||
struct anv_bo {
|
||||
int gem_handle;
|
||||
|
||||
/* Index into the current validation list. This is used by the
|
||||
* validation list building alrogithm to track which buffers are already
|
||||
* in the validation list so that we can ensure uniqueness.
|
||||
*/
|
||||
uint32_t index;
|
||||
|
||||
/* Last known offset. This value is provided by the kernel when we
|
||||
* execbuf and is used as the presumed offset for the next bunch of
|
||||
* relocations.
|
||||
*/
|
||||
uint64_t offset;
|
||||
|
||||
uint64_t size;
|
||||
void *map;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue