]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - xorg-x11-drv-intel/patches/intel-2.8.0-kms-get-crtc.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / xorg-x11-drv-intel / patches / intel-2.8.0-kms-get-crtc.patch
1 diff -up xf86-video-intel-20090908/src/drmmode_display.c.jx xf86-video-intel-20090908/src/drmmode_display.c
2 --- xf86-video-intel-20090908/src/drmmode_display.c.jx 2009-09-08 14:30:55.000000000 -0400
3 +++ xf86-video-intel-20090908/src/drmmode_display.c 2009-09-08 14:31:09.000000000 -0400
4 @@ -1195,8 +1195,19 @@ drmmode_output_get_property(xf86OutputPt
5 return TRUE;
6 }
7
8 +#ifdef RANDR_GET_CRTC_INTERFACE
9 +static xf86CrtcPtr
10 +drmmode_get_crtc(xf86OutputPtr output)
11 +{
12 + return output->crtc;
13 +}
14 +#endif
15 +
16 static const xf86OutputFuncsRec drmmode_output_funcs = {
17 .create_resources = drmmode_output_create_resources,
18 +#ifdef RANDR_GET_CRTC_INTERFACE
19 + .get_crtc = drmmode_get_crtc,
20 +#endif
21 #ifdef RANDR_12_INTERFACE
22 .set_property = drmmode_output_set_property,
23 .get_property = drmmode_output_get_property,