summaryrefslogtreecommitdiffstats
path: root/src/common_drm.h
blob: a23cd6e55c2a111565d0ffc3213877f226bf80b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef COMMON_DRM_H
#define COMMON_DRM_H

struct common_drm_property;

struct armada_conn_info {
	int drm_fd;
	int drm_id;
	int dpms_mode;
	int nprops;
	struct common_drm_property *props;
	drmModeConnectorPtr mode_output;
	drmModeEncoderPtr mode_encoder;
};

void common_drm_conn_init(ScrnInfoPtr pScrn, int fd, uint32_t id);

#endif