On Thu, Mar 12, 2009 at 7:37 PM, <[email protected]> wrote: > 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.
At least on hw I've worked on we have a TV scaler so the mode is the prescalar size, and the NTSC/PAL options decides the final output mode. If you can only expose certain modes you might have to limit the modes based on the current option somehow. Dave. > Please give me some advices, thanks! > Best wishes, > Gordon > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dave Airlie > Sent: 2009年3月12日 17:09 > To: Gordon Yuan > Cc: [email protected] > Subject: Re: Set property in RandR > > 2009/3/12 <[email protected]>: >> 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xorg > > _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
