Home
last modified time | relevance | path

Searched refs:old_fb (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/include/drm/
Ddrm_crtc_helper.h91 struct drm_framebuffer *old_fb);
97 struct drm_framebuffer *old_fb);
186 struct drm_framebuffer *old_fb);
219 struct drm_framebuffer *old_fb);
221 struct drm_framebuffer *old_fb);
Ddrm_plane_helper.h115 struct drm_framebuffer *old_fb);
Ddrm_crtc.h858 struct drm_framebuffer *old_fb; member
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_kms.c41 struct drm_framebuffer *old_fb) in bochs_crtc_mode_set_base() argument
50 if (old_fb) { in bochs_crtc_mode_set_base()
51 bochs_fb = to_bochs_framebuffer(old_fb); in bochs_crtc_mode_set_base()
85 int x, int y, struct drm_framebuffer *old_fb) in bochs_crtc_mode_set() argument
91 bochs_crtc_mode_set_base(crtc, x, y, old_fb); in bochs_crtc_mode_set()
115 struct drm_framebuffer *old_fb = crtc->primary->fb; in bochs_crtc_page_flip() local
119 bochs_crtc_mode_set_base(crtc, 0, 0, old_fb); in bochs_crtc_page_flip()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c300 struct drm_framebuffer *old_fb)
310 struct drm_framebuffer *old_fb) in udl_crtc_mode_set() argument
343 if (old_fb) { in udl_crtc_mode_set()
344 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_mode_set()
376 struct drm_framebuffer *old_fb = crtc->primary->fb; in udl_crtc_page_flip() local
377 if (old_fb) { in udl_crtc_page_flip()
378 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_page_flip()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_crtc.c65 struct drm_framebuffer *old_fb; member
433 omap_crtc->event || omap_crtc->old_fb) { in omap_crtc_flush()
496 struct drm_framebuffer *old_fb) in omap_crtc_mode_set() argument
540 struct drm_framebuffer *old_fb) in omap_crtc_mode_set_base() argument
565 fb = omap_crtc->old_fb; in vblank_cb()
568 omap_crtc->old_fb = NULL; in vblank_cb()
621 if (omap_crtc->old_fb) { in omap_crtc_page_flip_locked()
628 omap_crtc->old_fb = primary->fb = fb; in omap_crtc_page_flip_locked()
629 drm_framebuffer_reference(omap_crtc->old_fb); in omap_crtc_page_flip_locked()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_plane_helper.c402 struct drm_framebuffer *old_fb) in drm_plane_helper_commit() argument
427 plane_state->fb != old_fb) { in drm_plane_helper_commit()
461 if (plane->state->fb == old_fb) in drm_plane_helper_commit()
481 if (plane_funcs->cleanup_fb && old_fb) in drm_plane_helper_commit()
482 plane_funcs->cleanup_fb(plane, old_fb, plane_state); in drm_plane_helper_commit()
Ddrm_crtc_helper.c270 struct drm_framebuffer *old_fb) in drm_crtc_helper_set_mode() argument
364 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
936 struct drm_framebuffer *old_fb) in drm_helper_crtc_mode_set() argument
979 return drm_helper_crtc_mode_set_base(crtc, x, y, old_fb); in drm_helper_crtc_mode_set()
998 struct drm_framebuffer *old_fb) in drm_helper_crtc_mode_set_base() argument
1024 return drm_plane_helper_commit(plane, plane_state, old_fb); in drm_helper_crtc_mode_set_base()
Ddrm_atomic_helper.c1179 struct drm_framebuffer *old_fb; in drm_atomic_helper_cleanup_planes() local
1183 old_fb = plane_state->fb; in drm_atomic_helper_cleanup_planes()
1185 if (old_fb && funcs->cleanup_fb) in drm_atomic_helper_cleanup_planes()
1186 funcs->cleanup_fb(plane, old_fb, plane_state); in drm_atomic_helper_cleanup_planes()
1337 plane->old_fb = plane->fb; in drm_atomic_helper_update_plane()
1419 plane->old_fb = plane->fb; in drm_atomic_helper_disable_plane()
1587 crtc->primary->old_fb = crtc->primary->fb; in drm_atomic_helper_set_config()
1853 plane->old_fb = plane->fb; in drm_atomic_helper_page_flip()
Ddrm_crtc.c1307 plane->old_fb = plane->fb; in drm_plane_force_disable()
1311 plane->old_fb = NULL; in drm_plane_force_disable()
1315 drm_framebuffer_unreference(plane->old_fb); in drm_plane_force_disable()
1316 plane->old_fb = NULL; in drm_plane_force_disable()
2461 plane->old_fb = plane->fb; in __setplane_internal()
2467 plane->old_fb = NULL; in __setplane_internal()
2516 plane->old_fb = plane->fb; in __setplane_internal()
2525 plane->old_fb = NULL; in __setplane_internal()
2531 if (plane->old_fb) in __setplane_internal()
2532 drm_framebuffer_unreference(plane->old_fb); in __setplane_internal()
[all …]
Ddrm_atomic.c1261 plane->old_fb = plane->fb; in drm_mode_atomic_ioctl()
1339 plane->old_fb = NULL; in drm_mode_atomic_ioctl()
1341 if (plane->old_fb) { in drm_mode_atomic_ioctl()
1342 drm_framebuffer_unreference(plane->old_fb); in drm_mode_atomic_ioctl()
1343 plane->old_fb = NULL; in drm_mode_atomic_ioctl()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_overlay.c34 struct drm_framebuffer *old_fb; member
82 fb = dplane->old_fb; in armada_plane_vbl()
83 dplane->old_fb = NULL; in armada_plane_vbl()
173 older_fb = dplane->old_fb; in armada_plane_update()
174 dplane->old_fb = plane->fb; in armada_plane_update()
271 fb = dplane->old_fb; in armada_plane_disable()
272 dplane->old_fb = NULL; in armada_plane_disable()
Darmada_crtc.c25 struct drm_framebuffer *old_fb; member
217 __armada_drm_queue_unref_work(dcrtc->crtc.dev, work->old_fb); in armada_drm_crtc_complete_frame_work()
239 work->old_fb = fb; in armada_drm_crtc_finish_fb()
497 int x, int y, struct drm_framebuffer *old_fb) in armada_drm_crtc_mode_set() argument
624 armada_drm_crtc_finish_fb(dcrtc, old_fb, dpms_blanked(dcrtc->dpms)); in armada_drm_crtc_mode_set()
631 struct drm_framebuffer *old_fb) in armada_drm_crtc_mode_set_base() argument
651 armada_drm_crtc_finish_fb(dcrtc, old_fb, dpms_blanked(dcrtc->dpms)); in armada_drm_crtc_mode_set_base()
939 work->old_fb = dcrtc->crtc.primary->fb; in armada_drm_crtc_page_flip()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c87 struct drm_framebuffer *old_fb) in exynos_drm_crtc_mode_set() argument
113 struct drm_framebuffer *old_fb) in exynos_drm_crtc_mode_set_base() argument
167 struct drm_framebuffer *old_fb = crtc->primary->fb; in exynos_drm_crtc_page_flip() local
208 crtc->primary->fb = old_fb; in exynos_drm_crtc_page_flip()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_mode.c180 struct drm_framebuffer *old_fb) in cirrus_crtc_mode_set_base() argument
182 return cirrus_crtc_do_set_base(crtc, old_fb, x, y, 0); in cirrus_crtc_mode_set_base()
196 int x, int y, struct drm_framebuffer *old_fb) in cirrus_crtc_mode_set() argument
311 cirrus_crtc_do_set_base(crtc, old_fb, x, y, 0); in cirrus_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/gma500/
Doaktrail_crtc.c368 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument
390 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
488 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
597 int x, int y, struct drm_framebuffer *old_fb) in oaktrail_pipe_set_base() argument
Dgma_display.h68 struct drm_framebuffer *old_fb);
Dpsb_intel_display.c106 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument
125 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
300 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
Dmdfld_intel_display.c164 struct drm_framebuffer *old_fb) in mdfld__intel_pipe_set_base() argument
669 struct drm_framebuffer *old_fb) in mdfld_crtc_mode_set() argument
698 x, y, old_fb); in mdfld_crtc_mode_set()
854 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
Doaktrail.h254 struct drm_framebuffer *old_fb);
Dgma_display.c57 struct drm_framebuffer *old_fb) in gma_pipe_set_base() argument
130 if (old_fb) in gma_pipe_set_base()
131 psb_gtt_unpin(to_psb_fb(old_fb)->gtt); in gma_pipe_set_base()
Doaktrail_hdmi.c263 struct drm_framebuffer *old_fb) in oaktrail_crtc_hdmi_mode_set() argument
351 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
Dcdv_intel_display.c582 struct drm_framebuffer *old_fb) in cdv_intel_crtc_mode_set() argument
828 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_layer.c441 struct drm_framebuffer *old_fb; in atmel_hlcdc_layer_update_set_fb() local
457 old_fb = slot->fb_flip->fb; in atmel_hlcdc_layer_update_set_fb()
473 if (old_fb) in atmel_hlcdc_layer_update_set_fb()
474 drm_framebuffer_unreference(old_fb); in atmel_hlcdc_layer_update_set_fb()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c48 struct drm_framebuffer *old_fb);
610 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs() argument
638 int x, int y, struct drm_framebuffer *old_fb) in nv_crtc_mode_set() argument
648 ret = nv_crtc_swap_fbs(crtc, old_fb); in nv_crtc_mode_set()
902 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument
904 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base()
907 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c355 struct drm_framebuffer *old_fb) in radeon_crtc_set_base() argument
357 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in radeon_crtc_set_base()
1038 int x, int y, struct drm_framebuffer *old_fb) in radeon_crtc_mode_set() argument
1043 radeon_crtc_set_base(crtc, x, y, old_fb); in radeon_crtc_mode_set()
Dradeon_mode.h847 struct drm_framebuffer *old_fb);
856 struct drm_framebuffer *old_fb);
860 struct drm_framebuffer *old_fb);
Datombios_crtc.c1653 struct drm_framebuffer *old_fb) in atombios_crtc_set_base() argument
1659 return dce4_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1661 return avivo_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1663 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
2023 int x, int y, struct drm_framebuffer *old_fb) in atombios_crtc_mode_set() argument
2054 atombios_crtc_set_base(crtc, x, y, old_fb); in atombios_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_plane.c158 const struct drm_plane_state *old_fb) in sti_drm_plane_cleanup_fb() argument
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_mode.c559 struct drm_framebuffer *old_fb) in ast_crtc_mode_set_base() argument
561 return ast_crtc_do_set_base(crtc, old_fb, x, y, 0); in ast_crtc_mode_set_base()
568 struct drm_framebuffer *old_fb) in ast_crtc_mode_set() argument
594 ast_crtc_mode_set_base(crtc, x, y, old_fb); in ast_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c233 struct drm_framebuffer *old_fb) in tilcdc_crtc_mode_set() argument
406 struct drm_framebuffer *old_fb) in tilcdc_crtc_mode_set_base() argument
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c775 struct drm_framebuffer *old_fb) in mga_crtc_mode_set_base() argument
777 return mga_crtc_do_set_base(crtc, old_fb, x, y, 0); in mga_crtc_mode_set_base()
783 int x, int y, struct drm_framebuffer *old_fb) in mga_crtc_mode_set() argument
1012 mga_crtc_do_set_base(crtc, old_fb, x, y, 0); in mga_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c378 struct drm_framebuffer *old_fb) in shmob_drm_crtc_mode_set() argument
425 struct drm_framebuffer *old_fb) in shmob_drm_crtc_mode_set_base() argument
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_display.c599 struct drm_framebuffer *old_fb) in qxl_crtc_mode_set() argument
614 if (old_fb) { in qxl_crtc_mode_set()
615 qfb = to_qxl_framebuffer(old_fb); in qxl_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c871 struct drm_framebuffer *old_fb) in vop_crtc_mode_set_base() argument
989 struct drm_framebuffer *old_fb = crtc->primary->fb; in vop_crtc_page_flip() local
1002 crtc->primary->fb = old_fb; in vop_crtc_page_flip()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnv50_display.c1095 nv50_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv50_crtc_swap_fbs() argument
1114 struct drm_framebuffer *old_fb) in nv50_crtc_mode_set() argument
1151 ret = nv50_crtc_swap_fbs(crtc, old_fb); in nv50_crtc_mode_set()
1210 struct drm_framebuffer *old_fb) in nv50_crtc_mode_set_base() argument
1221 ret = nv50_crtc_swap_fbs(crtc, old_fb); in nv50_crtc_mode_set_base()
/linux-4.1.27/drivers/gpu/drm/imx/
Dipuv3-crtc.c141 struct drm_framebuffer *old_fb) in ipu_crtc_mode_set() argument
/linux-4.1.27/drivers/video/fbdev/
Dudlfb.c1165 unsigned char *old_fb = info->screen_base; in dlfb_realloc_framebuffer() local
1184 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()
Dsmscufx.c1300 unsigned char *old_fb = info->screen_base; in ufx_realloc_framebuffer() local
1318 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_display.c86 int x, int y, struct drm_framebuffer *old_fb,
3158 intel_finish_fb(struct drm_framebuffer *old_fb) in intel_finish_fb() argument
3160 struct drm_i915_gem_object *obj = intel_fb_obj(old_fb); in intel_finish_fb()
9505 intel_unpin_fb_obj(work->old_fb, work->crtc->primary->state); in intel_unpin_work_fn()
9515 drm_framebuffer_unreference(work->old_fb); in intel_unpin_work_fn()
10109 struct drm_framebuffer *old_fb = crtc->primary->fb; in intel_crtc_page_flip() local
10123 if (WARN_ON(intel_fb_obj(old_fb) == NULL)) in intel_crtc_page_flip()
10148 work->old_fb = old_fb; in intel_crtc_page_flip()
10180 drm_framebuffer_reference(work->old_fb); in intel_crtc_page_flip()
10200 if (obj->tiling_mode != intel_fb_obj(work->old_fb)->tiling_mode) in intel_crtc_page_flip()
[all …]
Dintel_drv.h736 struct drm_framebuffer *old_fb; member
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c1724 struct drm_framebuffer *old_fb = crtc->primary->fb; in vmw_du_page_flip() local
1782 crtc->primary->fb = old_fb; in vmw_du_page_flip()
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddc.c483 const struct drm_plane_state *old_fb) in tegra_plane_cleanup_fb() argument