anv: Add support to create protected bo and protected exec_queue in Xe KMD
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30723>
This commit is contained in:
committed by
Marge Bot
parent
a99d90d015
commit
e146e573f7
@@ -94,3 +94,12 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd,
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
intel_xe_gem_add_ext(uint64_t *ptr, uint32_t ext_name, void *data)
|
||||
{
|
||||
struct drm_xe_user_extension *ext = data;
|
||||
ext->next_extension = *ptr;
|
||||
ext->name = ext_name;
|
||||
*ptr = (uintptr_t)ext;
|
||||
}
|
||||
|
||||
@@ -39,3 +39,5 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd,
|
||||
uint64_t *gpu_timestamp,
|
||||
uint64_t *cpu_delta);
|
||||
bool xe_gem_can_render_on_fd(int fd);
|
||||
|
||||
void intel_xe_gem_add_ext(uint64_t *ptr, uint32_t ext_name, void *data);
|
||||
|
||||
Reference in New Issue
Block a user