summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-04nouveau: Remove excess device classes.Maarten Maathuis
2007-10-04nouveau: NV47 context switching voodoo + warningMaarten Maathuis
2007-10-04nouveau: Switch over to using PMC_BOOT_0 for card detection.Maarten Maathuis
2007-10-04linux-drm: Obey device class requirements when detecting devices.Maarten Maathuis
2007-10-04drm: fix page count calculationDave Airlie
Also no need to do pre-populate work on single page
2007-10-04nouveau: nv2a drm context switch support.Stephane Marchesin
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-02nouveau: nv20 graph_create_context differencePekka Paalanen
nv20 writes the chan->id to a different place than nv28. This still does not make nv20 run nv10_demo.
2007-10-02nouveau: fix nv25_graph_context_initPekka Paalanen
It was writing 4x the data in a loop.
2007-10-02nouveau: nv20 graph context initStuart Bennett
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-10-01nouveau: Fix dereferencing a NULL pointer when erroring out during ↵Maarten Maathuis
initialization.
2007-10-01nouveau: flip the ctx switch bit on. it seems to be ignored on nv34 but ↵Stephane Marchesin
causes nv30 issues.
2007-09-30nouveau : nv30 remove harcoded NV20_PGRAPH_CHANNEL_CTX_TABLEMatthieu Castet
2007-09-30nouveau : nv20_graph replace nouveau_graph_wait_idle by nouveau_wait_for_idleMatthieu Castet
Also clean PGRAPH_CHANNEL macros
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-30no/* xf86drmRandom.c -- "Minimal Standard" PRNG Implementation * Created: Mon Apr 19 08:28:13 1999 by faith@precisioninsight.com * * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * Authors: Rickard E. (Rik) Faith <faith@valinux.com> * * DESCRIPTION * * This file contains a simple, straightforward implementation of the Park * & Miller "Minimal Standard" PRNG [PM88, PMS93], which is a Lehmer * multiplicative linear congruential generator (MLCG) with a period of * 2^31-1. * * This implementation is intended to provide a reliable, portable PRNG * that is suitable for testing a hash table implementation and for * implementing skip lists. * * FUTURE ENHANCEMENTS * * If initial seeds are not selected randomly, two instances of the PRNG * can be correlated. [Knuth81, pp. 32-33] describes a shuffling technique * that can eliminate this problem. * * If PRNGs are used for simulation, the period of the current * implementation may be too short. [LE88] discusses methods of combining * MLCGs to produce much longer periods, and suggests some alternative title='2007-09-29 18:08:04 +0200'>2007-09-29radeon: Commit the ring after each partial texture upload blit.chaohong guo
This makes sure each blit starts as early as possible, which may improve texture upload performance in some cases.
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-28nouveau : clean chan->pgraph_ctx stuff. We now do a static init of the array.Matthieu Castet
This avoid hardcoding pgraph_ctx size and potential buffer overflow.
2007-09-28Revert drm_i915_flip_t braindamageJesse Barnes
I should not have renamed this field. I should not have renamed this field. I should not have renamed this field. On the plus side, it was at least binary compatible.
2007-09-28Set the fb_base, so userspace applications can actually workAlan Hourihane
now instead of locking up.
2007-09-27Create memory pool for TT memoryAlan Hourihane
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-25Hack out i915_mem_takedownJesse Barnes
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 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: use fence_class as name instead of classDave Airlie
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-24Add 965GM macro bitsJesse Barnes
Update IS_MOBILE macro to include new IS_I965GM test.
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.