Searched refs:drm_fb (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_fb.c | 43 fb_destroy(struct drm_framebuffer *drm_fb) in fb_destroy() argument 49 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_destroy() 56 drm_framebuffer_cleanup(drm_fb); in fb_destroy() 61 fb_create_handle(struct drm_framebuffer *drm_fb, struct drm_file *file, in fb_create_handle() argument 67 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_create_handle() 100 drm_helper_mode_fill_fb_struct(&fb->drm_fb, mode_cmd); in fb_alloc() 103 rv = drm_framebuffer_init(drm, &fb->drm_fb, &fb_funcs); in fb_alloc() 168 helper->fb = &fb->drm_fb; in tegra_fb_probe() 176 drm_fb_helper_fill_fix(info, fb->drm_fb.pitches[0], fb->drm_fb.depth); in tegra_fb_probe() 177 drm_fb_helper_fill_var(info, helper, fb->drm_fb.width, in tegra_fb_probe() [all …]
|
H A D | tegra_dc.c | 151 switch (fb->drm_fb.pixel_format) { in dc_parse_drm_format() 259 win->bits_per_pixel = fb->drm_fb.bits_per_pixel; in dc_parse_drm_format() 263 nplanes = drm_format_num_planes(fb->drm_fb.pixel_format); in dc_parse_drm_format() 266 win->base[i] = bo->pbase + fb->drm_fb.offsets[i]; in dc_parse_drm_format() 267 win->stride[i] = fb->drm_fb.pitches[i]; in dc_parse_drm_format() 502 struct drm_framebuffer *drm_fb, in dc_plane_update() argument 514 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in dc_plane_update() 531 fb->drm_fb.pixel_format); in dc_plane_update() 618 win.src_w = fb->drm_fb.width; in dc_set_base() 619 win.src_h = fb->drm_fb.height; in dc_set_base() [all …]
|
H A D | tegra_drm.h | 47 struct drm_framebuffer drm_fb; member
|