summaryrefslogtreecommitdiff
path: root/linux-core
AgeCommit message (Collapse)Author
2007-10-04drm: fix page count calculationDave Airlie
Also no need to do pre-populate work on single page
2007-10-03Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'Ian Romanick
2007-10-03First round of byte-ordering fixes for PowerPC.Ian Romanick
This isn't 100% as command submission via PCI-e GART buffers doesn't work. I've hacked around that for the time being. This is essentially the code that was used at the POWER.org event to show Bimini.
2007-10-02ttm: returning into dummy causes a buffer object leakDave Airlie
as nobody ever derefs dummy, however not returning does the deref correctly.
2007-09-30nouveau: rename nv30_graph.c to nv20_graph.cPekka Paalanen
2007-09-30nouveau: nv30 graph function renames, removed nv20_graph.cPekka Paalanen
All nv30 functions in nv30_graph.c that can be used on nv20 are renamed as accordingly. nv20 specific parts from nv20_graph.c are moved into nv30_graph.c.
2007-09-29Don't build without any optimization on Linux.Michel Dänzer
Building without optimization causes the drm module not to link correctly on ppc.
2007-09-28Set the fb_base, so userspace applications can actually workAlan Hourihane
now instead of locking up.
2007-09-27Add some more checks to modelist walking for matchingAlan Hourihane
incoming modes to current modelist.
2007-09-26Allow parallel module compileKeith Packard
2007-09-26Add bracketsAlan Hourihane
2007-09-26Add bracketsAlan Hourihane
2007-09-26no need to copy to/from user as the unlocked ioctl doesAlan Hourihane
that for us. other small cleanups.
2007-09-26don't copy back if an error was returned.Alan Hourihane
2007-09-26don't copy back if an error was returned.Alan Hourihane
2007-09-25Move map hash destruction to after driver unload hook is calledJesse Barnes
The driver unload routine will want to remove register and SAREA maps, so don't destroy the map hash before we get there.
2007-09-25Remove buffer object user list check in drm_bo_destroy_unlockedJesse Barnes
In the case of driver allocated buffers, there won't necessarily be a user list associated with the buffer, so don't bug out on an empty list.
2007-09-25Merge branch 'master' into pre-superioctl-branchThomas Hellstrom
Conflicts: linux-core/drm_bo.c linux-core/drm_fence.c linux-core/drm_objects.h shared-core/drm.h
2007-09-25drm/ttm: fixup fence class naming and interfacesDave Airlie
This is some code for nouveau that Ben Skeggs worked on, and also fixes the naming (having class in a system header file == C++ keyword == bad plan)
2007-09-24Cleanup SDVO debug outputJesse Barnes
SDVO debug messages were incorrectly including severity prefixes in each print rather than each unique line. Fix it up.
2007-09-24Merge branch 'master' into modesetting-101 - TTM & typedef removalJesse Barnes
Conflicts: linux-core/drmP.h linux-core/drm_bo.c linux-core/drm_drv.c linux-core/drm_objects.h shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c Mostly removing typedefs that snuck into the modesetting code and updating to the latest TTM APIs. As of today, the i915 driver builds, but there are likely to be problems, so debugging and bugfixes will come next.
2007-09-22Fix pinned buffer fence class.Thomas Hellstrom
2007-09-22Fix drm_bo.c compiling.Thomas Hellstrom
2007-09-22Make nouveau compile on older kernels.Thomas Hellstrom
2007-09-22Add fence error member.Thomas Hellstrom
Modify the TTM backend bind arguments. Export a number of functions needed for driver-specific super-ioctls. Add a function to map buffer objects from the kernel, regardless of where they're currently placed. A number of error fixes.
2007-09-21Merge branch 'bo-set-pin'Eric Anholt
This branch replaces the NO_MOVE/NO_EVICT flags to buffer validation with a separate privileged ioctl to pin buffers like NO_EVICT meant before. The functionality that was supposed to be covered by NO_MOVE may be reintroduced later, possibly in a different way, after the superioctl branch is merged.
2007-09-20drm_sysfs: update sysfs code from kernelDave Airlie
2007-09-19Merge branch 'origin' into bo-set-pinEric Anholt
2007-09-18Add ioc32 compat layer for XGI DRM.Ian Romanick
2007-09-18Fix ioc32 compat layerIan Romanick
Previously any ioctls that weren't explicitly listed in the compat ioctl table would fail with ENOTTY. If the incoming ioctl number is outside the range of the table, assume that it Just Works, and pass it off to drm_ioctl. This make the fence related ioctls work on 64-bit PowerPC.
2007-09-12Added bool typedef added in kernel 2.6.19Brian
This allows the xgi code to compile with older kernels.
2007-09-12Added idr_replace() function which was apparently added in Linux 2.6.18Brian
Someone should probably double-check my work here since this is the first time I've touched drm_compat.[ch]
2007-09-06Bump version to 1.0.0.Ian Romanick
2007-08-31Merge branch 'master' of ssh+git://git.freedesktop.org/git/mesa/drm into ↵Ian Romanick
xgi-0-0-2
2007-08-31Acutally emit the IRQ (duh) when setting the fence post.Ian Romanick
2007-08-29Use ati_pcigart for PCI-e GART table handling.Ian Romanick
2007-08-29Fix late night dumb-dumb mistake.Ian Romanick
2007-08-29Use DRM_SPINLOCK / DRM_UNSPINLOCK macros.Ian Romanick
2007-08-28drm: remove XFREE86_VERSION macrosDave Airlie
2007-08-17Remove unnecessary include.Ian Romanick
2007-08-16Forgot to add this file on the last commit.Ian Romanick
2007-08-16Merge branch 'master' into bo-set-pinEric Anholt
2007-08-15Implement fence support.Ian Romanick
2007-08-15Fix dev->agp->base initialization on BSD, and fix addmap range check on Linux.Eric Anholt
With the previous linux commit, an AGP aperture at the end of the address space would have wrapped to 0 and the test would have failed.
2007-08-15nouveau: Allow GART notifiers when using sgdma code.Ben Skeggs
2007-08-14Eliminate unused / useless ioctls.Ian Romanick
2007-08-14Clean up remaining C++ style comments.Ian Romanick
2007-08-14Move dwWriteReg to xgi_cmdlist.c, the only file where it is used.Ian Romanick
2007-08-14Remove unused interrupt related functions.Ian Romanick
2007-08-14Clean up xgi_(en|dis)able_(mmio|ge) and move to xgi_misc.c.Ian Romanick