1
2
3
4
5
6
7
8#include "vbox_drv.h"
9
10
11
12
13
14
15
16int vbox_gem_prime_pin(struct drm_gem_object *obj)
17{
18 WARN_ONCE(1, "not implemented");
19 return -ENODEV;
20}
21
22void vbox_gem_prime_unpin(struct drm_gem_object *obj)
23{
24 WARN_ONCE(1, "not implemented");
25}
26
27struct sg_table *vbox_gem_prime_get_sg_table(struct drm_gem_object *obj)
28{
29 WARN_ONCE(1, "not implemented");
30 return ERR_PTR(-ENODEV);
31}
32
33struct drm_gem_object *vbox_gem_prime_import_sg_table(
34 struct drm_device *dev, struct dma_buf_attachment *attach,
35 struct sg_table *table)
36{
37 WARN_ONCE(1, "not implemented");
38 return ERR_PTR(-ENODEV);
39}
40
41void *vbox_gem_prime_vmap(struct drm_gem_object *obj)
42{
43 WARN_ONCE(1, "not implemented");
44 return ERR_PTR(-ENODEV);
45}
46
47void vbox_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr)
48{
49 WARN_ONCE(1, "not implemented");
50}
51
52int vbox_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *area)
53{
54 WARN_ONCE(1, "not implemented");
55 return -ENODEV;
56}
57