mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
uapi/rockchip_drm.h: Fix UAPI compile-test
./usr/include/drm/rockchip_drm.h:19:10: fatal error: 'drm/drm_file.h' file not found Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I987b8bb26023e9e7b652962e54b45c24a0231d57
This commit is contained in:
@@ -15,8 +15,13 @@
|
||||
#ifndef _UAPI_ROCKCHIP_DRM_H
|
||||
#define _UAPI_ROCKCHIP_DRM_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/types.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <drm/drm.h>
|
||||
#include <drm/drm_file.h>
|
||||
|
||||
/*
|
||||
* Send vcnt event instead of blocking,
|
||||
@@ -105,10 +110,6 @@ enum rockchip_cabc_mode {
|
||||
ROCKCHIP_DRM_CABC_MODE_USERSPACE,
|
||||
};
|
||||
|
||||
struct drm_rockchip_vcnt_event {
|
||||
struct drm_pending_event base;
|
||||
};
|
||||
|
||||
#define DRM_ROCKCHIP_GEM_CREATE 0x00
|
||||
#define DRM_ROCKCHIP_GEM_MAP_OFFSET 0x01
|
||||
#define DRM_ROCKCHIP_GEM_CPU_ACQUIRE 0x02
|
||||
|
||||
Reference in New Issue
Block a user