Lines Matching defs:drm_framebuffer
36 struct drm_framebuffer;
53 void (*destroy)(struct drm_framebuffer *framebuffer);
73 int (*create_handle)(struct drm_framebuffer *fb,
97 int (*dirty)(struct drm_framebuffer *framebuffer,
104 * struct drm_framebuffer - frame buffer object
117 struct drm_framebuffer {
216 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base)
219 struct drm_framebuffer *fb,
221 struct drm_framebuffer *drm_framebuffer_lookup(struct drm_device *dev,
224 void drm_framebuffer_remove(struct drm_framebuffer *fb);
225 void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
226 void drm_framebuffer_unregister_private(struct drm_framebuffer *fb);
234 static inline void drm_framebuffer_get(struct drm_framebuffer *fb)
246 static inline void drm_framebuffer_put(struct drm_framebuffer *fb)
257 static inline uint32_t drm_framebuffer_read_refcount(const struct drm_framebuffer *fb)
270 static inline void drm_framebuffer_assign(struct drm_framebuffer **p,
271 struct drm_framebuffer *fb)
291 struct drm_framebuffer, head); \
296 const struct drm_framebuffer *fb, int plane);
298 const struct drm_framebuffer *fb, int plane);
303 * A derived class of struct drm_framebuffer, dedicated for afbc use cases.
309 struct drm_framebuffer base;