Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c77 struct drm_framebuffer *new_fb = new_plane_state->fb; in lsdc_primary_atomic_update() local
79 u64 fb_addr = lsdc_fb_base_addr(new_fb); in lsdc_primary_atomic_update()
81 fb_addr += lsdc_get_fb_offset(new_fb, new_plane_state); in lsdc_primary_atomic_update()
84 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update()
86 if (!old_fb || old_fb->format != new_fb->format) in lsdc_primary_atomic_update()
87 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update()
228 struct drm_framebuffer *new_fb; in lsdc_cursor_plane_atomic_async_update() local
233 new_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update()
264 if (!old_fb || old_fb != new_fb) in lsdc_cursor_plane_atomic_async_update()
265 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update()
[all …]
/linux/drivers/gpu/drm/ast/
H A Dast_cursor.c171 struct drm_framebuffer *new_fb = new_plane_state->fb; in ast_cursor_plane_helper_atomic_check() local
185 if (new_fb->width > AST_MAX_HWC_WIDTH || new_fb->height > AST_MAX_HWC_HEIGHT) in ast_cursor_plane_helper_atomic_check()
/linux/drivers/video/fbdev/
H A Dsmscufx.c1272 unsigned char *new_fb; in ufx_realloc_framebuffer() local
1282 new_fb = vmalloc(new_len); in ufx_realloc_framebuffer()
1283 if (!new_fb) in ufx_realloc_framebuffer()
1287 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
1291 info->screen_buffer = new_fb; in ufx_realloc_framebuffer()
1293 info->fix.smem_start = (unsigned long) new_fb; in ufx_realloc_framebuffer()
/linux/drivers/gpu/drm/sysfb/
H A Dvesadrm.c255 struct drm_framebuffer *new_fb = new_plane_state->fb; in vesadrm_primary_plane_helper_atomic_check() local
275 switch (new_fb->format->format) { in vesadrm_primary_plane_helper_atomic_check()