[PATCH xserver 6/9 v2] xfree86: Make xf86SetDDCproperties work more than once (v2)

Michel Dänzer michel at daenzer.net
Sat Apr 16 05:47:13 UTC 2016


On 16.04.2016 01:22, Adam Jackson wrote:
> We can call this more than once via xf86OutputSetEDID since hotplug is
> actually a thing in RANDR 1.2, but xf86RegisterRootWindowProperty merely
> adds the data to a list to be applied to the root at CreateWindow time,
> so calls past the first (for a given screen) would have no effect until
> server regen.
> 
> Once we've initialised pScrn->pScreen is filled in, so we can just set
> the property directly.
> 
> v2: Removed pointless version check, deobfuscate math (Walter Harms)
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list