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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


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.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to