VGA arbiter: No need for arbitration around CreateGC.
None of XAA, EXA, or UXA do any hardware access during CreateGC, so they don't need VGA arbitration. I haven't found any open source drivers that hook CreateGC, so they're safe. I'd be surprised if any driver directly hooks CreateGC and does hardware access from it and needs VGA arbitration. Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
parent
7a63b2db63
commit
af2a94e12f
|
@ -573,9 +573,7 @@ VGAarbiterCreateGC(GCPtr pGC)
|
|||
Bool ret;
|
||||
|
||||
SCREEN_PROLOG(CreateGC);
|
||||
VGAGet(pScreen);
|
||||
ret = (*pScreen->CreateGC)(pGC);
|
||||
VGAPut();
|
||||
GC_WRAP(pGC);
|
||||
SCREEN_EPILOG(CreateGC,VGAarbiterCreateGC);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user