diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-07-13 13:33:59 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-09-13 15:58:08 -0700 |
commit | af2a94e12fe4e426dfca461a0d14526193c01cef (patch) | |
tree | fe831951f9fd66c949be81503d33f95cae79d491 | |
parent | 7a63b2db636f01694cb54726bbb04287718e286a (diff) |
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>
-rw-r--r-- | hw/xfree86/common/xf86VGAarbiter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c index becf4a9c7..fa313f18d 100644 --- a/hw/xfree86/common/xf86VGAarbiter.c +++ b/hw/xfree86/common/xf86VGAarbiter.c @@ -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); |