Lines Matching refs:fb
188 set->fb = NULL; in remove_from_modeset()
279 mode_set->fb, in drm_fb_helper_debug_enter()
298 return c->primary->fb; in drm_mode_config_fb()
313 struct drm_framebuffer *fb; in drm_fb_helper_debug_leave() local
320 fb = drm_mode_config_fb(crtc); in drm_fb_helper_debug_leave()
325 if (!fb) { in drm_fb_helper_debug_leave()
331 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x, in drm_fb_helper_debug_leave()
365 plane->old_fb = plane->fb; in restore_fbdev_mode_atomic()
496 if (crtc->primary->fb) in drm_fb_helper_is_bound()
498 if (crtc->primary->fb == fb_helper->fb) in drm_fb_helper_is_bound()
975 struct drm_framebuffer *fb = fb_helper->fb; in setcolreg() local
1010 if (fb->bits_per_pixel == 16) { in setcolreg()
1013 if (fb->depth == 16 && regno > 63) in setcolreg()
1015 if (fb->depth == 15 && regno > 31) in setcolreg()
1018 if (fb->depth == 16) { in setcolreg()
1038 if (fb->depth != 16) in setcolreg()
1109 struct drm_framebuffer *fb = fb_helper->fb; in drm_fb_helper_check_var() local
1116 if (var->bits_per_pixel > fb->bits_per_pixel || in drm_fb_helper_check_var()
1117 var->xres > fb->width || var->yres > fb->height || in drm_fb_helper_check_var()
1118 var->xres_virtual > fb->width || var->yres_virtual > fb->height) { in drm_fb_helper_check_var()
1123 fb->width, fb->height, fb->bits_per_pixel); in drm_fb_helper_check_var()
1255 plane->old_fb = plane->fb; in pan_display_atomic()
1457 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
1525 struct drm_framebuffer *fb = fb_helper->fb; in drm_fb_helper_fill_var() local
1527 info->var.xres_virtual = fb->width; in drm_fb_helper_fill_var()
1528 info->var.yres_virtual = fb->height; in drm_fb_helper_fill_var()
1529 info->var.bits_per_pixel = fb->bits_per_pixel; in drm_fb_helper_fill_var()
1537 switch (fb->depth) { in drm_fb_helper_fill_var()
2032 modeset->fb = NULL; in drm_setup_crtcs()
2052 modeset->fb = fb_helper->fb; in drm_setup_crtcs()
2062 BUG_ON(modeset->fb); in drm_setup_crtcs()
2151 if (!fb_helper->fb || !drm_fb_helper_is_bound(fb_helper)) { in drm_fb_helper_hotplug_event()
2158 max_width = fb_helper->fb->width; in drm_fb_helper_hotplug_event()
2159 max_height = fb_helper->fb->height; in drm_fb_helper_hotplug_event()