Searched refs:new_fb (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/loongson/ |
D | lsdc_plane.c | 75 struct drm_framebuffer *new_fb = new_plane_state->fb; in lsdc_primary_atomic_update() local 77 u64 fb_addr = lsdc_fb_base_addr(new_fb); in lsdc_primary_atomic_update() 79 fb_addr += lsdc_get_fb_offset(new_fb, new_plane_state); in lsdc_primary_atomic_update() 82 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update() 84 if (!old_fb || old_fb->format != new_fb->format) in lsdc_primary_atomic_update() 85 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update() 225 struct drm_framebuffer *new_fb; in lsdc_cursor_plane_atomic_async_update() local 230 new_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update() 261 if (!old_fb || old_fb != new_fb) in lsdc_cursor_plane_atomic_async_update() 262 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update() [all …]
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 974 struct drm_framebuffer *new_fb = new_state->fb; in vmw_stdu_primary_plane_prepare_fb() local 985 if (!new_fb) { in vmw_stdu_primary_plane_prepare_fb() 994 vfb = vmw_framebuffer_to_vfb(new_fb); in vmw_stdu_primary_plane_prepare_fb() 995 new_vfbs = (vfb->bo) ? NULL : vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_primary_plane_prepare_fb() 1015 switch (new_fb->format->cpp[0]*8) { in vmw_stdu_primary_plane_prepare_fb() 1126 vps->cpp = new_fb->pitches[0] / new_fb->width; in vmw_stdu_primary_plane_prepare_fb()
|
D | vmwgfx_scrn.c | 405 struct drm_framebuffer *new_fb = new_state->fb; in vmw_sou_primary_plane_prepare_fb() local 418 if (!new_fb) { in vmw_sou_primary_plane_prepare_fb()
|
D | vmwgfx_kms.c | 843 struct drm_framebuffer *new_fb = new_state->fb; in vmw_du_primary_plane_atomic_check() local 852 if (old_fb != new_fb) in vmw_du_primary_plane_atomic_check()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | udlfb.c | 1182 unsigned char *new_fb; in dlfb_realloc_framebuffer() local 1191 new_fb = vmalloc(new_len); in dlfb_realloc_framebuffer() 1192 if (!new_fb) { in dlfb_realloc_framebuffer() 1196 memset(new_fb, 0xff, new_len); in dlfb_realloc_framebuffer() 1199 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer() 1203 info->screen_buffer = new_fb; in dlfb_realloc_framebuffer() 1205 info->fix.smem_start = (unsigned long) new_fb; in dlfb_realloc_framebuffer()
|
D | smscufx.c | 1268 unsigned char *new_fb; in ufx_realloc_framebuffer() local 1278 new_fb = vmalloc(new_len); in ufx_realloc_framebuffer() 1279 if (!new_fb) in ufx_realloc_framebuffer() 1283 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer() 1287 info->screen_buffer = new_fb; in ufx_realloc_framebuffer() 1289 info->fix.smem_start = (unsigned long) new_fb; in ufx_realloc_framebuffer()
|
/linux-6.12.1/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 470 struct drm_framebuffer *new_fb = new_plane_state->fb; in mgag200_primary_plane_helper_atomic_check() local 492 if (!fb || (fb->format != new_fb->format)) in mgag200_primary_plane_helper_atomic_check() 496 new_mgag200_crtc_state->format = new_fb->format; in mgag200_primary_plane_helper_atomic_check()
|
/linux-6.12.1/drivers/gpu/drm/tiny/ |
D | ofdrm.c | 765 struct drm_framebuffer *new_fb = new_plane_state->fb; in ofdrm_primary_plane_helper_atomic_check() local 783 if (new_fb->format != odev->format) { in ofdrm_primary_plane_helper_atomic_check() 796 new_ofdrm_crtc_state->format = new_fb->format; in ofdrm_primary_plane_helper_atomic_check()
|
D | simpledrm.c | 589 struct drm_framebuffer *new_fb = new_plane_state->fb; in simpledrm_primary_plane_helper_atomic_check() local 608 if (new_fb->format != sdev->format) { in simpledrm_primary_plane_helper_atomic_check()
|
/linux-6.12.1/drivers/gpu/drm/ast/ |
D | ast_mode.c | 875 struct drm_framebuffer *new_fb = new_plane_state->fb; in ast_cursor_plane_helper_atomic_check() local 889 if (new_fb->width > AST_MAX_HWC_WIDTH || new_fb->height > AST_MAX_HWC_HEIGHT) in ast_cursor_plane_helper_atomic_check()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_fbc.c | 1442 const struct drm_framebuffer *new_fb = new_plane_state->hw.fb; in intel_fbc_can_flip_nuke() local 1451 if (old_fb->format->format != new_fb->format->format) in intel_fbc_can_flip_nuke() 1454 if (old_fb->modifier != new_fb->modifier) in intel_fbc_can_flip_nuke()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_atomic_helper.c | 1962 struct drm_framebuffer *new_fb = plane_state->fb; in drm_atomic_helper_async_commit() local 1973 WARN_ON_ONCE(plane->state->fb != new_fb); in drm_atomic_helper_async_commit()
|