amdgpu: add encrypted slabs support
[mesa.git] / src / gallium / winsys / amdgpu / drm / amdgpu_bo.h
index 9f37437cd6e93c7759e1e42e9a7432fee24211f8..3228c07d7f868ec65b877a905c97a9434462b1fb 100644 (file)
@@ -137,9 +137,12 @@ void *amdgpu_bo_map(struct pb_buffer *buf,
 void amdgpu_bo_init_functions(struct amdgpu_screen_winsys *ws);
 
 bool amdgpu_bo_can_reclaim_slab(void *priv, struct pb_slab_entry *entry);
-struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsigned heap,
-                                     unsigned entry_size,
-                                     unsigned group_index);
+struct pb_slab *amdgpu_bo_slab_alloc_encrypted(void *priv, unsigned heap,
+                                               unsigned entry_size,
+                                               unsigned group_index);
+struct pb_slab *amdgpu_bo_slab_alloc_normal(void *priv, unsigned heap,
+                                            unsigned entry_size,
+                                            unsigned group_index);
 void amdgpu_bo_slab_free(void *priv, struct pb_slab *slab);
 
 static inline