search for: xnfcalloc

Displaying 7 results from an estimated 7 matches for "xnfcalloc".

Did you mean: xnfalloc
2024 Nov 08
0
[ANNOUNCE] xf86-video-nouveau 1.0.18
...ult (8): bump minimal xorg version to 1.18 drop check for xorg_list_init() drop compat for ancient server versions drop obsolete check for HAS_DIXREGISTERPRIVATEKEY drop compat with ancient ABI_VIDEODRV_VERSION < 20 use XNFalloc() instead of xnfalloc use XNFcallocarray() instead of xnfcalloc macro use dixDestroyPixmap() instead of direct driver call Ilia Mirkin (1): remove sarea.h usage Matt Turner (1): xf86-video-nouveau 1.0.18 S?rgio M. Basto (1): Fix implicit declaration of wfbScreenInit ?ukasz Spintzyk (6): nouveau: Rena...
2024 Nov 08
0
[ANNOUNCE] xf86-video-fbdev 0.5.1
...39;s standard C warning flags to AM_CFLAGS Fix warning: statement with no effect [-Wunused-value] Fix warning: unused variable ?scrnIdx? [-Wunused-variable] Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0) Enrico Weigelt, metux IT consult (2): use XNFcallocarray() instead of xnfcalloc macro drop compat with ancient xservers Matt Turner (1): xf86-video-fbdev 0.5.1 Tuomo Rinne (1): Fix build error when building with xserver built using meson git tag: xf86-video-fbdev-0.5.1 https://xorg.freedesktop.org/archive/individual/driver/xf86...
2007 Jul 05
0
RANDR1.2 and LVDS
...; + NVOutputPrivatePtr nv_output; + char outputname[20]; + int crtc_mask = (1<<0) | (1<<1); + + sprintf(outputname, "LVDS-%d", pNv->lvds_count); + output = xf86OutputCreate (pScrn, &nv_lvds_output_funcs, outputname); + if (!output) + return; + nv_output = xnfcalloc (sizeof (NVOutputPrivateRec), 1); + if (!nv_output) + { + xf86OutputDestroy (output); + return; + } + + output->driver_private = nv_output; + nv_output->type = OUTPUT_PANEL; + + nv_output->ramdac = pNv->lvds_count; + + nv_output->pDDCBus = pNv->pI2CBus[i2c_index...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...ltDepth = 0; +#ifdef XORG_WAYLAND + struct xwl_screen *xwl_screen = pScrn->driverPrivate; +#endif if (flags & PROBE_DETECT) { EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]); @@ -643,6 +765,10 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) if (!(pScrn->driverPrivate = xnfcalloc(1, sizeof(NVRec)))) return FALSE; pNv = NVPTR(pScrn); + +#ifdef XORG_WAYLAND + pNv->xwl_screen = xwl_screen; +#endif /* Get the entity, and make sure it is PCI. */ pNv->pEnt = xf86GetEntityInfo(pScrn->entityList[0]); @@ -780,6 +906,14 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...n, drmmode_ptr drmmode, int num) +drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num) { NVPtr pNv = NVPTR(pScrn); NVEntPtr pNVEnt = NVEntPriv(pScrn); @@ -784,7 +784,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) drmmode_crtc = xnfcalloc(sizeof(drmmode_crtc_private_rec), 1); drmmode_crtc->mode_crtc = drmModeGetCrtc(drmmode->fd, - drmmode->mode_res->crtcs[num]); + mode_res->crtcs[num]); drmmode_crtc->drmmode = drmmode; drmmode_crtc->hw_crtc_index = num; @@ -842,6 +842,69 @@ drmmode_output_mod...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...n, drmmode_ptr drmmode, int num) +drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num) { NVPtr pNv = NVPTR(pScrn); NVEntPtr pNVEnt = NVEntPriv(pScrn); @@ -784,7 +786,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) drmmode_crtc = xnfcalloc(sizeof(drmmode_crtc_private_rec), 1); drmmode_crtc->mode_crtc = drmModeGetCrtc(drmmode->fd, - drmmode->mode_res->crtcs[num]); + mode_res->crtcs[num]); drmmode_crtc->drmmode = drmmode; drmmode_crtc->hw_crtc_index = num; @@ -809,13 +811,19 @@ drmmode_output_de...
2015 Sep 02
0
[ANNOUNCE] xorg-server 1.17.99.901
...er for DMXExtensionInit() in dmx.c Clear ListenTransConns entries in CloseWellKnownConnections Remove apSolaris.shar (old "aperture" kernel driver for Solaris) Remove remaining doc references to Xalloc, Xrealloc, and Xfree Let calloc handle multiplication Add XNFcallocarray() to allow xnfcalloc() to check for overflow Import reallocarray() from OpenBSD Add xallocarray() helper macro Add no-fail equivalents of allocarray & reallocarray Convert os/* to new *allocarray functions Convert dix/* to new *allocarray functions Conve...