Lines Matching refs:fbcon
384 drmModeFBPtr fbcon;
386 fbcon = drmModeGetFB(pAMDGPUEnt->fd, fbcon_id);
387 if (!fbcon)
390 if (fbcon->depth != pScrn->depth ||
391 fbcon->width != pScrn->virtualX ||
392 fbcon->height != pScrn->virtualY)
395 pixmap = fbCreatePixmap(pScreen, 0, 0, fbcon->depth, 0);
399 pScreen->ModifyPixmapHeader(pixmap, fbcon->width, fbcon->height, 0, 0,
400 fbcon->pitch, NULL);
403 if (!glamor_egl_create_textured_pixmap(pixmap, fbcon->handle,
410 drmModeFreeFB(fbcon);
442 /* in some rare case there might be no fbcon and we might already