diff options
Diffstat (limited to 'meta-moblin/packages/xorg-driver/files/104_disable_locks.diff')
-rw-r--r-- | meta-moblin/packages/xorg-driver/files/104_disable_locks.diff | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/meta-moblin/packages/xorg-driver/files/104_disable_locks.diff b/meta-moblin/packages/xorg-driver/files/104_disable_locks.diff deleted file mode 100644 index 4b25517d58..0000000000 --- a/meta-moblin/packages/xorg-driver/files/104_disable_locks.diff +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | Index: git/src/psb_driver.c | ||
2 | =================================================================== | ||
3 | --- git.orig/src/psb_driver.c 2009-02-05 13:28:59.000000000 +0000 | ||
4 | +++ git/src/psb_driver.c 2009-02-05 13:28:59.000000000 +0000 | ||
5 | @@ -325,7 +325,7 @@ | ||
6 | |||
7 | if (!Initialised) { | ||
8 | Initialised = TRUE; | ||
9 | - xf86AddDriver(&psb, Module, 0); | ||
10 | + xf86AddDriver(&psb, Module, HaveDriverFuncs); | ||
11 | LoaderRefSymLists(fbSymbols, ddcSymbols, shadowSymbols, | ||
12 | psbvgahwSymbols, | ||
13 | #ifdef XF86DRI | ||
14 | @@ -839,6 +839,9 @@ | ||
15 | xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Linear framebuffer at 0x%lX\n", | ||
16 | (unsigned long)pScrn->memPhysBase); | ||
17 | |||
18 | + | ||
19 | + pDevice->PciInfo = xf86GetPciInfoForEntity(pDevice->pEnt->index); | ||
20 | + | ||
21 | /* color weight */ | ||
22 | if (!xf86SetWeight(pScrn, rzeros, rzeros)) { | ||
23 | return (FALSE); | ||
24 | @@ -1030,7 +1033,7 @@ | ||
25 | return FALSE; | ||
26 | |||
27 | pDevice->regPhys = pDevice->PciInfo->regions[0].base_addr; | ||
28 | - pDevice->regSize = 1 << pDevice->PciInfo->regions[0].size; | ||
29 | + pDevice->regSize = pDevice->PciInfo->regions[0].size; | ||
30 | |||
31 | pDevice->regMap = xf86MapVidMem(scrnIndex, VIDMEM_MMIO_32BIT, | ||
32 | pDevice->regPhys, pDevice->regSize); | ||
33 | @@ -1303,7 +1306,7 @@ | ||
34 | |||
35 | pScrn->pScreen = pScreen; | ||
36 | |||
37 | - psbDRILock(pScrn, 0); | ||
38 | +/* psbDRILock(pScrn, 0);*/ | ||
39 | pPsb->front = psbScanoutCreate(pScrn, pScrn->bitsPerPixel >> 3, | ||
40 | pScrn->depth, pScrn->virtualX, | ||
41 | pScrn->virtualY, 0, -1, 0); | ||
42 | @@ -1466,7 +1469,9 @@ | ||
43 | |||
44 | return psbEnterVT(pScreen->myNum, 0); | ||
45 | out_err_unlock: | ||
46 | + /* Temporary Fix TBD | ||
47 | psbDRIUnlock(pScrn); | ||
48 | + */ | ||
49 | out_err: | ||
50 | psbRestoreHWState(pDevice); | ||
51 | return FALSE; | ||
52 | Index: git/src/psb_ioctl.c | ||
53 | =================================================================== | ||
54 | --- git.orig/src/psb_ioctl.c 2009-02-05 13:43:39.000000000 +0000 | ||
55 | +++ git/src/psb_ioctl.c 2009-02-05 13:44:14.000000000 +0000 | ||
56 | @@ -167,7 +167,7 @@ | ||
57 | buf->size = rep->size; | ||
58 | buf->offset = rep->offset; | ||
59 | buf->mapHandle = rep->arg_handle; | ||
60 | - buf->mask = rep->mask; | ||
61 | + buf->mask = rep->proposed_flags; | ||
62 | buf->start = rep->buffer_start; | ||
63 | buf->fenceFlags = rep->fence_flags; | ||
64 | buf->replyFlags = rep->rep_flags; | ||