summaryrefslogtreecommitdiff
path: root/linux-core/r128_drv.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Drop shared-core, bsd-core, linux-core and scripts subdirsKristian Høgsberg1-113/+0
2009-03-02drm: drop Linux < 2.6.10 supportPekka Paalanen1-1/+1
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2007-10-30Merge branch 'master' into vblank-rework, fixup remaining driversJesse Barnes1-3/+4
Conflicts: linux-core/drmP.h linux-core/drm_drv.c linux-core/drm_irq.c shared-core/i915_drv.h shared-core/i915_irq.c shared-core/mga_drv.h shared-core/mga_irq.c shared-core/radeon_drv.h shared-core/radeon_irq.c Merge in the latest master bits and update the remaining drivers (except mach64 which math_b is working on). Also remove the 9xx hack from the i915 driver; it seems to be correct.
2006-10-14remove config.h from build no longer exists kbuild does itDave Airlie1-1/+0
2005-11-11cleanup ioctl/max_ioctl to use header file for extern symbolsDave Airlie1-3/+0
2005-10-11The Linux 2.6.9 (and earlier) fops structure does not contain aIan Romanick1-1/+1
.compat_ioctl field. This change makes the DRM build on those kernels. Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt1-30/+10
understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4)
2005-06-29add mga and r128 32/64 bitsDave Airlie1-0/+3
This is Egberts code, ported to Pauls framework by me..
2004-11-06Fix Linux build. Why won't this complile? extern int const foo; staticJon Smirl1-2/+3
struct drm_driver driver = { .var = foo }; error says foo is not constant
2004-11-06Commit WIP of BSD conversion to core model. Compiles for r128, radeon, butEric Anholt1-25/+2
doesn't run yet. Moves the ioctl definitions for these two drivers back to the shared code -- they aren't OS-specific.
2004-11-05Move ati_pcigart shared routines into drm-core moduleJon Smirl1-1/+0
2004-10-13Add a poll function that alternates between zero and normal poll return toJon Smirl1-0/+1
bring DRM into conformance with normal poll().
2004-10-12Breakout heads into their own data structures.Jon Smirl1-18/+18
2004-10-10Rename fn_tbl to driver. Core driver now uses pci_driver name whichJon Smirl1-5/+5
reflects the personality name.
2004-09-30Lindent of core build. Drivers checked for no binary diffs. A few filesJon Smirl1-45/+47
weren't Lindent's because their comments didn't convert very well. A bunch of other minor clean up with no code implact included.
2004-09-30Make fops per driver instead of global, remove default flush, poll, readJon Smirl1-0/+8
functions
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl1-2/+107
2004-09-231) switches from class_sysfs to drm sysfs implementation to allowJon Smirl1-17/+1
customization 2) compiles again on 2.4, but doesn't work
2003-10-17- Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle themEric Anholt1-0/+1
from __HAVE_DMA. This will be useful for adding vblank sync support to sis and tdfx. Rename dma_service to irq_handler, which is more accurately what it is. - Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have the right number of underscores. This may have been a problem in the case that the server died without doing its DRM_IOCTL_CONTROL to uninit.
2003-06-19Revert the janitorial - that works is now on the new branchJose Fonseca1-2/+2
newdrm-0-0-1-branch.
2003-06-03Split declarations/definitions in drm_scatter.h into drm_sg.h/drm_sg_tmp.hJose Fonseca1-2/+2
respectively. Splited the work out of the ioctls and renamed (with the _ioctl prefix). Added some more documentation. Did the same for drm_sgpsupport.h.
2002-07-05merged bsd-3-0-0-branchbsd-3-0-0-20020705-mergeAlan Hourihane1-59/+0
2002-04-09Merged drmcommand-0-0-1drmcommand-0-0-1-20020409-mergeJens Owen1-0/+2
2001-11-26Put drm version back from 3.0 to 2.2; XFree86 4.1 is the baseline forKeith Whitwell1-2/+2
versioning information.
2001-09-17bumped the DRM versions (already done in ddx and client side drivers).Alan Hourihane1-4/+4
2001-08-07Lots of DRM fixes: added new pieces of template code so the ffb driver canJeff Hartmann1-3/+3
be ported, rolled back r128 and i810 version bumps so 4.1.0 works with cvs kernel modules, added Config.in and updated Makefile.kernel, incorporated lots of drm fixes inspired by patches sent by Redhat, made DRM(realloc) usage check for NULL allocations, restructure driver init routines to export dev_priv only when initialized and to check for all error conditions.
2001-07-23Fixes that allow the modules to be built into the kernelJeff Hartmann1-0/+20
2001-07-18Add module version name at a lower layer of the code, allows things to beJeff Hartmann1-1/+1
more flexible and allow older module versions to still work. Might not be final code if we move over to DRI kernel module version, but will be if we use XFree86 version. + Only build tdfx.o instead of tdfx-4_1_0.o since tdfx.o has never changed its API.
2001-07-17Someone forgot to bump the r128 and i810 drivers properly before the 4.1.0Jeff Hartmann1-3/+3
release. Better late than never.
2001-07-16Added version string to the end of the kernel module name. This allowsJeff Hartmann1-1/+1
multiple versions of the kernel module to co-exist on one machine.
2001-04-05Merged ati-pcigart-1-0-0ati-pcigart-1-0-0-20010405-mergeKevin E Martin1-2/+4
2001-03-08Fix ring space calculations, tests. Based on patch by Bruce Stockwell.Gareth Hughes1-2/+2
2001-02-16- Clean up the way customization of the templates is done.ati-5-0-1-20010220-headGareth Hughes1-30/+4
- Fix old-style DMA for gamma driver (please test). - Pull out IRQ handling into drm_dma.h (please test on i810, gamma). - Lots of general cleanups, remove compiler warnings etc.
2001-02-15- Fix up merge.mga-1-0-0-20010215-mergeGareth Hughes1-1/+1
- Update date stamps.
2001-02-15Merge mga-1-0-0-branch into trunk.Gareth Hughes1-672/+83
2001-01-29Corresponding sync with PCI GART updates.Gareth Hughes1-7/+1
2001-01-24- Misc cleanups.Gareth Hughes1-1/+1
- Fix drmR128Clear parameters (Radeon to follow). - Add some helper macros to r128/radeon kernel modules.
2001-01-05Merged ati-5-0-0ati-5-0-0-20010105-mergeKevin E Martin1-16/+28
2000-12-15Update date information.X_4_0_2-20001221-mergeGareth Hughes1-1/+1
2000-12-12- Fix nasty depth span bug. Drawable offset was not being added to pixelGareth Hughes1-2/+2
coords. - Remove unneeded mask parameters from clear ioctl. - Use correct subpixel offsets, fixes most glean bugs. - Remove 32-bit depth buffer support. Only use 16 or 24-bit depth buffers.
2000-12-02Merged ati-4-1-1-branch into trunk.ati-4-1-1-20001202-merge-trunkX_4_0_1h-20001207-mergeX_4_0_1h-20001205-mergesse-1-0-1-branchGareth Hughes1-128/+93
2000-11-15Sync with Linux 2.4.0-test11-pre5 Provide backward compatibility testedRik Faith1-4/+3
against 2.2.18pre21 As usual, since all 2.4.0-test* kernels set LINUX_VERSION_CODE to the same value, if you are running a 2.4.0-test kernel, you MUST be running 2.4.0-test11-pre4 or later (although anything after 2.4.0-test11-pre1 should work fine -- I tested with pre4/pre5). I expect 2.2.x support to continue to work for all recent kernels, but I tested with 2.2.18pre21 -- we use the old intermodule symbol communication for 2.2.x kernels, so they should all continue to work.
2000-09-29Audit calls to schedule() Remove tags from files shared with Linux kernelRik Faith1-2/+1
tree Remove debugging statements to make debugging more useful Other minor cleanups in preparation for sync with Linux 2.4.0-test9-pre7
2000-09-27Merged the mga-lock-debug-0-2-0-branch with the trunk. This includesJeff Hartmann1-1/+1
several fixes including: (Jeff) Really disable multitexture (Broken since Mesa 3.4 integration.) (Jeff) Various changes in mga_state.c in the kernel module, which includes a fix to the bug where the first OGL application hangs the machine w/out rendering anything. This also includes defines for the warp registers so they are easily human readable. (Rik and Jeff) Fixed all the schedule loops in the kernel to look like they are supposed too. (Jeff) Configurable agp modes: Add the option "AGPMode2x" or "AGPMode4x" to your XF86Config file. (Rik) Various cleanups to the mga kernel driver to make it easier to read and debug. (Rik) Removed alot of DRM_DEBUG statements from the kernel driver.
2000-09-24commit xfree86 4.0.1d-pre updateAlan Hourihane1-0/+1
2000-09-10Sync with 2.4.0-test8 kernel.sse-1-0-0-branchGareth Hughes1-1/+1
2000-09-06Sync with 2.4.0-test8-pre5 kernel.Gareth Hughes1-14/+15
2000-08-28Add compatibility header file to make Linux 2.4.0 kernel patches cleaner.Rik Faith1-4/+1
2000-08-26Sync with Linux 2.4.0-test7 Add signal blocking support to all driversm3-0-0-1-branchRik Faith1-0/+13
(using control-z on a running direct-rendering client should work now)
2000-08-08Sync with Linux 2.4.0-test6-pre8ati-4-0-2-branchRik Faith1-2/+2