summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-10-28 17:44:09 +0900
committerMichel Dänzer <michel@daenzer.net>2015-10-30 18:32:55 +0900
commit6bab8fabb37eb131e131ce59446c214ded28f779 (patch)
tree4cc7c03c004ed74cb16e89d706c00b3433954b0e /src/drmmode_display.h
parent0530e39cc6b7340163e7f6bb6d82719d102ee6e9 (diff)
Remove info->dri2.drm_fd and info->drmmode->fd
Use pAMDGPUEnt->fd everywhere instead. Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index e44e693..f1e6dc3 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -41,7 +41,6 @@
#endif
typedef struct {
- int fd;
unsigned fb_id;
drmModeFBPtr mode_fb;
int cpp;
@@ -60,7 +59,7 @@ typedef struct {
} drmmode_rec, *drmmode_ptr;
typedef struct {
- drmmode_ptr drmmode;
+ int fd;
unsigned old_fb_id;
int flip_count;
void *event_data;