aboutsummaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 17:40:07 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 17:40:07 +0200
commitd39055174b5a487f0d848e1af4c3459fb4261bf1 (patch)
treec0fe7fc82453a87783d934bf575f979566a29d4a /libdrm
parentff95ea5536d70f9bc8eac12f2c97dae71fb97066 (diff)
Remove the buffer object hint field and use it only
as an argument. Validate stub.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c2
-rw-r--r--libdrm/xf86mm.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 6ffc4b39..1763b89a 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -2612,7 +2612,6 @@ int drmBOCreate(int fd, drmTTM *ttm, unsigned long start, unsigned long size,
buf->mapCount = 0;
buf->virtual = NULL;
buf->mask = rep->mask;
- buf->hint = rep->hint;
buf->start = rep->buffer_start;
return 0;
@@ -2672,7 +2671,6 @@ int drmBOReference(int fd, unsigned handle, drmBO *buf)
buf->mapCount = 0;
buf->virtual = NULL;
buf->mask = rep->mask;
- buf->hint = rep->hint;
buf->start = rep->buffer_start;
return 0;
}
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h
index c811892f..21fed6cf 100644
--- a/libdrm/xf86mm.h
+++ b/libdrm/xf86mm.h
@@ -88,7 +88,6 @@ typedef struct _drmBO{
drm_handle_t mapHandle;
unsigned flags;
unsigned mask;
- unsigned hint;
unsigned mapFlags;
unsigned long size;
unsigned long offset;