Lines Matching refs:fb
30 if (flip->fb) in atmel_hlcdc_layer_fb_flip_release()
31 drm_framebuffer_unreference(flip->fb); in atmel_hlcdc_layer_fb_flip_release()
38 if (flip->fb) in atmel_hlcdc_layer_fb_flip_destroy()
39 drm_framebuffer_unreference(flip->fb); in atmel_hlcdc_layer_fb_flip_destroy()
113 if (!fb_flip->fb) in atmel_hlcdc_layer_update_apply()
404 slot->fb_flip->fb = upd->slots[upd->pending].fb_flip->fb; in atmel_hlcdc_layer_update_start()
405 if (upd->slots[upd->pending].fb_flip->fb) { in atmel_hlcdc_layer_update_start()
406 slot->fb_flip->fb = in atmel_hlcdc_layer_update_start()
407 upd->slots[upd->pending].fb_flip->fb; in atmel_hlcdc_layer_update_start()
410 drm_framebuffer_reference(slot->fb_flip->fb); in atmel_hlcdc_layer_update_start()
434 struct drm_framebuffer *fb, in atmel_hlcdc_layer_update_set_fb() argument
448 if (fb) in atmel_hlcdc_layer_update_set_fb()
449 nplanes = drm_format_num_planes(fb->pixel_format); in atmel_hlcdc_layer_update_set_fb()
457 old_fb = slot->fb_flip->fb; in atmel_hlcdc_layer_update_set_fb()
463 gem = drm_fb_cma_get_gem_obj(fb, i); in atmel_hlcdc_layer_update_set_fb()
468 fb_flip->fb = fb; in atmel_hlcdc_layer_update_set_fb()
470 if (fb) in atmel_hlcdc_layer_update_set_fb()
471 drm_framebuffer_reference(fb); in atmel_hlcdc_layer_update_set_fb()