diff options
author | Tomeu Vizoso <[email protected]> | 2019-03-08 10:27:06 +0100 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-10 18:56:56 +0000 |
commit | d4dc79df72e05346b4dd40d19e346ada9e4af98c (patch) | |
tree | c12ea5ba39619177474011bbeadb3d8b26127e54 /src/gallium/drivers/panfrost/pan_resource.h | |
parent | 941adcef036c1a427c66ab08d041a008431c1e8c (diff) |
panfrost: Add gem_handle to panfrost_memory and panfrost_bo
It will be used by the DRM backend to store GEM handles from the kernel.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h index b0b5cc15a0c..633f185ab5b 100644 --- a/src/gallium/drivers/panfrost/pan_resource.h +++ b/src/gallium/drivers/panfrost/pan_resource.h @@ -69,6 +69,8 @@ struct panfrost_bo { bool has_checksum; struct panfrost_memory checksum_slab; int checksum_stride; + + int gem_handle; }; struct panfrost_resource { |