/drivers/include/ddk.h |
---|
14,7 → 14,7 |
#define PG_SW 0x003 |
#define PG_UW 0x007 |
#define PG_NOCACHE 0x010 |
#define PG_NOCACHE 0x018 |
#define PG_SHARED 0x200 |
/drivers/include/linux/mm.h |
---|
12,4 → 12,6 |
/* to align the pointer to the (next) page boundary */ |
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) |
#define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) |
#endif |
/drivers/include/linux/uapi/drm/i915_drm.h |
---|
1030,4 → 1030,22 |
__u64 offset; |
__u64 val; /* Return value */ |
}; |
struct drm_i915_mask { |
__u32 handle; |
__u32 width; |
__u32 height; |
__u32 bo_size; |
__u32 bo_pitch; |
__u32 bo_map; |
}; |
struct drm_i915_fb_info { |
__u32 name; |
__u32 width; |
__u32 height; |
__u32 pitch; |
__u32 tiling; |
}; |
#endif /* _UAPI_I915_DRM_H_ */ |