X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=xorg-x11-drv-intel%2Fpatches%2Fintel-2.8.0-kms-get-crtc.patch;fp=xorg-x11-drv-intel%2Fpatches%2Fintel-2.8.0-kms-get-crtc.patch;h=e7e8569422a302b2804491f7a2fbb7de3149e216;hb=e84b24e82329d16ca18bff7966d4f02d997bc965;hp=0000000000000000000000000000000000000000;hpb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;p=people%2Farne_f%2Fipfire-3.x.git diff --git a/xorg-x11-drv-intel/patches/intel-2.8.0-kms-get-crtc.patch b/xorg-x11-drv-intel/patches/intel-2.8.0-kms-get-crtc.patch new file mode 100644 index 000000000..e7e856942 --- /dev/null +++ b/xorg-x11-drv-intel/patches/intel-2.8.0-kms-get-crtc.patch @@ -0,0 +1,23 @@ +diff -up xf86-video-intel-20090908/src/drmmode_display.c.jx xf86-video-intel-20090908/src/drmmode_display.c +--- xf86-video-intel-20090908/src/drmmode_display.c.jx 2009-09-08 14:30:55.000000000 -0400 ++++ xf86-video-intel-20090908/src/drmmode_display.c 2009-09-08 14:31:09.000000000 -0400 +@@ -1195,8 +1195,19 @@ drmmode_output_get_property(xf86OutputPt + return TRUE; + } + ++#ifdef RANDR_GET_CRTC_INTERFACE ++static xf86CrtcPtr ++drmmode_get_crtc(xf86OutputPtr output) ++{ ++ return output->crtc; ++} ++#endif ++ + static const xf86OutputFuncsRec drmmode_output_funcs = { + .create_resources = drmmode_output_create_resources, ++#ifdef RANDR_GET_CRTC_INTERFACE ++ .get_crtc = drmmode_get_crtc, ++#endif + #ifdef RANDR_12_INTERFACE + .set_property = drmmode_output_set_property, + .get_property = drmmode_output_get_property,