mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Remove unused struct members from drmmode_display.h
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
82fa615f38
commit
462ac3341e
@@ -2370,7 +2370,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)
|
||||
xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs);
|
||||
|
||||
drmmode->scrn = pScrn;
|
||||
drmmode->cpp = cpp;
|
||||
mode_res = drmModeGetResources(pAMDGPUEnt->fd);
|
||||
if (!mode_res)
|
||||
return FALSE;
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
|
||||
typedef struct {
|
||||
unsigned fb_id;
|
||||
drmModeFBPtr mode_fb;
|
||||
int cpp;
|
||||
ScrnInfoPtr scrn;
|
||||
#ifdef HAVE_LIBUDEV
|
||||
struct udev_monitor *uevent_monitor;
|
||||
@@ -55,7 +53,6 @@ typedef struct {
|
||||
} drmmode_rec, *drmmode_ptr;
|
||||
|
||||
typedef struct {
|
||||
int fd;
|
||||
unsigned old_fb_id;
|
||||
int flip_count;
|
||||
void *event_data;
|
||||
|
||||
Reference in New Issue
Block a user