search for: xnfalloc

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

2024 Nov 08
0
[ANNOUNCE] xf86-video-nouveau 1.0.18
...server ABI Enrico Weigelt, metux IT consult (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...
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...le_clones >> crtcshift; output->interlaceAllowed = true; output->doubleScanAllowed = true; @@ -1421,6 +1421,7 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) NVEntPtr pNVEnt = NVEntPriv(pScrn); int i; unsigned int crtcs_needed = 0; + int crtcshift; drmmode = xnfalloc(sizeof *drmmode); drmmode->fd = fd; @@ -1444,8 +1445,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) } xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Initializing outputs ...\n"); + crtcshift = ffs(pNVEnt->assigned_crtcs ^ 0xffffffff) - 1; for (i = 0; i < drmmo...
2016 Dec 19
0
[ANNOUNCE] xf86-video-qxl 0.1.5
...or message xspice: Don't create Xorg time in timer_add Fix "calles" typo in comment build: Error out when enabling xspice with X.Org 1.19 build-sys: Update for 0.1.5 release xspice: Adjust to X.org 1.19 changes Xspice: Replace malloc/strdup use with xnfalloc/xnfstrdup Remove unused 'event_mask' field Revert "Remove unused 'event_mask' field" NEWS: Xspice now works with X.org 1.19 Dave Airlie (2): Disable surfaces when KMS is used Disable composite/a8 surfaces for KMS Francois Gouget (14):...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...output->doubleScanAllowed = true; > @@ -1421,6 +1421,7 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) > NVEntPtr pNVEnt = NVEntPriv(pScrn); > int i; > unsigned int crtcs_needed = 0; > + int crtcshift; > > drmmode = xnfalloc(sizeof *drmmode); > drmmode->fd = fd; > @@ -1444,8 +1445,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp) > } > > xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Initializing outputs ...\n"); > + crtcshift = ffs(pNVEnt->assigned...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...nterpretEDID(output->scrn->scrnIndex, @@ -880,6 +930,8 @@ drmmode_output_get_modes(xf86OutputPtr output) } xf86OutputSetEDID(output, ddc_mon); + drmmode_output_attach_tile(output); + /* modes should already be available */ for (i = 0; i < koutput->count_modes; i++) { Mode = xnfalloc(sizeof(DisplayModeRec)); @@ -900,6 +952,8 @@ drmmode_output_destroy(xf86OutputPtr output) if (drmmode_output->edid_blob) drmModeFreePropertyBlob(drmmode_output->edid_blob); + if (drmmode_output->tile_blob) + drmModeFreePropertyBlob(drmmode_output->tile_blob); for (i = 0; i &lt...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...nterpretEDID(output->scrn->scrnIndex, @@ -880,6 +938,8 @@ drmmode_output_get_modes(xf86OutputPtr output) } xf86OutputSetEDID(output, ddc_mon); + drmmode_output_attach_tile(output); + /* modes should already be available */ for (i = 0; i < koutput->count_modes; i++) { Mode = xnfalloc(sizeof(DisplayModeRec)); @@ -900,6 +960,8 @@ drmmode_output_destroy(xf86OutputPtr output) if (drmmode_output->edid_blob) drmModeFreePropertyBlob(drmmode_output->edid_blob); + if (drmmode_output->tile_blob) + drmModeFreePropertyBlob(drmmode_output->tile_blob); for (i = 0; i &lt...
2010 Dec 07
1
[ANNOUNCE] xorg-server 1.9.99.901
...t library config: Remove AC_PROG_CC, SED & INSTALL that XORG_DEFAULT_OPTIONS provide Move xchomp inside #ifdef __linux__ Fix compiler warnings in hw/xfree86/os-support/solaris xf86OutputRename: Replace another strlen/malloc/strcpy set with strdup xf86ValidateModes: xnfalloc(strlen) + strcpy => xnfstrdup xf86AutoConfig: make copyScreen memory allocation & error handling more sane xf86VIDrvMsgVerb: print args, not format string FindModuleInSubdir: Stop allocating one more byte than needed Simplify Error() - don't allocate temporary cop...