summaryrefslogtreecommitdiff
path: root/src/g80_driver.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-03-27 17:12:21 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-03-27 17:12:21 -0700
commit2d8d5bd597d760968b683d41ced6a0a76518ec26 (patch)
tree9476bfa3e635c4c73a557aafdd36c86f5d5799c1 /src/g80_driver.c
parent4b8ed8497a9ab6ef1316bfcce9f31d96dd4b3540 (diff)
G80: Improve output detection.
Detect output status for paired outputs together and cache status until the BlockHandler to avoid redundantly probing for EDIDs or performing load detection.
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r--src/g80_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c
index 8dff209..4c72bbb 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -482,6 +482,8 @@ G80BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask)
if(pNv->DMAKickoffCallback)
(*pNv->DMAKickoffCallback)(pScrnInfo);
+ G80OutputResetCachedStatus(pScrnInfo);
+
pScreen->BlockHandler = pNv->BlockHandler;
(*pScreen->BlockHandler) (i, blockData, pTimeout, pReadmask);
pScreen->BlockHandler = G80BlockHandler;