Package: xserver-xfree86 Version: 4.2.1-5 Severity: normal Tags: upstream, patch
Mr. Stempel, in the future please feel free to file bug reports with the Debian Bug Tracking System, as I am doing with this message. That helps ensure that patches like the one you sent me don't get forgotten in the mountain of email I receive. -- G. Branden Robinson | Never attribute to malice that Debian GNU/Linux | which can be adequately explained [EMAIL PROTECTED] | by stupidity. http://people.debian.org/~branden/ |
--- Begin Message ---Hi Branden, I've run into the problem that the radeon driver for xserver-xfree86 4.2.1-5 doesn't support DPMS correctly. In fact, the screen is never blanked. At the [EMAIL PROTECTED] mailing list archive at http://www.spinics.net/lists/xf-xpert/msg06429.html I've found a patch solving this problem. Attached to this mail there is an adaption of this patch for the Debian/SID package 4.2.1-5 to be included in the debian/patches directory. If you find this patch useful, fell free to include it in future releases of the xserver-xfree86 4.2.1 package. Kind regards Steffen*** xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig Sun Feb 9 20:19:34 2003 --- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Sun Feb 9 21:50:06 2003 *************** *** 4579,4582 **** --- 4579,4594 ---- OUTREGP(RADEON_CRTC_EXT_CNTL, mask, ~mask); break; } + if (info->DisplayType == MT_DFP) { + switch (PowerManagementMode) { + case DPMSModeOn: + OUTREG(RADEON_FP_GEN_CNTL, INREG(RADEON_FP_GEN_CNTL) | (RADEON_FP_FPON | RADEON_FP_TMDS_EN)); + break; + case DPMSModeStandby: + case DPMSModeSuspend: + case DPMSModeOff: + OUTREG(RADEON_FP_GEN_CNTL, INREG(RADEON_FP_GEN_CNTL) & ~(RADEON_FP_FPON | RADEON_FP_TMDS_EN)); + break; + } + } }
--- End Message ---
pgpyPBaM1nXI6.pgp
Description: PGP signature