Searched refs:agpSize (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Dmach64_dri.h45 drmSize agpSize; member in struct:__anon7b6ec2b60108
119 drmSize agpSize; member in struct:__anon7b6ec2b60208
H A Datidri.c553 pATIDRIServer->agpSize = pATI->OptionAGPSize;
555 pATIDRIServer->agpSize );
564 pATIDRIServer->agpSize );
595 pATIDRIServer->agpSize = ATI_DEFAULT_AGP_SIZE;
610 ret = drmAgpAlloc( pATI->drmFD, pATIDRIServer->agpSize*1024*1024,
619 pATIDRIServer->agpSize*1024, pATIDRIServer->agpHandle );
631 if ( !ATIDRISetBufSize( pScreen, pATIDRIServer->agpSize ) )
634 pATIDRIServer->agpTexSize = pATIDRIServer->agpSize - pATIDRIServer->bufferSize;
646 s = (pATIDRIServer->agpSize*1024*1024 - pATIDRIServer->agpTexStart);
721 switch ( pATIDRIServer->agpSize ) {
[all...]
/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dsis_dri.c322 pSIS->agpSize = 0;
424 pSIS->agpSize = pSIS->agpWantedSize;
428 pSISDRI->agp.size = pSIS->agpSize;
434 pSIS->agpSize = pSISDRI->agp.size = 0;
450 drmSiSAgpInit(pSIS->drmSubFD, AGP_VTXBUF_SIZE, (pSIS->agpSize - AGP_VTXBUF_SIZE));
456 agp.size = pSIS->agpSize - AGP_VTXBUF_SIZE;
473 drmSiSAgpInit(pSIS->drmSubFD, AGP_CMDBUF_SIZE, (pSIS->agpSize - AGP_CMDBUF_SIZE));
479 agp.size = pSIS->agpSize - AGP_CMDBUF_SIZE;
635 if(pSIS->agpSize){
641 pSIS->agpSize
[all...]
H A Dsis.h859 unsigned int agpSize; member in struct:__anon2d7f85d00308
1141 unsigned int agpSize; member in struct:__anon2d7f85d00508
/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dxgi_dri.c399 pXGI->agpSize = 0;
412 pXGI->agpSize = drmAgpSize(pXGI->drmSubFD);
413 if(pXGI->agpSize==0)
429 if (drmAgpAlloc(pXGI->drmSubFD, pXGI->agpSize, 0, NULL, &pXGI->agpHandle) < 0) {
432 pXGI->agpSize = 0;
449 /* pXGI->agpSize = AGP_SIZE; */
456 pXGIDRI->agp.size = pXGI->agpSize;
483 agp.size = pXGI->agpSize; /* AGP_SIZE - AGP_VTXBUF_SIZE; */
549 if(pXGI->agpSize){
H A Dxgi.h714 unsigned int agpSize; member in struct:__anon348028e20508
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_dri.c211 ringBufInit.offset = pVia->agpSize;
273 pVia->agpSize = 0;
312 pVia->agpSize = agpPages * AGP_PAGE_SIZE - agpCmdSize;
315 agp.size = pVia->agpSize;
327 if (drmAddMap(pVia->drmmode.fd, 0, pVia->agpSize,
331 pVia->agpSize = 0;
337 drmMap(pVia->drmmode.fd, handle, pVia->agpSize, &agpaddr);
343 "[drm] agpSize = 0x%08x\n", pVia->agpSize);
668 if (pVia->agpSize) {
[all...]
H A Dvia_driver.h319 unsigned int agpSize; member in struct:_VIA
H A Dvia_exa_h2.c375 if ((offs - pVia->scratchOffset) < pVia->agpSize) {
H A Dvia_exa_h6.c388 if ((offs - pVia->scratchOffset) < pVia->agpSize) {
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_dri.c292 if ((ret = drmAgpAlloc(info->drmFD, info->agpSize*1024*1024, 0, NULL,
300 info->agpSize*1024, info->agpMemHandle);
323 s = (info->agpSize*1024*1024 - info->agpTexStart);
413 switch (info->agpSize) {
424 info->agpSize*1024);
452 ret = drmScatterGatherAlloc(info->drmFD, info->agpSize*1024*1024,
460 info->agpSize*1024, info->pciMemHandle);
H A Dr128_driver.c1104 info->agpSize = R128_DEFAULT_AGP_SIZE;
1124 OPTION_AGP_SIZE, (int *)&(info->agpSize))) {
1125 switch (info->agpSize) {
1136 "Illegal AGP size: %d MB\n", info->agpSize);
1143 if (info->ringSize < 1 || info->ringSize >= (int)info->agpSize) {
1153 if (info->bufSize < 1 || info->bufSize >= (int)info->agpSize) {
1170 (int)info->agpSize) {
1176 info->agpTexSize = info->agpSize - (info->ringSize + info->bufSize);
1877 "Using %d MB AGP aperture\n", info->agpSize);
H A Dr128.h410 drmSize agpSize; member in struct:__anona5d7874c0508
/xsrc/external/mit/xf86-video-mga/dist/src/
H A Dmga_dri.c297 * AGP mode. It the card is PCI, \c MGARec::agpSize should be forced to 0.
309 if(pMga->agpSize < 12)pMga->agpSize = 12;
310 if(pMga->agpSize > 64)pMga->agpSize = 64; /* cap */
333 dma_bs.agp_size = pMga->agpSize;
405 pMGADRIServer->agp.size = pMga->agpSize * 1024 * 1024;
H A Dmga.h618 int agpSize; member in struct:__anon971c52dc0c08
H A Dmga_driver.c1943 OPTION_AGP_SIZE, &(pMga->agpSize))) {
1946 pMga->agpSize);
/xsrc/external/mit/xf86-video-savage/dist/src/
H A Dsavage_driver.h492 drmSize agpSize; member in struct:_Savage
H A Dsavage_dri.c245 if (psav->agpSize < 2)
246 psav->agpSize = 2; /* at least 2MB for DMA buffers */
248 pSAVAGEDRIServer->agp.size = psav->agpSize * 1024 * 1024;
H A Dsavage_driver.c1636 psav->agpSize = 16;
1658 OPTION_AGP_SIZE, (int *)&(psav->agpSize))) {
1659 switch (psav->agpSize) {
1671 "Illegal AGP size: %d MB, defaulting to 16 MB\n", psav->agpSize);
1672 psav->agpSize = 16;
1677 "Using %d MB AGP aperture\n", psav->agpSize);
1680 psav->agpSize = 0;
1730 if (psav->agpSize == 0) {

Completed in 40 milliseconds