blob: 75bb69ff5859dc94647576174f00c87014903f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*
* Marvell Armada DRM-based driver
*
* Written by Russell King, 2012, derived in part from the
* Intel xorg X server driver.
*/
#ifndef DOVEFB_DRM_H
#define DOVEFB_DRM_H
#include "xf86.h"
#include <xf86drm.h>
#include <xf86drmMode.h>
#include "common_drm.h"
struct armada_drm_info {
OptionInfoPtr Options;
CloseScreenProcPtr CloseScreen;
CreateScreenResourcesProcPtr CreateScreenResources;
drmVersionPtr version;
struct drm_armada_bufmgr *bufmgr;
struct drm_armada_bo *front_bo;
Bool accel;
unsigned cpp;
};
struct all_drm_info {
struct common_drm_info common;
struct armada_drm_info armada;
};
#define GET_ARMADA_DRM_INFO(pScrn) \
((struct armada_drm_info *)GET_DRM_INFO(pScrn)->private)
/* DRM core support */
Bool armada_drm_init_screen(ScrnInfoPtr pScrn);
/* DRM Xv support */
Bool armada_drm_XvInit(ScrnInfoPtr pScrn);
#endif
|