summaryrefslogtreecommitdiff
path: root/src/gralloc/gralloc_kms.h
blob: 44708e003441a19b72ba51a0d39713a1f1f3afbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _DRM_KMS_H_
#define _DRM_KMS_H_

#include "gralloc_mod.h"
#include "gralloc_gem.h"

int
drm_kms_init(struct drm_module_t *drm);

int
drm_kms_add_fb(struct drm_module_t *drm, struct drm_bo_t *bo);

void
drm_kms_rm_fb(struct drm_module_t *drm, struct drm_bo_t *bo);

int
drm_kms_post(struct drm_module_t *drm, struct drm_bo_t *bo);

#endif /* _DRM_KMS_H_ */