summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xen/xen_drm_front_shbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/xen/xen_drm_front_shbuf.h')
-rw-r--r--drivers/gpu/drm/xen/xen_drm_front_shbuf.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/xen/xen_drm_front_shbuf.h b/drivers/gpu/drm/xen/xen_drm_front_shbuf.h
index 8c037fd7608b..7545c692539e 100644
--- a/drivers/gpu/drm/xen/xen_drm_front_shbuf.h
+++ b/drivers/gpu/drm/xen/xen_drm_front_shbuf.h
@@ -29,16 +29,9 @@ struct xen_drm_front_shbuf {
grant_ref_t *grefs;
unsigned char *directory;
- /*
- * there are 2 ways to provide backing storage for this shared buffer:
- * either pages or sgt. if buffer created from sgt then we own
- * the pages and must free those ourselves on closure
- */
int num_pages;
struct page **pages;
- struct sg_table *sgt;
-
struct xenbus_device *xb_dev;
/* these are the ops used internally depending on be_alloc mode */
@@ -52,7 +45,6 @@ struct xen_drm_front_shbuf_cfg {
struct xenbus_device *xb_dev;
size_t size;
struct page **pages;
- struct sg_table *sgt;
bool be_alloc;
};