Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-10 | Security fix on via: Checking that the specified context belongs to the | Thomas Hellstrom | |
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-09 | Make sure savage has 3rd ioctl parameter | Jon Smirl | |
2005-08-07 | make some functions static in the savage drm driver | Dave Airlie | |
2005-08-07 | fix ioctl in r128 drm direction from Egbert Eich. | Dave Airlie | |
2005-08-07 | remove bus address | Dave Airlie | |
2005-08-05 | Fix bug in return to userspace resctx code | Dave Airlie | |
From: Egbert Eich <eich@suse.de> | |||
2005-08-05 | Rename the driver hooks in the DRM to something a little more | Eric Anholt | |
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-04 | Implement permanent sarea maps | Jon Smirl | |
2005-08-04 | Tighten up AGP security. Verify that all uses of AGP are done inside | Jon Smirl | |
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-04 | Mark some radeon init variables deprecated. These used to be passed in but | Jon Smirl | |
the driver already knew their correct value. For example the physical address of the framebuffer and registers. | |||
2005-08-04 | Split the control of master vs root priv. Everything is still marked as | Jon Smirl | |
needing root. | |||
2005-08-04 | Whitespace fixups. | Eric Anholt | |
2005-08-04 | Fix the MGA driver on BSD by passing in the proper chipset flags to the | Eric Anholt | |
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-04 | Add a debugging error message from testing new MGA code on BSD. | Eric Anholt | |
2005-08-01 | version bump | Adam Jackson | |
2005-08-01 | Fix the pkgconfig info. (Donnie Berkholz) | Adam Jackson | |
2005-07-28 | Fix issues with buffer aging when more than one dma buffer is discarded in | Eric Anholt | |
a cmdbuf, which could lead to hangs. Submitted by: Aapo Tahkola | |||
2005-07-27 | Correct a couple of descriptions of files in comments (were just | Eric Anholt | |
copy'n'pasted). Submitted by: jkim | |||
2005-07-27 | Link in the savage files from shared-core. | Eric Anholt | |
Submitted by: jkim | |||
2005-07-27 | fix driver date and drm minor version for r300 support | Roland Scheidegger | |
2005-07-20 | Add latest r300 support from r300.sf.net CVS. Patch submitted by volodya, | Eric Anholt | |
with BSD fix from jkim and the r300_reg.h license from Nicolai Haehnle. Big thanks to everyone involved! | |||
2005-07-19 | Add .cvsignore file. | Eric Anholt | |
2005-07-16 | revert last change due to me bring up too early | Dave Airlie | |
2005-07-16 | up the version | Dave Airlie | |
2005-07-16 | Egbert noticed this issue, but changing the IOW to IOWR mess up | Dave Airlie | |
compatiblity with userspace.. | |||
2005-07-15 | VIA: Fix sparse warnings (Alexey Dobriyan) | Thomas Hellstrom | |
2005-07-13 | distcheck fixes | Adam Jackson | |
2005-07-11 | IRQ must be assigned and enabled or this will hang | Jon Smirl | |
2005-07-10 | autoconfiscate libdrm | Adam Jackson | |
2005-07-03 | Simplify the sysfs code | Jon Smirl | |
2005-07-03 | Add sysfs attribute dri_library_name on Linux. code in share-core/via_drv.c | Jon Smirl | |
is ok to be shared, it will be passive on BSD. | |||
2005-06-30 | release can happen before dev->ctxlist is allocated | Jon Smirl | |
2005-06-29 | Remove the AGP requirement from Makefile and Kconfig for MGA. Remove the | Ian Romanick | |
AGP requirement from Kconfig for SIS. There never was a requirement in Makefile, and Eric Anholt confirms that the Makefile was correct. | |||
2005-06-29 | add remaining calls | Alan Hourihane | |
2005-06-29 | add i915_ioc32.c | Alan Hourihane | |
2005-06-29 | silence warning | Alan Hourihane | |
2005-06-29 | fix some warnings from cross compiler | Dave Airlie | |
2005-06-29 | make r128/mga compile properly on sparc cross-compiler | Dave Airlie | |
2005-06-29 | Move to linux specific directory | Alan Hourihane | |
2005-06-29 | add mga and r128 32/64 bits | Dave Airlie | |
This is Egberts code, ported to Pauls framework by me.. | |||
2005-06-29 | these don't need reclaim buffers their release functions handle it | Dave Airlie | |
2005-06-29 | Bug in conversion from old DRM to core DRM.... | Dave Airlie | |
2005-06-29 | Get the BSD DRM compiling again after MGA and mapping changes. Note that | Eric Anholt | |
i915 has been disabled for the moment, rather than working around linux-specific code in the shared dir. | |||
2005-06-28 | - Remove drm_initmap and replace its usage with drm_addmap. This reduces | Eric Anholt | |
code duplication, and it also hands you the map pointer so you don't need to re-find it. - Remove the permanent maps flag. Instead, for register and framebuffer maps, we always check whether there's already a map of that type and offset around. Move the Radeon map initialization into presetup (first open) so it happens again after every takedown. - Remove the split cleanup of maps between driver takedown (last close) and cleanup (module unload). Instead, always tear down maps on takedown, and drivers can recreate them on first open. - Make MGA always use addmap, instead of allocating consistent memory in the PCI case and then faking up a map for it, which accomplished nearly the same thing, in a different order. Note that the maps are exposed to the user again: we may want to expose a flag to avoid this, but it's not a security concern, and saves us a lot of code. - Remove rmmaps in the MGA driver. Since the function is only called during takedown anyway, we can let them die a natural death. - Make removal of maps happen in one function, which is called by both drm_takedown and drm_rmmap_ioctl. Reviewed by: idr (previous revision) Tested on: mga (old/new/pci dma), radeon, savage | |||
2005-06-28 | add compat code from Paul Mackerras | Dave Airlie | |
2005-06-28 | Add compat to Makefile | Dave Airlie | |
2005-06-28 | Add drm and radeon 32/64-bit compat code from Paul Mackerras | Dave Airlie | |
2005-06-28 | Given that BenH says using the sysdev approach for DRM is bogus, I'll yank | Alan Hourihane | |
the code for it, rather than introducing something that isn't going to work 100% of the time. | |||
2005-06-28 | Comment out the .resume function as without programming their dependent | Alan Hourihane | |
registers things tend to lock up in certain situations. The BIOS repost will fix things up. | |||
2005-06-27 | Reverse the pm_message_t patch for now, it appears that the 2.6.12 release | Alan Hourihane | |
didn't have it. |