Dear Dave, I know what you said. But I have another question now. If the property depends on other factor, for example, the TV output standard is related to mode size, if mode is 640x480, the supported values of certain property are NTSC, PAL, 720P and 1080I etc; but if mode is 720x480, the supported are NTSC, 720P and 1080I etc. PAL can't be supported any more. How can supported property value change dynamically according to mode? I think using RRConfigureOutputProperty() is a little difficult. Please give me some advices, thanks! Best wishes, Gordon
-----Original Message----- From: xorg-boun...@lists.freedesktop.org [mailto:xorg-boun...@lists.freedesktop.org] On Behalf Of Dave Airlie Sent: 2009年3月12日 17:09 To: Gordon Yuan Cc: xorg@lists.freedesktop.org Subject: Re: Set property in RandR 2009/3/12 <gordony...@viatech.com.cn>: > Dear Matthias: > You mean that the driver should set the output mode if necessary when the > property changes. Maybe we can call the output.mode_set() in the function > output.set_property(). > Thanks for your kind help! > Best wishes, > Gordon Its driver specific, so if say a TMDS coherent option is changed then the mode needs to be reset, Or if you have TV or LVDS scaling options you might also, need to change it. However you might have some values that don't require it, like backlight control Dave _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg