Message ID | 1255061969-10752-1-git-send-email-airlied@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index ba1e751..c2ef514 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -363,6 +363,11 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, goto done; #endif +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,7,0,0,0) + crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green, + crtc->gamma_blue, crtc->gamma_size); +#endif + drmmode_ConvertToKMode(crtc->scrn, &kmode, mode);