[PATCH xf86-video-nv] Replace xf86CrtcSetMode() calls with xf86CrtcSet().

Keith Packard keithp at keithp.com
Sun Dec 12 12:41:33 PST 2010


On Sun, 12 Dec 2010 19:42:04 +0100, Cyril Brulebois <kibi at debian.org> wrote:

> -            if(crtc->enabled)
> -                xf86CrtcSetMode(crtc, &crtc->mode, crtc->rotation, crtc->x, crtc->y);
> +            if(crtc->enabled) {
> +                xf86CrtcSetRec set;
> +                set.mode = &crtc->mode;
> +                set.rotation = crtc->rotation;
> +                set.transform = NULL;
> +                set.x = crtc->x;
> +                set.y = crtc->y;
> +                xf86CrtcSet(crtc, &set);

You need to assign a value to set.flags.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101212/2221fb7d/attachment.pgp>


More information about the xorg-devel mailing list