From 7fd9a98178cdebda4213796fdc452a8a265a1197 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 28 Aug 2007 16:00:01 -0700 Subject: [PATCH] Don't set supported TV formats until after RandR initialized. The TV format property cannot be configured until RandR has been initialized. --- src/i830_tv.c | 3 +++ 1 file changed, 3 insertions(+) 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];