Summary: | DPMS does not turn off LCD backlight on NV18 [GeForce4 MX with AGP8X (Mac)] | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Vlado Plaga <rechner> | ||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | 7.5 (2009.10) | ||||||
Hardware: | PowerPC | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Vlado Plaga
2010-08-19 23:50:33 UTC
Created attachment 38013 [details] [review] nouveau_imac_backlight.patch The attached patch should fix it, can you give it a try? (In reply to comment #1) > The attached patch should fix it, can you give it a try? Yes! Great! Thank you! Now for me nouveau is superior to nv in every aspect... except for "installation", maybe. ;-) First I tried the patch with Ubuntu 10.10's kernel sources (2.6.35), and it was applied without complaint, but the compilation failed with drivers/gpu/drm/nouveau/nv04_dfp.c: In function ‘nv04_dfp_update_backlight’: drivers/gpu/drm/nouveau/nv04_dfp.c:454: error: implicit declaration of function ‘nv_mask’ make[5]: *** [drivers/gpu/drm/nouveau/nv04_dfp.o] Fehler 1 make[4]: *** [drivers/gpu/drm/nouveau] Fehler 2 make[3]: *** [drivers/gpu/drm] Fehler 2 make[2]: *** [drivers/gpu] Fehler 2 make[1]: *** [drivers] Fehler 2 make[1]: Verlasse Verzeichnis '/usr/src/linux-source-2.6.35' make: *** [debian/stamp/build/kernel] Fehler 2 Then I tried the official 2.6.36-rc1, and the backlight can now be switched off properly. Unfortunately the EDID error mentioned in bug #29455 is also back again. Will that bug be fixed in 2.6.36-rc2? Can I just replace the "gpu/drm/nouveau" directory? Or should I take the whole linux tree from nouveau's git again? (In reply to comment #2) > (In reply to comment #1) > > > The attached patch should fix it, can you give it a try? > > Yes! Great! Thank you! Now for me nouveau is superior to nv in every aspect... > except for "installation", maybe. ;-) > Ok, pushed. > First I tried the patch with Ubuntu 10.10's kernel sources (2.6.35), and it was > applied without complaint, but the compilation failed with > > drivers/gpu/drm/nouveau/nv04_dfp.c: In function ‘nv04_dfp_update_backlight’: > drivers/gpu/drm/nouveau/nv04_dfp.c:454: error: implicit declaration of function > ‘nv_mask’ > make[5]: *** [drivers/gpu/drm/nouveau/nv04_dfp.o] Fehler 1 > make[4]: *** [drivers/gpu/drm/nouveau] Fehler 2 > make[3]: *** [drivers/gpu/drm] Fehler 2 > make[2]: *** [drivers/gpu] Fehler 2 > make[1]: *** [drivers] Fehler 2 > make[1]: Verlasse Verzeichnis '/usr/src/linux-source-2.6.35' > make: *** [debian/stamp/build/kernel] Fehler 2 > 49eed80ad0cfa5d5d02992e8088463cbf1a5ff85 is what you're missing. > Then I tried the official 2.6.36-rc1, and the backlight can now be switched off > properly. Unfortunately the EDID error mentioned in bug #29455 is also back > again. > Try cherry-picking c80da92edec995a39afe2a8c2ede2fe2e2b30fc0 from the nouveau kernel tree. > Will that bug be fixed in 2.6.36-rc2? Not sure if it will be fixed for RC2 but it will probably be for one of the next RCs. > Can I just replace the "gpu/drm/nouveau" > directory? Or should I take the whole linux tree from nouveau's git again? That works sometimes, if the internal APIs haven't been broken between the kernel versions you're trying to mix, but no guarantees. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.