/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.c | 54 MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration"); 61 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_fillrect() local 62 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_fillrect() 93 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_copyarea() local 94 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_copyarea() 125 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_imageblit() local 126 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_imageblit() 157 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_sync() local 158 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_sync() 184 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_open() local 185 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_open() 195 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_release() local 196 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_release() 238 if (drm->fbcon) { nouveau_fbcon_accel_save_disable() 239 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; nouveau_fbcon_accel_save_disable() 240 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; nouveau_fbcon_accel_save_disable() 248 if (drm->fbcon) { nouveau_fbcon_accel_restore() 249 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; nouveau_fbcon_accel_restore() 257 struct nouveau_fbdev *fbcon = drm->fbcon; nouveau_fbcon_accel_fini() local 258 if (fbcon && drm->channel) { nouveau_fbcon_accel_fini() 260 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; nouveau_fbcon_accel_fini() 263 nvif_object_fini(&fbcon->twod); nouveau_fbcon_accel_fini() 264 nvif_object_fini(&fbcon->blit); nouveau_fbcon_accel_fini() 265 nvif_object_fini(&fbcon->gdi); nouveau_fbcon_accel_fini() 266 nvif_object_fini(&fbcon->patt); nouveau_fbcon_accel_fini() 267 nvif_object_fini(&fbcon->rop); nouveau_fbcon_accel_fini() 268 nvif_object_fini(&fbcon->clip); nouveau_fbcon_accel_fini() 269 nvif_object_fini(&fbcon->surf2d); nouveau_fbcon_accel_fini() 277 struct nouveau_fbdev *fbcon = drm->fbcon; nouveau_fbcon_accel_init() local 278 struct fb_info *info = fbcon->helper.fbdev; nouveau_fbcon_accel_init() 314 nouveau_fbcon_zfill(struct drm_device *dev, struct nouveau_fbdev *fbcon) nouveau_fbcon_zfill() argument 316 struct fb_info *info = fbcon->helper.fbdev; nouveau_fbcon_zfill() 319 /* Clear the entire fbcon. The drm will program every connector nouveau_fbcon_zfill() 335 struct nouveau_fbdev *fbcon = nouveau_fbcon_create() local 337 struct drm_device *dev = fbcon->dev; nouveau_fbcon_create() 382 &fbcon->nouveau_fb.vma); nouveau_fbcon_create() 398 info->par = fbcon; nouveau_fbcon_create() 400 nouveau_framebuffer_init(dev, &fbcon->nouveau_fb, &mode_cmd, nvbo); nouveau_fbcon_create() 402 nouveau_fb = &fbcon->nouveau_fb; nouveau_fbcon_create() 406 fbcon->helper.fb = fb; nouveau_fbcon_create() 425 drm_fb_helper_fill_var(info, &fbcon->helper, sizes->fb_width, sizes->fb_height); nouveau_fbcon_create() 433 nouveau_fbcon_zfill(dev, fbcon); nouveau_fbcon_create() 446 nouveau_bo_vma_del(nvbo, &fbcon->nouveau_fb.vma); nouveau_fbcon_create() 460 if (drm->fbcon) nouveau_fbcon_output_poll_changed() 461 drm_fb_helper_hotplug_event(&drm->fbcon->helper); nouveau_fbcon_output_poll_changed() 465 nouveau_fbcon_destroy(struct drm_device *dev, struct nouveau_fbdev *fbcon) nouveau_fbcon_destroy() argument 467 struct nouveau_framebuffer *nouveau_fb = &fbcon->nouveau_fb; nouveau_fbcon_destroy() 469 drm_fb_helper_unregister_fbi(&fbcon->helper); nouveau_fbcon_destroy() 470 drm_fb_helper_release_fbi(&fbcon->helper); nouveau_fbcon_destroy() 479 drm_fb_helper_fini(&fbcon->helper); nouveau_fbcon_destroy() 487 struct nouveau_fbdev *fbcon = info->par; nouveau_fbcon_gpu_lockup() local 488 struct nouveau_drm *drm = nouveau_drm(fbcon->dev); nouveau_fbcon_gpu_lockup() 490 NV_ERROR(drm, "GPU lockup - switching to software fbcon\n"); nouveau_fbcon_gpu_lockup() 504 if (drm->fbcon) { nouveau_fbcon_set_suspend() 508 drm_fb_helper_set_suspend(&drm->fbcon->helper, state); nouveau_fbcon_set_suspend() 519 struct nouveau_fbdev *fbcon; nouveau_fbcon_init() local 527 fbcon = kzalloc(sizeof(struct nouveau_fbdev), GFP_KERNEL); nouveau_fbcon_init() 528 if (!fbcon) nouveau_fbcon_init() 531 fbcon->dev = dev; nouveau_fbcon_init() 532 drm->fbcon = fbcon; nouveau_fbcon_init() 534 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs); nouveau_fbcon_init() 536 ret = drm_fb_helper_init(dev, &fbcon->helper, nouveau_fbcon_init() 541 ret = drm_fb_helper_single_add_all_connectors(&fbcon->helper); nouveau_fbcon_init() 556 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp); nouveau_fbcon_init() 563 drm_fb_helper_fini(&fbcon->helper); nouveau_fbcon_init() 565 kfree(fbcon); nouveau_fbcon_init() 574 if (!drm->fbcon) nouveau_fbcon_fini() 578 nouveau_fbcon_destroy(dev, drm->fbcon); nouveau_fbcon_fini() 579 kfree(drm->fbcon); nouveau_fbcon_fini() 580 drm->fbcon = NULL; nouveau_fbcon_fini()
|
H A D | nouveau_drm.h | 149 struct nouveau_fbdev *fbcon; member in struct:nouveau_drm
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
H A D | matroxfb_crtc2.c | 33 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_setcolreg() 37 if (m2info->fbcon.var.grayscale) { matroxfb_dh_setcolreg() 41 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); matroxfb_dh_setcolreg() 42 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); matroxfb_dh_setcolreg() 43 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); matroxfb_dh_setcolreg() 44 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); matroxfb_dh_setcolreg() 46 col = (red << m2info->fbcon.var.red.offset) | matroxfb_dh_setcolreg() 47 (green << m2info->fbcon.var.green.offset) | matroxfb_dh_setcolreg() 48 (blue << m2info->fbcon.var.blue.offset) | matroxfb_dh_setcolreg() 49 (transp << m2info->fbcon.var.transp.offset); matroxfb_dh_setcolreg() 51 switch (m2info->fbcon.var.bits_per_pixel) { matroxfb_dh_setcolreg() 122 u_int32_t linelen = m2info->fbcon.var.xres_virtual * (m2info->fbcon.var.bits_per_pixel >> 3); matroxfb_dh_restore() 174 m2info->fbcon.var.xoffset = var->xoffset; matroxfb_dh_pan_var() 175 m2info->fbcon.var.yoffset = var->yoffset; matroxfb_dh_pan_var() 176 pixelsize = m2info->fbcon.var.bits_per_pixel >> 3; matroxfb_dh_pan_var() 177 linelen = m2info->fbcon.var.xres_virtual * pixelsize; matroxfb_dh_pan_var() 178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; matroxfb_dh_pan_var() 263 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_open() 272 err = minfo->fbops.fb_open(&minfo->fbcon, user); matroxfb_dh_open() 282 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_release() 287 err = minfo->fbops.fb_release(&minfo->fbcon, user); matroxfb_dh_release() 299 struct fb_fix_screeninfo *fix = &m2info->fbcon.fix; matroxfb_dh_init_fix() 314 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_check_var() 324 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_set_par() 336 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); matroxfb_dh_set_par() 337 m2info->fbcon.fix.visual = visual; matroxfb_dh_set_par() 338 m2info->fbcon.fix.type = FB_TYPE_PACKED_PIXELS; matroxfb_dh_set_par() 339 m2info->fbcon.fix.type_aux = 0; matroxfb_dh_set_par() 340 m2info->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; matroxfb_dh_set_par() 348 matroxfb_var2my(&m2info->fbcon.var, &mt); matroxfb_dh_set_par() 353 pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3; matroxfb_dh_set_par() 396 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_pan_display() 411 if (vblank->vcount >= m2info->fbcon.var.yres) matroxfb_dh_get_vblank() 426 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_ioctl() 459 return minfo->fbcon.fbops->fb_ioctl(&minfo->fbcon, cmd, arg); DBG() 552 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) matroxfb_dh_blank() 604 m2info->fbcon.fbops = &matroxfb_dh_ops; matroxfb_dh_regit() 605 m2info->fbcon.flags = FBINFO_FLAG_DEFAULT; matroxfb_dh_regit() 606 m2info->fbcon.flags |= FBINFO_HWACCEL_XPAN | matroxfb_dh_regit() 608 m2info->fbcon.pseudo_palette = m2info->cmap; matroxfb_dh_regit() 609 fb_alloc_cmap(&m2info->fbcon.cmap, 256, 1); matroxfb_dh_regit() 633 if (register_framebuffer(&m2info->fbcon)) { matroxfb_dh_regit() 637 fb_set_var(&m2info->fbcon, &matroxfb_dh_defined); matroxfb_dh_regit() 659 minfo->fbcon.node, m2info->fbcon.node); matroxfb_dh_registerfb() 682 id = m2info->fbcon.node; matroxfb_dh_deregisterfb() 683 unregister_framebuffer(&m2info->fbcon); matroxfb_dh_deregisterfb()
|
H A D | matroxfb_crtc2.h | 8 struct fb_info fbcon; member in struct:matroxfb_dh_fb_info
|
H A D | matroxfb_base.c | 160 if (info && (info->fbcon.var.bits_per_pixel == minfo->fbcon.var.bits_per_pixel) update_crtc2() 161 && (info->fbcon.var.xres_virtual == minfo->fbcon.var.xres_virtual) update_crtc2() 162 && (info->fbcon.var.green.length == minfo->fbcon.var.green.length) update_crtc2() 164 switch (minfo->fbcon.var.bits_per_pixel) { update_crtc2() 170 mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); update_crtc2() 322 minfo->fbcon.var.xoffset = var->xoffset; matrox_pan_var() 323 minfo->fbcon.var.yoffset = var->yoffset; matrox_pan_var() 324 pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minfo->curr.final_bppShift / 32; matrox_pan_var() 359 * framebuffer and iounmap memory, neither fbmem nor fbcon-cfb* does not check matroxfb_remove() 371 unregister_framebuffer(&minfo->fbcon); matroxfb_remove() 646 struct matrox_fb_info* minfo = container_of(fb_info, struct matrox_fb_info, fbcon); matroxfb_setcolreg() 660 if (minfo->fbcon.var.grayscale) { matroxfb_setcolreg() 665 red = CNVT_TOHW(red, minfo->fbcon.var.red.length); matroxfb_setcolreg() 666 green = CNVT_TOHW(green, minfo->fbcon.var.green.length); matroxfb_setcolreg() 667 blue = CNVT_TOHW(blue, minfo->fbcon.var.blue.length); matroxfb_setcolreg() 668 transp = CNVT_TOHW(transp, minfo->fbcon.var.transp.length); matroxfb_setcolreg() 670 switch (minfo->fbcon.var.bits_per_pixel) { matroxfb_setcolreg() 683 (red << minfo->fbcon.var.red.offset) | matroxfb_setcolreg() 684 (green << minfo->fbcon.var.green.offset) | matroxfb_setcolreg() 685 (blue << minfo->fbcon.var.blue.offset) | matroxfb_setcolreg() 686 (transp << minfo->fbcon.var.transp.offset); /* for 1:5:5:5 */ matroxfb_setcolreg() 695 (red << minfo->fbcon.var.red.offset) | matroxfb_setcolreg() 696 (green << minfo->fbcon.var.green.offset) | matroxfb_setcolreg() 697 (blue << minfo->fbcon.var.blue.offset) | matroxfb_setcolreg() 698 (transp << minfo->fbcon.var.transp.offset); /* 8:8:8:8 */ matroxfb_setcolreg() 706 struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; matroxfb_init_fix() 721 struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; matroxfb_update_fix() 724 mutex_lock(&minfo->fbcon.mm_lock); matroxfb_update_fix() 727 mutex_unlock(&minfo->fbcon.mm_lock); matroxfb_update_fix() 764 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; 766 minfo->fbcon.fix.visual = visual; 767 minfo->fbcon.fix.type = FB_TYPE_PACKED_PIXELS; 768 minfo->fbcon.fix.type_aux = 0; 769 minfo->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; 858 if (vblank->vcount >= minfo->fbcon.var.yres) matroxfb_get_vblank() 950 crtc2->fbcon.fbops->fb_set_par(&crtc2->fbcon); 1778 minfo->fbcon.monspecs.hfmin = 0; initMatrox2() 1779 minfo->fbcon.monspecs.hfmax = fh; initMatrox2() 1780 minfo->fbcon.monspecs.vfmin = 0; initMatrox2() 1781 minfo->fbcon.monspecs.vfmax = fv; initMatrox2() 1782 minfo->fbcon.monspecs.dpms = 0; /* TBD */ initMatrox2() 1795 minfo->fbcon.fbops = &minfo->fbops; initMatrox2() 1796 minfo->fbcon.pseudo_palette = minfo->cmap; initMatrox2() 1798 minfo->fbcon.flags = hotplug ? FBINFO_FLAG_MODULE : FBINFO_FLAG_DEFAULT; initMatrox2() 1799 minfo->fbcon.flags |= FBINFO_PARTIAL_PAN_OK | /* Prefer panning for scroll under MC viewer/edit */ initMatrox2() 1807 fb_alloc_cmap(&minfo->fbcon.cmap, 256, 1); initMatrox2() 1812 fb_find_mode(&vesafb_defined, &minfo->fbcon, videomode[0] ? videomode : NULL, initMatrox2() 1902 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); initMatrox2() 1904 matroxfb_check_var(&vesafb_defined, &minfo->fbcon); initMatrox2() 1909 minfo->fbcon.var = vesafb_defined; initMatrox2() 1921 minfo->fbcon.device = &minfo->pcidev->dev; initMatrox2() 1922 if (register_framebuffer(&minfo->fbcon) < 0) { initMatrox2() 1925 fb_info(&minfo->fbcon, "%s frame buffer device\n", minfo->fbcon.fix.id); initMatrox2() 1930 fb_info(&minfo->fbcon, "initializing hardware\n"); initMatrox2() 1931 /* We have to use FB_ACTIVATE_FORCE, as we had to put vesafb_defined to the fbcon.var initMatrox2() 1934 fb_set_var(&minfo->fbcon, &vesafb_defined); initMatrox2() 2097 mutex_init(&minfo->fbcon.mm_lock); matroxfb_probe()
|
H A D | matroxfb_accel.c | 119 mpitch = minfo->fbcon.var.xres_virtual; matrox_cfbX_init() 126 accel = (minfo->fbcon.var.accel_flags & FB_ACCELF_TEXT) == FB_ACCELF_TEXT; matrox_cfbX_init() 128 switch (minfo->fbcon.var.bits_per_pixel) { matrox_cfbX_init() 147 case 16: if (minfo->fbcon.var.green.length == 5) matrox_cfbX_init() 297 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, area->width >> 1); matroxfb_cfb4_copyarea() 303 matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, area->height, area->width); matroxfb_copyarea() 364 mga_outl(M_YDST, sy * minfo->fbcon.var.xres_virtual >> 6); matroxfb_cfb4_clear() 369 u_int32_t step = minfo->fbcon.var.xres_virtual >> 1; matroxfb_cfb4_clear()
|
H A D | i2c-matroxfb.c | 112 minfo->fbcon.node); i2c_bus_reg()
|
H A D | matroxfb_Ti3026.c | 318 if (minfo->fbcon.var.bits_per_pixel == 24) { Ti3026_setpclk() 337 if (minfo->fbcon.var.bits_per_pixel == 24) { Ti3026_setpclk() 376 switch (minfo->fbcon.var.bits_per_pixel) { Ti3026_init() 391 hw->DACreg[POS3026_XTRUECOLORCTRL] = (minfo->fbcon.var.green.length == 5) ? (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_ORGB_1555) : (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_RGB_565); Ti3026_init()
|
H A D | matroxfb_DAC1064.c | 355 switch (minfo->fbcon.var.bits_per_pixel) { DAC1064_init_1() 361 if (minfo->fbcon.var.green.length == 5) DAC1064_init_1() 391 if (minfo->fbcon.var.bits_per_pixel > 16) { /* 256 entries */ DBG() 399 } else if (minfo->fbcon.var.bits_per_pixel > 8) { 400 if (minfo->fbcon.var.green.length == 5) { /* 0..31, 128..159 */
|
H A D | matroxfb_base.h | 339 struct fb_info fbcon; member in struct:matrox_fb_info 497 #define info2minfo(info) container_of(info, struct matrox_fb_info, fbcon)
|
H A D | matroxfb_misc.c | 276 wd = minfo->fbcon.var.xres_virtual * minfo->curr.final_bppShift / 64; matroxfb_vgaHWinit()
|
/linux-4.4.14/drivers/gpu/drm/bochs/ |
H A D | bochs_fbdev.c | 79 DRM_ERROR("failed to create fbcon backing object %d\n", ret); bochsfb_create() 91 DRM_ERROR("failed to pin fbcon\n"); bochsfb_create() 99 DRM_ERROR("failed to kmap fbcon\n"); bochsfb_create()
|
/linux-4.4.14/drivers/video/console/ |
H A D | dummycon.c | 5 * available, usually until fbcon takes console over.
|
H A D | fbcon.h | 2 * linux/drivers/video/console/fbcon.h -- Low level frame buffer based console driver 165 /* There are several methods fbcon can use to move text around the screen: 178 * In general, fbcon will choose the best scrolling 188 * overridden, fbcon will never use soft copyarea.
|
H A D | softcursor.c | 20 #include "fbcon.h"
|
H A D | fbcon_rotate.c | 18 #include "fbcon.h"
|
H A D | tileblit.c | 17 #include "fbcon.h"
|
H A D | bitblit.c | 4 * Originally from the 'accel_*' routines in drivers/video/console/fbcon.c 20 #include "fbcon.h"
|
H A D | fbcon.c | 2 * linux/drivers/video/fbcon.c -- Low level frame buffer based console driver 81 #include "fbcon.h" 376 * the lock instead of blocking fbcon deinit */ fb_flashcursor() 503 __setup("fbcon=", fb_console_setup); 849 * fbcon should release it. set_con2fb_map() 874 /* NOTE: fbcon cannot be __init: it may be called from do_take_over_console later */ var_to_display() 2682 * use default palette of fbcon. fbcon_set_palette() 3107 printk(KERN_INFO "fbcon: Remapping primary device, " fbcon_remap_all() 3121 printk(KERN_INFO "fbcon: %s (fb%i) is primary device\n", fbcon_select_primary() 3129 printk(KERN_INFO "fbcon: Remapping primary device, " fbcon_select_primary() 3263 * if fbcon is not active fbcon_event_notify() 3570 DPRINTK("fbcon: %s pending work\n", (pending ? "canceled" : fbcon_exit() 3610 "fbcon"); fb_console_init() 3614 "for fbcon; errno = %ld\n", fb_console_init()
|
H A D | sticon.c | 7 * Based on linux/drivers/video/vgacon.c and linux/drivers/video/fbcon.c,
|
H A D | fbcon_ccw.c | 18 #include "fbcon.h"
|
H A D | fbcon_cw.c | 18 #include "fbcon.h"
|
H A D | fbcon_ud.c | 18 #include "fbcon.h"
|
H A D | newport_con.c | 36 /* borrowed from fbcon.c */
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fb.c | 196 DRM_ERROR("failed to create fbcon object %d\n", ret); amdgpufb_create() 299 /** Sets the color ramps on behalf of fbcon */ amdgpu_crtc_fb_gamma_set() 310 /** Gets the color ramps on behalf of fbcon */ amdgpu_crtc_fb_gamma_get()
|
H A D | amdgpu_device.c | 1636 int amdgpu_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon) amdgpu_suspend_kms() argument 1706 if (fbcon) { amdgpu_suspend_kms() 1723 int amdgpu_resume_kms(struct drm_device *dev, bool resume, bool fbcon) amdgpu_resume_kms() argument 1733 if (fbcon) { amdgpu_resume_kms() 1740 if (fbcon) amdgpu_resume_kms() 1785 if (fbcon) { amdgpu_resume_kms() 1798 if (fbcon) { amdgpu_resume_kms()
|
H A D | amdgpu.h | 2352 int amdgpu_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon); amdgpu_unregister_atpx_handler() 2353 int amdgpu_resume_kms(struct drm_device *dev, bool resume, bool fbcon); amdgpu_unregister_atpx_handler()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_debugfs.c | 61 seq_printf(m, "fbcon "); fb_show()
|
H A D | omap_fbdev.c | 165 * (non-tiled buffer doesn't need to be pinned for fbcon to write omap_fbdev_create()
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
H A D | cirrus_mode.c | 171 DRM_ERROR("failed to kmap fbcon\n"); cirrus_crtc_do_set_base() 411 /** Sets the color ramps on behalf of fbcon */ cirrus_crtc_fb_gamma_set() 422 /** Gets the color ramps on behalf of fbcon */ cirrus_crtc_fb_gamma_get()
|
H A D | cirrus_fbdev.c | 186 DRM_ERROR("failed to create fbcon backing object %d\n", ret); cirrusfb_create()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 97 * not adequate to be used for the fbcon. 452 * @fb_helper: fbcon to restore 455 * when implementing an fbcon on top of kms using this helper. This ensures that 510 * restore fbcon display for all kms driver's using this helper, used for sysrq 1201 * This will let fbcon do the mode init and is called at initialization time by 2136 * for a race-free fbcon setup and will make sure that the fbdev emulation will 2175 * attempt to load fbcon to avoid leaving the system without a usable console. 2180 const char *name = "fbcon"; drm_fb_helper_modinit() 2181 struct module *fbcon; drm_fb_helper_modinit() local 2184 fbcon = find_module(name); drm_fb_helper_modinit() 2187 if (!fbcon) drm_fb_helper_modinit()
|
H A D | drm_probe_helper.c | 314 * emulation code and allow it to update the fbcon output configuration.
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | pmag-aa-fb.c | 40 #include <video/fbcon.h> 41 #include <video/fbcon-cfb8.h>
|
H A D | skeletonfb.c | 11 * into fbcon.c. This reduces the code and makes writing a new fbdev driver 35 * fbcon can be written around these fields. This will also eliminate the 342 * The color depth is used by fbcon for choosing the logo and also xxxfb_setcolreg() 381 * info->pseudo_palette. This structure is used _only_ by fbcon, thus xxxfb_setcolreg() 609 * - fbcon only supports a 2-color cursor (cursor->image.depth = 1) xxxfb_cursor() 717 * fbcon performance will improve if info->flags is set properly. xxxfb_probe() 728 * NOTE: These are for fbcon use only. xxxfb_probe() 819 * call to set_par here and just allow fbcon to do it for you. xxxfb_probe()
|
H A D | cyber2000fb.c | 20 * Note that we now use the new fbcon fix, var and cmap scheme. We do 919 * the way the fbcon developers want to separate out cyber2000fb_set_par() 1639 * We also need to tell fbcon to redraw the console. cyberpro_common_resume() 1868 * the fbcon stuff may not be initialised yet. Hence the #ifdef
|
H A D | udlfb.c | 72 static bool console = 1; /* Allow fbcon to open framebuffer */ 664 /* hardware has native COPY command (see libdlo), but not worth it for fbcon */ dlfb_ops_copyarea() 871 * e.g. both fbcon and X. Makes things interesting. 879 * fbcon aggressively connects to first framebuffer it finds, dlfb_ops_open() 1961 MODULE_PARM_DESC(console, "Allow fbcon to open framebuffer");
|
H A D | grvga.c | 47 u32 color_palette[16]; /* 16 entry pseudo palette used by fbcon in true color mode */
|
H A D | smscufx.c | 133 static bool console; /* Optionally allow fbcon to consume first framebuffer */ 1064 * e.g. both fbcon and X. Makes things interesting. 1070 /* fbcon aggressively connects to first framebuffer it finds, ufx_ops_open() 1971 MODULE_PARM_DESC(console, "Allow fbcon to be used on this display");
|
H A D | i740fb.c | 980 /* Let fbcon do a soft blank for us */ i740fb_blank()
|
H A D | ps3fb.c | 995 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ ps3fb_probe()
|
H A D | pvr2fb.c | 4 * Frame buffer and fbcon support for the NEC PowerVR2 found within the Sega
|
H A D | s1d13xxxfb.c | 363 /* let fbcon do a soft blank for us */ s1d13xxxfb_blank()
|
H A D | atafb.c | 2429 // No longer called by fbcon! 2718 * New fbcon interface ...
|
H A D | atmel_lcdfb.c | 906 /* let fbcon do a soft blank for us */ atmel_lcdfb_blank()
|
H A D | sa1100fb.c | 876 * Hack around fbcon initialisation. set_ctrlr_state()
|
H A D | tridentfb.c | 1444 /* let fbcon do a softblank for us */ tridentfb_blank()
|
H A D | pxafb.c | 1531 * Hack around fbcon initialisation. set_ctrlr_state()
|
H A D | cirrusfb.c | 1438 /* Let fbcon do a soft blank for us */ cirrusfb_blank()
|
H A D | sh_mobile_lcdcfb.c | 1948 /* Nothing to reconfigure, when called from fbcon */ sh_mobile_lcdc_release()
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 22 * The correct fix is for fbcon to never call any accel op before the engine radeon_fixup_offset()
|
H A D | radeon_monitor.c | 950 * the current fbcon doesn't quite mind ;) 965 * We need something better ultimately. Things like fbcon basically pass us out 969 * This is why I added the FB_ACTIVATE_FIND that is used by fbcon. Without this,
|
H A D | radeon_pm.c | 2624 * let fbcon continue drawing until we are all set. That shouldn't radeonfb_pci_suspend()
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | cfbimgblt.c | 23 * Incorporate mask tables similar to fbcon-cfb*.c in 2.4 API. This speeds
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
H A D | mgag200_fb.c | 183 DRM_ERROR("failed to create fbcon backing object %d\n", ret); mgag200fb_create()
|
H A D | mgag200_mode.c | 864 DRM_ERROR("failed to kmap fbcon\n"); mga_crtc_do_set_base() 1448 /** Sets the color ramps on behalf of fbcon */ mga_crtc_fb_gamma_set() 1459 /** Gets the color ramps on behalf of fbcon */ mga_crtc_fb_gamma_get()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | virtio_gpu.h | 302 /* simple formats for fbcon/X use */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_device.c | 1558 int radeon_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon) radeon_suspend_kms() argument 1639 if (fbcon) { radeon_suspend_kms() 1656 int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon) radeon_resume_kms() argument 1666 if (fbcon) { radeon_resume_kms() 1673 if (fbcon) radeon_resume_kms() 1736 if (fbcon) { radeon_resume_kms() 1752 if (fbcon) { radeon_resume_kms()
|
H A D | radeon_drv.c | 106 int radeon_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon); 107 int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon);
|
H A D | radeon_fb.c | 215 DRM_ERROR("failed to create fbcon object %d\n", ret); radeonfb_create()
|
H A D | radeon_display.c | 212 /** Sets the color ramps on behalf of fbcon */ radeon_crtc_fb_gamma_set() 223 /** Gets the color ramps on behalf of fbcon */ radeon_crtc_fb_gamma_get()
|
H A D | radeon.h | 2832 extern int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon); 2833 extern int radeon_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon);
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem_stolen.c | 43 * goal is try to reuse that object for our own fbcon which must always 479 * i915_gem_stolen_insert_node_in_range(). We may want to fix the fbcon i915_gem_init_stolen()
|
H A D | intel_fbdev.c | 540 * fbcon), so we just find the biggest and use that.
|
H A D | i915_debugfs.c | 1878 seq_printf(m, "fbcon size: %d x %d, depth %d, %d bpp, modifier 0x%llx, refcount %d, obj ", i915_gem_framebuffer_info()
|
H A D | intel_display.c | 10413 * We can not rely on the fbcon either being present (we get called
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
H A D | ast_fb.c | 210 DRM_ERROR("failed to create fbcon backing object %d\n", ret); astfb_create()
|
H A D | ast_mode.c | 549 DRM_ERROR("failed to kmap fbcon\n"); ast_crtc_do_set_base()
|
/linux-4.4.14/include/drm/ |
H A D | drm_fb_helper.h | 60 * height of all the displays. This ensures that fbcon fits on the smallest
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
H A D | udl_fb.c | 319 * e.g. both fbcon and X. Makes things interesting.
|
/linux-4.4.14/include/linux/ |
H A D | fb.h | 189 #define FB_PIXMAP_DEFAULT 1 /* used internally by fbcon */ 495 void *fbcon_par; /* fbcon use-only private area */
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
H A D | intelfbdrv.c | 36 * 01/2003 - Version 0.3.0: fbcon acceleration support added. Module 39 * 01/2003 - Version 0.4.0: fbcon HW cursor support added. (David Dawes)
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
H A D | msm_drv.c | 595 seq_printf(m, "fbcon "); msm_fb_show()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 1534 * It makes sure panel is connected when fbcon detects msm_dsi_host_register()
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 1159 /* >=2.6.12's fbcon clears the screen anyway */ sisfb_set_mode()
|