aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* r200: get rid of old gart memory functions from old dri1Roland Scheidegger2012-08-011-26/+0
| | | | Those functions are SO dead.
* radeon/r200: fix bogus clearsRoland Scheidegger2012-08-011-26/+11
| | | | | | | | | There were several problems with these functions (which are a remnant of dri1 hyperz mostly - should bring it back somehow someday). First, it would always do a swrast clear if the buffer to clear was a fbo. Second, for buffers we wouldn't handle the clear (I guess aux/accum?) we would actually still have tried to clear that later even when we already cleared it with swrast.
* radeon/r200: remove hyperz/fast clear testing codeBrian Paul2012-03-121-10/+0
| | | | | | The flags which were computed were never actually used. Reviewed-by: Dave Airlie <[email protected]>
* dri: Remove remaining DRI1 vblank codeKristian Høgsberg2011-11-021-2/+0
|
* radeon: Drop dri2 checks now that it's always true.Eric Anholt2011-10-281-9/+0
| | | | This makes LOCK_HARDWARE empty, so it goes away.
* r200: Drop the non-kernel-memory-manager and DRI1 code.Eric Anholt2011-10-281-129/+1
|
* radeon: Remove set-but-unused color_mask variable.Eric Anholt2011-08-021-3/+0
| | | | This has been around since the initial import in 2003 and never used.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2010-07-191-107/+0
| | | | Only r200 implemented it.
* radeon/r200: fix the state emission before kernel clearDave Airlie2010-02-241-0/+2
| | | | | | this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <[email protected]>
* r200: Remove unnecessary headers.Vinson Lee2010-01-301-4/+0
|
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-041-2/+2
| | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* r200: Convert r200 to use new style debug code.Pauli Nieminen2009-08-311-5/+5
| | | | Only very few places where realy converted so there isa lot of to do.
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-6/+1
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* Fix crash when debug output is enabled and sarea is notset in r200ClearPauli Nieminen2009-06-231-1/+4
|
* radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-241-15/+15
| | | | | | | The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <[email protected]>
* r200: only set all dirty on kernel clearsDave Airlie2009-03-311-3/+3
|
* radeon/r200/r300: fix warningsDave Airlie2009-03-241-1/+0
|
* raedon/r200/r300: mega-FBO commits.Dave Airlie2009-03-231-227/+3
| | | | | | Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
* r200: enable hw clearsDave Airlie2009-03-101-19/+219
|
* r200: temporary sw clear codeDave Airlie2009-03-061-1/+18
|
* radeon: refactor framebuffer code like intelDave Airlie2009-03-031-1/+1
| | | | | this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
* r200: use correct finish interfaceDave Airlie2009-02-131-1/+1
|
* r200/r300: get up to speed on renamed filesDave Airlie2009-02-121-3/+2
|
* radeon/r200/r300: another big merge upheavel.Dave Airlie2009-02-121-58/+3
| | | | | | | | This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
* r200: bring back single dma flushDave Airlie2009-01-291-8/+5
|
* r200: start work on userspace clear for r200Dave Airlie2009-01-291-69/+94
|
* r200: fix up swtcl/tcl flushesDave Airlie2009-01-221-3/+3
|
* r200: emit elts into a separate ELT boDave Airlie2009-01-231-246/+3
|
* r200: make tri render on my r200.Dave Airlie2009-01-211-2/+4
|
* r200: clear is working at least - not much elseDave Airlie2009-01-201-9/+11
|
* radeon/r200/r300: consolidate the buffer copy/flip code into one placeDave Airlie2009-01-141-316/+2
|
* radeon/r200/r300: attempt to move lock to common codeDave Airlie2009-01-141-44/+44
|
* radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-80/+80
|
* radeon/r200: move more stuff closer together in contextDave Airlie2009-01-141-22/+22
|
* radeon/r200: start splitting out commonalities into separate headersDave Airlie2009-01-131-4/+4
|
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-211-2/+2
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-4/+4
| | | | Makefile.template
* R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.Dennis Kasprzyk2008-05-291-4/+6
|
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-291-3/+5
| | | | | | | Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
* More vblank cleanups.Michel Dänzer2007-10-301-2/+2
| | | | | | | | * Fix crash at context creation in most drivers supporting vblank. * Don't pass vblank sequence or flags to functions that get passed the drawable private already. * Attempt to initialize vblank related drawable private fields just once per drawable. May need more work in some drivers.
* Refactor and fix core vblank supportJesse Barnes2007-10-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
* Drop __DRInativeDisplay and pass in __DRIscreen pointers instead.Kristian Høgsberg2007-10-101-3/+3
| | | | | | | | | | | | | Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary.
* remove CVS/XFree86 keywordsChristoff Brill2007-05-171-1/+0
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-3/+2
|
* Want to stop passing x/y/width/height to Clear() function.Brian Paul2006-10-181-8/+16
| | | | | | | The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
* remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger2006-06-021-10/+1
| | | | request at least drmMinor 6 anyway.
* retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger2006-06-011-1/+1
| | | | intention as drm seems to never return EAGAIN) in all radeon drivers.
* Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul2006-03-311-15/+41
|
* First step of Radeon DRI unification:Eric Anholt2005-11-021-1/+1
| | | | | | | | | | | | - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.