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 <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
941adcef03
commit
d4dc79df72
|
@ -67,6 +67,7 @@ struct panfrost_memory {
|
|||
mali_ptr gpu;
|
||||
int stack_bottom;
|
||||
size_t size;
|
||||
int gem_handle;
|
||||
};
|
||||
|
||||
/* Slab entry sizes range from 2^min to 2^max. In this case, we range from 1k
|
||||
|
|
|
@ -69,6 +69,8 @@ struct panfrost_bo {
|
|||
bool has_checksum;
|
||||
struct panfrost_memory checksum_slab;
|
||||
int checksum_stride;
|
||||
|
||||
int gem_handle;
|
||||
};
|
||||
|
||||
struct panfrost_resource {
|
||||
|
|
Loading…
Reference in New Issue