diff options
author | Keith Packard <keithp@koto.keithp.com> | 2007-08-28 16:00:01 -0700 |
---|---|---|
committer | Keith Packard <keithp@koto.keithp.com> | 2007-08-28 16:00:01 -0700 |
commit | 7fd9a98178cdebda4213796fdc452a8a265a1197 (patch) | |
tree | 8a04247fb556a3f86095e587e1ba746af9f620ed /src/i830_tv.c | |
parent | c6e637cd683dc60567b3b4f69b7f2b4c338c89ea (diff) |
Don't set supported TV formats until after RandR initialized.
The TV format property cannot be configured until RandR has been
initialized.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r-- | src/i830_tv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c index d86e9844..940250e5 100644 --- a/src/i830_tv.c +++ b/src/i830_tv.c @@ -1507,6 +1507,9 @@ i830_tv_format_configure_property (xf86OutputPtr output) int num_atoms = 0; int i; + if (!output->randr_output) + return Success; + for (i = 0; i < NUM_TV_MODES; i++) if (!tv_modes[i].component_only || dev_priv->type == TV_TYPE_COMPONENT) current_atoms[num_atoms++] = tv_format_name_atoms[i]; |