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

           Summary: mesa/drm/linux-core/drm_ttm.c fails on systems without
                    CONFIG_AGP
           Product: Mesa
           Version: CVS
          Platform: PowerPC
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have a quad-core G5, running Gentoo, 64-bit kernel, 32-bit userland.
The machine is pure PCI-Express, so I did not have CONFIG_AGP set in the
kernel. (loading the AGP modules does nothing for the machine).

The asm/agp.h file that provides these does not need CONFIG_AGP at all.
(On PPC, they actually define away to nothingness, or just an "mb()").

I think it should not have tried to compile the files that need use AGP
functions blindly. (A warning to tell users to enable the setting regardless of
them having AGP hardware might be suitable as well).

  CC [M]  mesa/drm/linux-core/drm_bo_lock.o
mesa/drm/linux-core/drm_ttm.c: In function 'drm_ttm_ipi_handler':
mesa/drm/linux-core/drm_ttm.c:35: error: implicit declaration of function
'flush_agp_cache'
mesa/drm/linux-core/drm_ttm.c: In function 'drm_set_caching':
mesa/drm/linux-core/drm_ttm.c:125: error: implicit declaration of function
'map_page_into_agp'
mesa/drm/linux-core/drm_ttm.c:127: error: implicit declaration of function
'unmap_page_from_agp'
mesa/drm/linux-core/drm_ttm.c:134: error: implicit declaration of function
'flush_agp_mappings'
make[2]: *** [mesa/drm/linux-core/drm_ttm.o] Error 1


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to