egl: Use only libdrm structs for kms
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
* Util functions
|
||||
*/
|
||||
|
||||
static struct drm_mode_modeinfo *
|
||||
static drmModeModeInfoPtr
|
||||
drm_find_mode(drmModeConnectorPtr connector, _EGLMode *mode)
|
||||
{
|
||||
int i;
|
||||
struct drm_mode_modeinfo *m = NULL;
|
||||
drmModeModeInfoPtr m = NULL;
|
||||
|
||||
for (i = 0; i < connector->count_modes; i++) {
|
||||
m = &connector->modes[i];
|
||||
|
||||
@@ -92,7 +92,7 @@ drm_update_res(struct drm_device *dev)
|
||||
static void
|
||||
drm_add_modes_from_connector(_EGLScreen *screen, drmModeConnectorPtr connector)
|
||||
{
|
||||
struct drm_mode_modeinfo *m;
|
||||
drmModeModeInfoPtr m = NULL;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < connector->count_modes; i++) {
|
||||
|
||||
@@ -128,7 +128,7 @@ struct drm_screen
|
||||
/*drmModeCrtcPtr crtc;*/
|
||||
uint32_t crtcID;
|
||||
|
||||
struct drm_mode_modeinfo *mode;
|
||||
drmModeModeInfoPtr mode;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user