| Summary: | mesa/drm/linux-core/drm_ttm.c fails on systems without CONFIG_AGP | ||
|---|---|---|---|
| Product: | DRI | Reporter: | Robin Johnson <robbat2> |
| Component: | DRM/other | Assignee: | Thomas Hellström <thomas> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | thomas |
| Version: | DRI git | ||
| Hardware: | PowerPC | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Robin Johnson
2007-11-13 03:34:07 UTC
Actually, the functions called are a set of cache- and tlb flushing functions. These differ from architecture to architecture and the problem is really that sometimes the implementation of these functions end up in the AGP module rather in the core kernel itself. This is the case for X86. This currently means we will have to make a separate copy for TTM in the case CONFIG_AGP is not set, which is a bit ugly. For powerpc it should be sufficient to unconditionally include the asm/agp.h file. The fact that these functions are very simple and in some cases are defined away on that architecture reflects that these processors probably can deal with physical aliasing with different caching attributes, or that it's very difficult to implement caching attribute changes in the kernel map. I no longer have the PowerPC hardware to test if the problem still exists. Feel free to close with whatever resolution you feel is suitable. Hi, Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org. To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default). Sorry about the noise! |
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.