From cf33abe43bd95c9437fad8e6201a24084ff96cb8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 13 Mar 2007 10:08:57 -0700 Subject: [PATCH] Add write posting protection for the SDVO DPMS-on path. --- src/i830_sdvo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index a3db5176..4c543db4 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -695,12 +695,14 @@ i830_sdvo_dpms(xf86OutputPtr output, int mode) if ((temp & SDVO_ENABLE) == 0) { OUTREG(dev_priv->output_device, temp | SDVO_ENABLE); + (void)INREG(dev_priv->output_device); #if 0 /* Do it again! If we remove this below register write, or the exact * same one 2 lines up, the mac mini SDVO output doesn't turn on. */ OUTREG(dev_priv->output_device, INREG(dev_priv->output_device) | SDVO_ENABLE); + (void)INREG(dev_priv->output_device); #endif } for (i = 0; i < 2; i++)