summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-03-23 23:42:52 -0700
committerKeith Packard <keithp@neko.keithp.com>2007-03-23 23:42:52 -0700
commit1e6e675524461ef0eb1983de89e2877426571a55 (patch)
tree487d0ca1a487186494521ae4657e5190578378bf
parent28da6f4e307880326dd553f50fe3fff3b9be9f4f (diff)
Eliminate calls to RRPostPendingProperty.
RRPostPendingProperty has been removed in favor of RRPostPendingProperties, and that call is now managed outside of the driver.
-rw-r--r--src/i830_tv.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index ac521c1c..43a4dd4d 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1486,7 +1486,6 @@ i830_tv_create_resources(xf86OutputPtr output)
strlen (dev_priv->tv_format),
dev_priv->tv_format,
FALSE, TRUE);
- RRPostPendingProperty (output->randr_output, tv_format_atom);
if (err != 0) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"RRChangeOutputProperty error, %d\n", err);
@@ -1513,7 +1512,6 @@ i830_tv_create_resources(xf86OutputPtr output)
XA_INTEGER, 32, PropModeReplace,
1, &dev_priv->margin[i],
FALSE, TRUE);
- RRPostPendingProperty (output->randr_output, margin_atoms[i]);
if (err != 0) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"RRChangeOutputProperty error, %d\n", err);
@@ -1522,16 +1520,6 @@ i830_tv_create_resources(xf86OutputPtr output)
#endif /* RANDR_12_INTERFACE */
}
-static void
-i830_tv_commit (xf86OutputPtr output)
-{
-#ifdef RANDR_12_INTERFACE
- if (output->randr_output)
- RRPostPendingProperty (output->randr_output, tv_format_atom);
-#endif
- i830_output_commit (output);
-}
-
#ifdef RANDR_12_INTERFACE
static Bool
i830_tv_set_property(xf86OutputPtr output, Atom property,
@@ -1593,7 +1581,7 @@ static const xf86OutputFuncsRec i830_tv_output_funcs = {
.mode_fixup = i830_tv_mode_fixup,
.prepare = i830_output_prepare,
.mode_set = i830_tv_mode_set,
- .commit = i830_tv_commit,
+ .commit = i830_output_commit,
.detect = i830_tv_detect,
.get_modes = i830_tv_get_modes,
.destroy = i830_tv_destroy,