Home
last modified time | relevance | path

Searched refs:new_fb (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c76 struct drm_framebuffer *new_fb = new_plane_state->fb; in lsdc_primary_atomic_update() local
78 u64 fb_addr = lsdc_fb_base_addr(new_fb); in lsdc_primary_atomic_update()
80 fb_addr += lsdc_get_fb_offset(new_fb, new_plane_state); in lsdc_primary_atomic_update()
83 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update()
85 if (!old_fb || old_fb->format != new_fb->format) in lsdc_primary_atomic_update()
86 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update()
226 struct drm_framebuffer *new_fb; in lsdc_cursor_plane_atomic_async_update() local
231 new_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update()
262 if (!old_fb || old_fb != new_fb) in lsdc_cursor_plane_atomic_async_update()
263 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_stdu.c971 struct drm_framebuffer *new_fb = new_state->fb; in vmw_stdu_primary_plane_prepare_fb() local
980 if (!new_fb) { in vmw_stdu_primary_plane_prepare_fb()
989 vfb = vmw_framebuffer_to_vfb(new_fb); in vmw_stdu_primary_plane_prepare_fb()
990 new_vfbs = (vfb->bo) ? NULL : vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_primary_plane_prepare_fb()
1010 switch (new_fb->format->cpp[0]*8) { in vmw_stdu_primary_plane_prepare_fb()
1092 vps->cpp = new_fb->pitches[0] / new_fb->width; in vmw_stdu_primary_plane_prepare_fb()
H A Dvmwgfx_scrn.c411 struct drm_framebuffer *new_fb = new_state->fb; in vmw_sou_primary_plane_prepare_fb() local
423 if (!new_fb) { in vmw_sou_primary_plane_prepare_fb()
H A Dvmwgfx_kms.c844 struct drm_framebuffer *new_fb = new_state->fb; in vmw_du_primary_plane_atomic_check() local
856 if (!ret && new_fb) { in vmw_du_primary_plane_atomic_check()
/openbmc/linux/drivers/video/fbdev/
H A Dudlfb.c1225 unsigned char *new_fb; in dlfb_realloc_framebuffer() local
1234 new_fb = vmalloc(new_len); in dlfb_realloc_framebuffer()
1235 if (!new_fb) { in dlfb_realloc_framebuffer()
1239 memset(new_fb, 0xff, new_len); in dlfb_realloc_framebuffer()
1242 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()
1246 info->screen_buffer = new_fb; in dlfb_realloc_framebuffer()
1248 info->fix.smem_start = (unsigned long) new_fb; in dlfb_realloc_framebuffer()
H A Dsmscufx.c1307 unsigned char *new_fb; in ufx_realloc_framebuffer() local
1317 new_fb = vmalloc(new_len); in ufx_realloc_framebuffer()
1318 if (!new_fb) in ufx_realloc_framebuffer()
1322 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
1326 info->screen_buffer = new_fb; in ufx_realloc_framebuffer()
1328 info->fix.smem_start = (unsigned long) new_fb; in ufx_realloc_framebuffer()
/openbmc/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c462 struct drm_framebuffer *new_fb = new_plane_state->fb; in mgag200_primary_plane_helper_atomic_check() local
484 if (!fb || (fb->format != new_fb->format)) in mgag200_primary_plane_helper_atomic_check()
488 new_mgag200_crtc_state->format = new_fb->format; in mgag200_primary_plane_helper_atomic_check()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c1190 const struct drm_framebuffer *new_fb = new_plane_state->hw.fb; in intel_fbc_can_flip_nuke() local
1199 if (old_fb->format->format != new_fb->format->format) in intel_fbc_can_flip_nuke()
1202 if (old_fb->modifier != new_fb->modifier) in intel_fbc_can_flip_nuke()
/openbmc/linux/drivers/gpu/drm/ast/
H A Dast_mode.c859 struct drm_framebuffer *new_fb = new_plane_state->fb; in ast_cursor_plane_helper_atomic_check() local
873 if (new_fb->width > AST_MAX_HWC_WIDTH || new_fb->height > AST_MAX_HWC_HEIGHT) in ast_cursor_plane_helper_atomic_check()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dofdrm.c762 struct drm_framebuffer *new_fb = new_plane_state->fb; in ofdrm_primary_plane_helper_atomic_check() local
783 new_ofdrm_crtc_state->format = new_fb->format; in ofdrm_primary_plane_helper_atomic_check()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c1959 struct drm_framebuffer *new_fb = plane_state->fb; in drm_atomic_helper_async_commit() local
1970 WARN_ON_ONCE(plane->state->fb != new_fb); in drm_atomic_helper_async_commit()