[Nouveau] [Bug 25589] New: compiling nouveau kernel without AGP=y fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 11 07:59:12 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25589

           Summary: compiling nouveau kernel without AGP=y fails
           Product: xorg
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        ReportedBy: xake at rymdraket.net
         QAContact: xorg-team at lists.x.org


Check out a nouveau kernel tree.
make allnoconfig
make *config and enable only the necessary things to enable DRM_NOUVEAU
make all

This will fail with:
  CC      drivers/gpu/drm/nouveau/nouveau_bo.o
drivers/gpu/drm/nouveau/nouveau_bo.c: In function
'nouveau_bo_create_ttm_backend_entry':
drivers/gpu/drm/nouveau/nouveau_bo.c:315: error: implicit declaration of
function 'ttm_agp_backend_init'
drivers/gpu/drm/nouveau/nouveau_bo.c:315: warning: return makes pointer from
integer without a cast
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_bo.o] Error 1


To make ttm_agp_backend_init avaible and nouveau to actually compile you have
to enable AGP in the kernel also.

Should AGP be a reuirment or should the module just not try to use
ttm_agp_backend_init if AGP is unset?

I have currently no idea which role AGP plays in todays modern PCI-E computers
(or old PCI card) if any at all?


-- 
Configure bugmail: http://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