summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-08-20Fix silly install issue by moving the header install rules for shared-corelibdrm-1_0_3Adam Jackson4-33/+52
into shared-core/Makefile.am. Bump to 1.0.3.
2005-08-19Add r300_reg.h. Bump to 1.0.2.libdrm-1_0_2Adam Jackson2-1/+2
2005-08-17add agp buffer tokenDave Airlie1-0/+1
2005-08-17revert reversion of a part of a patch from Jon, that I did last night whileDave Airlie1-1/+2
checking things in in my sleep
2005-08-17commit toggle switch to make Linux drm_handle_t unsigned intDave Airlie1-0/+4
2005-08-16Remove the long-stale BSD non-core bits.Eric Anholt44-7560/+0
Prodded by: CVS breakage resulting in complaints about this directory.
2005-08-16add Egberts 32/64 bit patch (its in kernel already...)Dave Airlie14-58/+185
2005-08-15Port the VIA DRM to FreeBSD. Original patch by Jake, with some cleanup byEric Anholt16-90/+267
me to match other drivers and avoid ifdeffing. The linux via_drv.c will be moved from shared-core to linux-core soon by repocopy. Submitted by: Jake Burkholder <jake@FreeBSD.org> Tested by: unichrome
2005-08-14VIA bugvixes by Joris van Rantwijk Initial commit.Thomas Hellstrom7-13/+24
2005-08-12Fix build after linux-side checkin of master/root-only split. Still onlyEric Anholt2-59/+64
cares about root on the BSD side, but should be secure.
2005-08-12Reverting the previous via security-fix commit, since the assumption ofThomas Hellstrom4-43/+2
contexts registered with the callers filp was wrong.
2005-08-11Missing symbol export from previous via context check commit.Thomas Hellstrom1-1/+1
2005-08-10Security fix on via: Checking that the specified context belongs to theThomas Hellstrom4-2/+43
caller on fb / agp memory alloc and free. Otherwise malicious clients can register allocations on other clients or free memory used by other clients which will lead to severe memory manager inconsistensies.
2005-08-09Make sure savage has 3rd ioctl parameterJon Smirl1-4/+4
2005-08-07make some functions static in the savage drm driverDave Airlie3-14/+17
2005-08-07fix ioctl in r128 drm direction from Egbert Eich.Dave Airlie1-1/+1
2005-08-07remove bus addressDave Airlie1-1/+0
2005-08-05Fix bug in return to userspace resctx codeDave Airlie1-1/+1
From: Egbert Eich <eich@suse.de>
2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt56-852/+601
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-08-04Implement permanent sarea mapsJon Smirl2-3/+25
2005-08-04Tighten up AGP security. Verify that all uses of AGP are done insideJon Smirl1-8/+52
buffers that have been allocated from AGP. This includes some new capable(CAP_SYS_ADMIN) checks, these functions are also protected by the root requirement on the IOCTL macros.
2005-08-04Mark some radeon init variables deprecated. These used to be passed in butJon Smirl5-15/+11
the driver already knew their correct value. For example the physical address of the framebuffer and registers.
2005-08-04Split the control of master vs root priv. Everything is still marked asJon Smirl13-185/+191
needing root.
2005-08-04Whitespace fixups.Eric Anholt1-5/+2
2005-08-04Fix the MGA driver on BSD by passing in the proper chipset flags to theEric Anholt4-70/+71
driver's preinit routine, and by using DRM_COPY_TO_USER_IOCTL when copying out to an ioctl's data pointer. Pulled from the latest version of my drm-hook-rename.diff and only compile-tested after that.
2005-08-04Add a debugging error message from testing new MGA code on BSD.Eric Anholt1-0/+1
2005-08-01version bumplibdrm-1_0_1Adam Jackson1-1/+1
2005-08-01Fix the pkgconfig info. (Donnie Berkholz)Adam Jackson1-0/+2
2005-07-28Fix issues with buffer aging when more than one dma buffer is discarded inEric Anholt1-3/+1
a cmdbuf, which could lead to hangs. Submitted by: Aapo Tahkola
2005-07-27Correct a couple of descriptions of files in comments (were justEric Anholt2-2/+2
copy'n'pasted). Submitted by: jkim
2005-07-27Link in the savage files from shared-core.Eric Anholt1-0/+4
Submitted by: jkim
2005-07-27fix driver date and drm minor version for r300 supportRoland Scheidegger1-2/+3
2005-07-20Add latest r300 support from r300.sf.net CVS. Patch submitted by volodya,Eric Anholt18-50/+2470
with BSD fix from jkim and the r300_reg.h license from Nicolai Haehnle. Big thanks to everyone involved!
2005-07-19Add .cvsignore file.Eric Anholt1-0/+6
2005-07-16revert last change due to me bring up too earlyDave Airlie3-7/+3
2005-07-16up the versionDave Airlie1-1/+2
2005-07-16Egbert noticed this issue, but changing the IOW to IOWR mess upDave Airlie2-2/+5
compatiblity with userspace..
2005-07-15VIA: Fix sparse warnings (Alexey Dobriyan)Thomas Hellstrom10-24/+29
2005-07-13distcheck fixeslibdrm-1_0_0Adam Jackson4-13/+6
2005-07-11IRQ must be assigned and enabled or this will hangJon Smirl1-1/+1
2005-07-10autoconfiscate libdrmAdam Jackson6-55/+146
2005-07-03Simplify the sysfs codeJon Smirl3-48/+15
2005-07-03Add sysfs attribute dri_library_name on Linux. code in share-core/via_drv.cJon Smirl6-10/+57
is ok to be shared, it will be passive on BSD.
2005-06-30release can happen before dev->ctxlist is allocatedJon Smirl1-1/+1
2005-06-29Remove the AGP requirement from Makefile and Kconfig for MGA. Remove theIan Romanick2-10/+8
AGP requirement from Kconfig for SIS. There never was a requirement in Makefile, and Eric Anholt confirms that the Makefile was correct.
2005-06-29add remaining callsAlan Hourihane1-0/+79
2005-06-29add i915_ioc32.cAlan Hourihane2-0/+143
2005-06-29silence warningAlan Hourihane1-1/+4
2005-06-29fix some warnings from cross compilerDave Airlie2-7/+7
2005-06-29make r128/mga compile properly on sparc cross-compilerDave Airlie2-4/+4