rpms/xorg-x11-drv-ati/F-11 radeon-6.12.2-kms-gamma.patch, NONE, 1.1 xorg-x11-drv-ati.spec, 1.178, 1.179
Adam Jackson
ajax at fedoraproject.org
Thu Apr 16 21:03:25 UTC 2009
Author: ajax
Update of /cvs/pkgs/rpms/xorg-x11-drv-ati/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2348
Modified Files:
xorg-x11-drv-ati.spec
Added Files:
radeon-6.12.2-kms-gamma.patch
Log Message:
test kms gamma patch
radeon-6.12.2-kms-gamma.patch:
--- NEW FILE radeon-6.12.2-kms-gamma.patch ---
diff -up xf86-video-ati-6.12.2/src/drmmode_display.c.jx xf86-video-ati-6.12.2/src/drmmode_display.c
--- xf86-video-ati-6.12.2/src/drmmode_display.c.jx 2009-04-16 14:51:57.000000000 -0400
+++ xf86-video-ati-6.12.2/src/drmmode_display.c 2009-04-16 14:54:22.000000000 -0400
@@ -458,7 +458,11 @@ static void
drmmode_crtc_gamma_set(xf86CrtcPtr crtc, uint16_t *red, uint16_t *green,
uint16_t *blue, int size)
{
- return;
+ drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
+ drmmode_ptr drmmode = drmmode_crtc->drmmode;
+
+ drmModeCrtcSetGamma(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
+ size, red, green, blue);
}
static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
Index: xorg-x11-drv-ati.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ati/F-11/xorg-x11-drv-ati.spec,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -r1.178 -r1.179
--- xorg-x11-drv-ati.spec 16 Apr 2009 08:18:34 -0000 1.178
+++ xorg-x11-drv-ati.spec 16 Apr 2009 21:02:55 -0000 1.179
@@ -17,6 +17,7 @@
Patch1: radeon-modeset.patch
Patch6: radeon-6.9.0-bgnr-enable.patch
Patch7: radeon-6.12.1-r600-fb-size.patch
+Patch8: radeon-6.12.2-kms-gamma.patch
ExcludeArch: s390 s390x
@@ -41,6 +42,8 @@
%patch1 -p1 -b .modeset
%patch6 -p1 -b .bgnr
%patch7 -p1 -b .r600-fb-size
+# don't do this yet, kernel will oops if you do
+#patch8 -p1 -b .kms-gamma
%build
autoreconf -iv
More information about the fedora-extras-commits
mailing list