[Nouveau] [Bug 29455] Nouveau TV-out incorrectly detecting load on NV18

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 13 08:23:19 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29455

--- Comment #12 from Francisco Jerez <currojerez at riseup.net> 2010-08-13 08:23:18 PDT ---
(In reply to comment #11)
> > Yeah, the attached patch adds some debugging output that may be useful for you
> > to see the effects of your changes, "output=2 sample=YXXXXXXX" with Y!=0 means
> > load is incorrectly being detected in your tv output.
> 
> Debugging output still does not help me understand much... but nevertheless I
> wanted to give it a try. 
> 
> The first problem with the patch was: I don't have the file "nv10_gpio.c". Is
> that a problem? Ok, I guess I should be using latest nouveau git instead of a
> stable kernel anyway... so I tried the out-of-tree build (alternative), but
> there was a new problem:
> 
> In file included from
> /usr/src/nouveau/master/drivers/gpu/drm/nouveau/nouveau_bios.c:31:
> include/linux/io-mapping.h:25:23: error: asm/iomap.h: No such file or directory
> make[3]: *** [/usr/src/nouveau/master/drivers/gpu/drm/nouveau/nouveau_bios.o]
> Error 1
> make[2]: *** [/usr/src/nouveau/master/drivers/gpu/drm/nouveau] Error 2
> make[1]: *** [_module_/usr/src/nouveau/master/drivers/gpu/drm] Error 2
> make[1]: Leaving directory `/usr/src/linux-source-2.6.35'
> make: *** [modules] Error 2
> 
> I suppose it is an architecture-related problem. In kernel 2.6.35
> nouveau_bios.c does not include "linux/io-mapping.h" yet, so "asm/iomap.h" is
> not required either. The later file is in
> "linux-source-2.6.35/arch/x86/include/asm/iomap.h" on my system, whis is
> probably not good for a PPC. There is also a
> "linux-source-2.6.35/include/asm-generic/iomap.h", which might be an
> alternative.

That's already fixed in Linus' kernel tree, try cherry-picking
31ce4bfdfd10bf5db9bf85c92bbe0cf2edbdcad8.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list