mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
egl: Use only libdrm structs for kms
This commit is contained in:
parent
7ef8e4e181
commit
2c8c09edda
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue