summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-24cleanupmodesetting-101-hotplugJakob Bornecrantz9-119/+115
2007-10-17SDVO now worksJakob Bornecrantz2-0/+8
2007-10-17SDVO almost worksJakob Bornecrantz2-24/+170
2007-10-10fixed compileJakob Bornecrantz1-10/+9
2007-10-10refactored codeJakob Bornecrantz1-29/+65
2007-10-08added small memory debug functionJakob Bornecrantz2-0/+22
2007-10-08small code fixJakob Bornecrantz1-0/+2
2007-10-08tells fb about resizeJakob Bornecrantz2-1/+40
2007-10-05fixed typedefsJakob Bornecrantz1-5/+5
2007-10-05initial hotplug workJakob Bornecrantz10-49/+203
2007-09-28Set the fb_base, so userspace applications can actually workAlan Hourihane1-0/+6
now instead of locking up.
2007-09-27Create memory pool for TT memoryAlan Hourihane1-1/+7
2007-09-27Add some more checks to modelist walking for matchingAlan Hourihane3-9/+44
incoming modes to current modelist.
2007-09-26Add bracketsAlan Hourihane1-1/+1
2007-09-26no need to copy to/from user as the unlocked ioctl doesAlan Hourihane1-201/+164
that for us. other small cleanups.
2007-09-26don't copy back if an error was returned.Alan Hourihane1-1/+1
2007-09-25Hack out i915_mem_takedownJesse Barnes1-5/+4
We may want to make the old i915 memory manager obsolete eventually, and in the meantime the takedown causes problems on unload so remove it for now.
2007-09-25Move map hash destruction to after driver unload hook is calledJesse Barnes1-1/+1
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 Barnes1-1/+0
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-24Cleanup SDVO debug outputJesse Barnes1-10/+10
SDVO debug messages were incorrectly including severity prefixes in each print rather than each unique line. Fix it up.
2007-09-24Add 965GM macro bitsJesse Barnes1-1/+2
Update IS_MOBILE macro to include new IS_I965GM test.
2007-09-24Merge branch 'master' into modesetting-101 - TTM & typedef removalJesse Barnes259-9565/+18719
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-24Added small modesetting testJakob Bornecrantz3-0/+349
2007-09-22Fix pinned buffer fence class.Thomas Hellstrom1-1/+1
2007-09-21Merge branch 'bo-set-pin'Eric Anholt8-83/+254
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-21Add some more verbosity to drm_bo_set_pin_req comments.Eric Anholt1-1/+3
2007-09-21Fix mapCount refcounting on unmap, even though the value is unused.Eric Anholt1-0/+1
2007-09-21nouveau: fix ppc and get it right this time.Stephane Marchesin1-1/+1
2007-09-21nouveau: fix notifiers on PPC.Stephane Marchesin1-1/+4
2007-09-21nouveau: add some checks to the nv04 graph switching code.Stephane Marchesin1-1/+26
2007-09-20drm_sysfs: update sysfs code from kernelDave Airlie3-124/+58
2007-09-19Merge branch 'origin' into bo-set-pinEric Anholt67-845/+6915
2007-09-18i915: Reinstate check that drawable has valid information in i915_vblank_swap.Michel Dänzer1-0/+15
2007-09-18i915: Fix scheduled buffer swaps.Michel Dänzer1-1/+1
One instance of unlocking a spinlock was converted incorrectly when this code was fixed to build on BSD.
2007-09-18Add ioc32 compat layer for XGI DRM.Ian Romanick6-5/+159
2007-09-18Fix ioc32 compat layerIan Romanick1-1/+6
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.19Brian1-0/+4
This allows the xgi code to compile with older kernels.
2007-09-12Added idr_replace() function which was apparently added in Linux 2.6.18Brian2-0/+52
Someone should probably double-check my work here since this is the first time I've touched drm_compat.[ch]
2007-09-12Remove plane->pipe mapping from SAREA private after allJesse Barnes3-7/+27
We can figure out which pipe a given plane is mapped to by looking at the display control registers instead of tracking it in a new SAREA private field. If this becomes a performance problem, we could move to an ioctl based solution by adding a new parameter for the DDX to set (defaulting to the old behavior if the param was never set of course).
2007-09-11Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/drmJesse Barnes2-12/+24
2007-09-11Disambiguate planes & pipes for swap operationsJesse Barnes4-65/+73
This mod makes the SAREA track plane to pipe mappings and corrects the name of the plane info variables (they were mislabeled as pipe info since until now all code assumed a direct mapping between planes and pipes). It also updates the flip ioctl argument to take a set of planes rather than pipes, since planes are flipped while pipes generate vblank events.
2007-09-10nouveau: nv10: add combiner registersPatrice Mandin2-12/+24
2007-09-09nouveau : nv10 fix NV10_PGRAPH_CTX_USER save/loadMatthieu Castet1-3/+1
2007-09-09nouveau : nv10 pipe ctx switch load/save.Matthieu Castet1-118/+215
This fix some issues with more than one 3D fifo, but there still some "corruption" sometimes
2007-09-08nouveau: Add Quadro NVS 140 pciidMaarten Maathuis1-0/+1
2007-09-07nouveau: Use nv41 ctxprog/vals on nv42.Ben Skeggs1-1/+3
2007-09-06Merge branch 'xgi-0-0-2'Ian Romanick16-2/+2138
2007-09-06Bump version to 1.0.0.Ian Romanick1-3/+3
2007-09-06nouveau: fix some nv04 graph switching.Stephane Marchesin1-7/+8
2007-09-06nouveau: add pure nv30 support.Stephane Marchesin1-14/+15