Lines Matching refs:fb

66 	struct drm_framebuffer *fb;  member
538 return active ? active->fb : NULL; in vop_win_last_pending_fb()
541 return last ? last->fb : NULL; in vop_win_last_pending_fb()
548 struct drm_framebuffer *fb, dma_addr_t yrgb_mst, in vop_win_queue_fb() argument
557 state->fb = fb; in vop_win_queue_fb()
568 struct drm_framebuffer *fb, int crtc_x, in vop_update_plane_event() argument
611 ret = drm_plane_helper_check_update(plane, crtc, fb, in vop_update_plane_event()
622 is_alpha = is_alpha_support(fb->pixel_format); in vop_update_plane_event()
623 format = vop_convert_format(fb->pixel_format); in vop_update_plane_event()
627 obj = rockchip_fb_get_gem_obj(fb, 0); in vop_update_plane_event()
643 offset = (src.x1 >> 16) * (fb->bits_per_pixel >> 3); in vop_update_plane_event()
644 offset += (src.y1 >> 16) * fb->pitches[0]; in vop_update_plane_event()
647 y_vir_stride = fb->pitches[0] / (fb->bits_per_pixel >> 3); in vop_update_plane_event()
658 if (fb != vop_win_last_pending_fb(vop_win)) { in vop_update_plane_event()
666 drm_framebuffer_reference(fb); in vop_update_plane_event()
668 ret = vop_win_queue_fb(vop_win, fb, yrgb_mst, event); in vop_update_plane_event()
714 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in vop_update_plane() argument
719 return vop_update_plane_event(plane, crtc, fb, crtc_x, crtc_y, crtc_w, in vop_update_plane()
729 crtc_w = crtc->primary->fb->width - crtc->x; in vop_update_primary_plane()
730 crtc_h = crtc->primary->fb->height - crtc->y; in vop_update_primary_plane()
732 return vop_update_plane_event(crtc->primary, crtc, crtc->primary->fb, in vop_update_primary_plane()
890 int x, int y, struct drm_framebuffer *fb) in vop_crtc_mode_set() argument
947 ret = vop_crtc_mode_set_base(crtc, x, y, fb); in vop_crtc_mode_set()
984 struct drm_framebuffer *fb, in vop_crtc_page_flip() argument
989 struct drm_framebuffer *old_fb = crtc->primary->fb; in vop_crtc_page_flip()
998 crtc->primary->fb = fb; in vop_crtc_page_flip()
1002 crtc->primary->fb = old_fb; in vop_crtc_page_flip()
1041 if (state->fb) { in vop_win_state_is_active()
1062 struct drm_framebuffer *fb = state->fb; in vop_win_state_destroy() local
1064 if (fb) in vop_win_state_destroy()
1065 drm_framebuffer_unreference(fb); in vop_win_state_destroy()