[PATCH 18/19] ddc: change API to take ScrnInfoPtr

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 14 14:24:04 PDT 2012


On 05/14/12 09:41 AM, Dave Airlie wrote:
> This removes all xf86Screens usage from ddc code,
> it modifies the API for some functions to avoid taking indices.

> -    if (!(dev = DDC2Init(scrnIndex, pBus)))
> +    if (!(dev = DDC2Init(pScrn->scrnIndex, pBus)))

It looks like DDC2Init never uses the scrnIndex you pass in - any reason
you didn't remove the index argument from it's API as well?

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list