projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
749b30e
)
drm/vgem: Drop struct drm_vgem_gem_object
author
Maíra Canal
<mcanal@igalia.com>
Wed, 22 Feb 2023 16:06:17 +0000
(13:06 -0300)
committer
Maíra Canal
<mairacanal@riseup.net>
Mon, 20 Mar 2023 11:14:27 +0000
(08:14 -0300)
Commit
45d9c8dde4cd
("drm/vgem: use shmem helpers") introduced shmem
helpers to vgem and with that, removed all uses of the struct
drm_vgem_gem_object. So, as the struct is no longer used, delete it.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230222160617.171429-1-mcanal@igalia.com
drivers/gpu/drm/vgem/vgem_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vgem/vgem_drv.h
b/drivers/gpu/drm/vgem/vgem_drv.h
index
0ed3003
..
34cf63e
100644
(file)
--- a/
drivers/gpu/drm/vgem/vgem_drv.h
+++ b/
drivers/gpu/drm/vgem/vgem_drv.h
@@
-39,17
+39,6
@@
struct vgem_file {
struct mutex fence_mutex;
};
-#define to_vgem_bo(x) container_of(x, struct drm_vgem_gem_object, base)
-struct drm_vgem_gem_object {
- struct drm_gem_object base;
-
- struct page **pages;
- unsigned int pages_pin_count;
- struct mutex pages_lock;
-
- struct sg_table *table;
-};
-
int vgem_fence_open(struct vgem_file *file);
int vgem_fence_attach_ioctl(struct drm_device *dev,
void *data,