diff options
author | Eric Anholt <[email protected]> | 2015-02-23 06:48:34 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-02-24 13:49:12 +0000 |
commit | 49d3c6a8e63ead43fafb7d52e2c770a1320eb2ee (patch) | |
tree | 1a9455ef787340a7b82883863f8b68b79871b718 /src/gallium/drivers/vc4/kernel/vc4_drv.h | |
parent | 1d1e820a6dce5e6fc8f67bd0f00e402645774e1b (diff) |
vc4: Update to current kernel sources.
New BO create and mmap ioctls are added. The submit ABI gains a flags
argument, and the pointers are fixed at 64-bit. Shaders are now fixed at
the start of their BOs.
Diffstat (limited to 'src/gallium/drivers/vc4/kernel/vc4_drv.h')
-rw-r--r-- | src/gallium/drivers/vc4/kernel/vc4_drv.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_drv.h b/src/gallium/drivers/vc4/kernel/vc4_drv.h index 81ffa03a6fa..12a3ceff725 100644 --- a/src/gallium/drivers/vc4/kernel/vc4_drv.h +++ b/src/gallium/drivers/vc4/kernel/vc4_drv.h @@ -39,7 +39,10 @@ struct vc4_bo_exec_state { enum vc4_bo_mode mode; }; -struct exec_info { +struct vc4_exec_info { + /* Sequence number for this bin/render job. */ + uint64_t seqno; + /* Kernel-space copy of the ioctl arguments */ struct drm_vc4_submit_cl *args; @@ -159,13 +162,12 @@ vc4_validate_cl(struct drm_device *dev, void *unvalidated, uint32_t len, bool is_bin, - struct exec_info *exec); + struct vc4_exec_info *exec); int -vc4_validate_shader_recs(struct drm_device *dev, struct exec_info *exec); +vc4_validate_shader_recs(struct drm_device *dev, struct vc4_exec_info *exec); struct vc4_validated_shader_info * -vc4_validate_shader(struct drm_gem_cma_object *shader_obj, - uint32_t start_offset); +vc4_validate_shader(struct drm_gem_cma_object *shader_obj); #endif /* VC4_DRV_H */ |