• Home
  • Raw
  • Download

Lines Matching refs:fb

96 static int omap_framebuffer_create_handle(struct drm_framebuffer *fb,  in omap_framebuffer_create_handle()  argument
100 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_create_handle()
105 static void omap_framebuffer_destroy(struct drm_framebuffer *fb) in omap_framebuffer_destroy() argument
107 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_destroy()
108 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_destroy()
110 DBG("destroy: FB ID: %d (%p)", fb->base.id, fb); in omap_framebuffer_destroy()
112 drm_framebuffer_cleanup(fb); in omap_framebuffer_destroy()
123 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty() argument
150 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout() argument
153 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_update_scanout()
176 dev_err(fb->dev->dev, "invalid rotation: %02x", in omap_framebuffer_update_scanout()
219 dev_warn(fb->dev->dev, in omap_framebuffer_update_scanout()
250 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin() argument
252 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_pin()
253 int ret, i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_pin()
290 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin() argument
292 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_unpin()
293 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_unpin()
313 struct drm_gem_object *omap_framebuffer_bo(struct drm_framebuffer *fb, int p) in omap_framebuffer_bo() argument
315 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_bo()
316 if (p >= drm_format_num_planes(fb->pixel_format)) in omap_framebuffer_bo()
325 struct drm_framebuffer *fb, struct drm_connector *from) in omap_framebuffer_get_next_connector() argument
327 struct drm_device *dev = fb->dev; in omap_framebuffer_get_next_connector()
339 if (crtc && crtc->primary->fb == fb) in omap_framebuffer_get_next_connector()
349 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe() argument
351 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in omap_framebuffer_describe()
352 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_describe()
354 seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height, in omap_framebuffer_describe()
355 (char *)&fb->pixel_format); in omap_framebuffer_describe()
370 struct drm_framebuffer *fb; in omap_framebuffer_create() local
378 fb = omap_framebuffer_init(dev, mode_cmd, bos); in omap_framebuffer_create()
379 if (IS_ERR(fb)) { in omap_framebuffer_create()
383 return fb; in omap_framebuffer_create()
385 return fb; in omap_framebuffer_create()
392 struct drm_framebuffer *fb = NULL; in omap_framebuffer_init() local
420 fb = &omap_fb->base; in omap_framebuffer_init()
458 drm_helper_mode_fill_fb_struct(fb, mode_cmd); in omap_framebuffer_init()
460 ret = drm_framebuffer_init(dev, fb, &omap_framebuffer_funcs); in omap_framebuffer_init()
466 DBG("create: FB ID: %d (%p)", fb->base.id, fb); in omap_framebuffer_init()
468 return fb; in omap_framebuffer_init()