summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends/dri/gbm_driint.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-10-21 13:00:28 -0400
committerKristian Høgsberg <[email protected]>2012-10-21 13:00:49 -0400
commit259fc154f1fdcabbc0a6c02c524962b063f9dee6 (patch)
treec7f36a3528b330e4e3b44802482a2cd0079be0cb /src/gbm/backends/dri/gbm_driint.h
parentd2b0338e3354fadc90a3751520f4aa44ba01954f (diff)
gbm: Use the kms dumb ioctls for cursor instead of libkms
We need to create bos suitable for cursor usage that we can map and write data into. The kms dumb ioctls is all we need for this, so drop the dependency on libkms.
Diffstat (limited to 'src/gbm/backends/dri/gbm_driint.h')
-rw-r--r--src/gbm/backends/dri/gbm_driint.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h
index 4b619a0e59e..18fc3c0919e 100644
--- a/src/gbm/backends/dri/gbm_driint.h
+++ b/src/gbm/backends/dri/gbm_driint.h
@@ -30,8 +30,6 @@
#include "gbmint.h"
-#include "libkms.h"
-
#include "common.h"
#include "common_drm.h"
@@ -43,9 +41,6 @@ struct gbm_dri_surface;
struct gbm_dri_device {
struct gbm_drm_device base;
- /* Only used for cursors */
- struct kms_driver *kms;
-
void *driver;
__DRIscreen *screen;
@@ -79,7 +74,8 @@ struct gbm_dri_bo {
__DRIimage *image;
/* Only used for cursors */
- struct kms_bo *bo;
+ uint32_t handle, size;
+ void *map;
};
struct gbm_dri_surface {