forked from KolibriOS/kolibrios
ddk:update to 3.12.5
git-svn-id: svn://kolibrios.org@4370 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
59eca36556
commit
95434e4af5
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define PG_SW 0x003
|
#define PG_SW 0x003
|
||||||
#define PG_UW 0x007
|
#define PG_UW 0x007
|
||||||
#define PG_NOCACHE 0x010
|
#define PG_NOCACHE 0x018
|
||||||
#define PG_SHARED 0x200
|
#define PG_SHARED 0x200
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,4 +12,6 @@
|
|||||||
/* to align the pointer to the (next) page boundary */
|
/* to align the pointer to the (next) page boundary */
|
||||||
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
|
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
|
||||||
|
|
||||||
|
#define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1030,4 +1030,22 @@ struct drm_i915_reg_read {
|
|||||||
__u64 offset;
|
__u64 offset;
|
||||||
__u64 val; /* Return value */
|
__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_ */
|
#endif /* _UAPI_I915_DRM_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user