Home
last modified time | relevance | path

Searched refs:drm_buffer (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/include/drm/
Ddrm_buffer.h40 struct drm_buffer { struct
50 static inline int drm_buffer_page(struct drm_buffer *buf) in drm_buffer_page() argument
57 static inline int drm_buffer_index(struct drm_buffer *buf) in drm_buffer_index()
64 static inline int drm_buffer_unprocessed(struct drm_buffer *buf) in drm_buffer_unprocessed()
72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) in drm_buffer_advance()
83 extern int drm_buffer_alloc(struct drm_buffer **buf, int size);
92 extern int drm_buffer_copy_from_user(struct drm_buffer *buf,
98 extern void drm_buffer_free(struct drm_buffer *buf);
112 extern void *drm_buffer_read_object(struct drm_buffer *buf,
127 static inline void *drm_buffer_pointer_to_dword(struct drm_buffer *buffer, in drm_buffer_pointer_to_dword()
[all …]
/linux-3.4.99/drivers/gpu/drm/
Ddrm_buffer.c44 int drm_buffer_alloc(struct drm_buffer **buf, int size) in drm_buffer_alloc()
51 *buf = kzalloc(sizeof(struct drm_buffer) + nr_pages*sizeof(char *), in drm_buffer_alloc()
102 int drm_buffer_copy_from_user(struct drm_buffer *buf, in drm_buffer_copy_from_user()
135 void drm_buffer_free(struct drm_buffer *buf) in drm_buffer_free()
162 void *drm_buffer_read_object(struct drm_buffer *buf, in drm_buffer_read_object()
DMakefile7 drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_drv.h319 struct drm_buffer;
323 struct drm_buffer *buffer;
2148 struct drm_buffer *_buf = (buf); \
Dradeon_state.c95 int id, struct drm_buffer *buf) in radeon_check_and_fixup_packets()