On 26 January 2012 22:36, Dave Airlie <airl...@gmail.com> wrote: > From: Dave Airlie <airl...@redhat.com> > > At least the intel, nouveau and radeon driver contain this chunk of code. > > We should move it into the server just for the sake of stopping further > cut-n-paste. > > Drivers can be adapted to use it later. > > Signed-off-by: Dave Airlie <airl...@redhat.com>
Can you not drop the ScreenPtr argument and just say that the function relies on ScrnInfoPtr::pScreen being valid? With that: Reviewed-by: Daniel Stone <dan...@fooishbar.org> Cheers, Daniel _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel