Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-02-08 | fix incorrect PCI id for ATI radeon | Roland Scheidegger | |
2005-02-08 | Close a race which could allow for privilege escalation by users with DRI | Eric Anholt | |
privileges on Radeon hardware. Essentially, a malicious program could submit a packet containing an offset (possibly in main memory) to be rendered from/to, while a separate thread switched that offset in userspace rapidly between a valid value and an invalid one. radeon_check_and_fixup_offset() would pull the offset in from user space, check it, and spit it back out to user space to be copied in later by the emit code. It would sometimes catch the bad value, but sometimes the malicious program could modify it after the check and get an invalid offset rendered from/to. Fix this by allocating a temporary buffer and copying the data in at once. While here, make the cliprects stuff not do the VERIFYAREA_READ and COPY_FROM_USER_UNCHECKED gymnastics, avoiding a lock order reversal on FreeBSD. Performance impact is negligible -- no difference on r200 to ~1% improvement on rv200 in quake3 tests (P4 1Ghz, demofour at 1024x768, n=4 or 5). | |||
2005-02-07 | Invalid bound check of driver defined ioctls in drm_ioctl | Dave Airlie | |
Bug 2489 Reporter: Aapo Tahkola <aet@rasterburn.org> | |||
2005-02-07 | Cast user data to correct type in radeon_surface_free's copyin. | Roland Scheidegger | |
2005-02-07 | change DRIVER_ to CORE_ makes things look nicer, also change it so the | Dave Airlie | |
driver name is marked on resource allocations | |||
2005-02-07 | fix agp detection on linux | Dave Airlie | |
2005-02-07 | Restore a debugging message to DRM_DEBUG instead of DRM_ERROR. | Eric Anholt | |
2005-02-07 | Remove some annoying trailing whitespace. | Eric Anholt | |
2005-02-05 | - Implement drm_initmap, and extend it with the resource number to help | Eric Anholt | |
FreeBSD. Add drm_get_resource_{start|len} so linux-specific stuff doesn't need to be in shared code. - Fix mach64 build by using __DECONST to work around passing a const pointer to useracc, which is unfortunately not marked const. - Get rid of a lot of maplist code by not having dev->maplist be a pointer, and by sticking the link entries directly in drm_local_map_t rather than having a separate structure for the linked list. - Factor out map uninit and removal into its own routine, rather than duplicating in both drm_takedown() and drm_rmmap(). - Hook up more driver functions, and correct FreeBSD-specific bits of radeon_cp.c, making radeon work. - Baby steps towards using bus_space as we should. | |||
2005-02-03 | Via driver: Add missing drm_poll function to via driver in core. | Thomas Hellstrom | |
2005-02-03 | Declare r128_do_cleanup_pageflip static since it's only used here and its | Eric Anholt | |
prototype went away. | |||
2005-02-03 | Cast user data to correct type in radeon_surface_free's copyin. | Eric Anholt | |
2005-02-01 | momentary revert. libdrm build may be broken now, but no one uses it yet... | Adam Jackson | |
2005-02-01 | cleanup patch from Adrian Bunk <bunk@stusta.de> | Dave Airlie | |
2005-02-01 | make functions static in i915, remove unused functions | Dave Airlie | |
2005-02-01 | update i830 similiar to the kernel, add statics | Dave Airlie | |
2005-02-01 | make more functions static in i810 and fix pageflip cleanup | Dave Airlie | |
2005-01-30 | Final pass of libdrm.so work: | Adam Jackson | |
- Add $(DESTDIR) for distributors doing package creation - Remove OS-specific include path from build - Add /usr/include/drm for driver-kernel API - Install all of shared-core/*.h in /usr/include/drm - Rename xf86drm.h to libdrm.h since we're not X biased anymore - Include backwards compat for xf86drm.h name, with a warning - Fix libdrm source to account for drm.h living in /usr/include/drm | |||
2005-01-29 | fix radeon drv | Dave Airlie | |
2005-01-27 | Fixed multiple devices DMA bug. Fixed PCI path FIRE command detection | Thomas Hellstrom | |
2005-01-27 | fix incorrect PCI id for ATI radeon | Dave Airlie | |
2005-01-26 | (Stephane Marchesin,me) Add radeon framebuffer tiling support to radeon | Roland Scheidegger | |
drm. Add new ioctls to manage surfaces which cover the tiled areas | |||
2005-01-26 | replace magic number with macro constant RADEON_ZBLOCK16 | Roland Scheidegger | |
2005-01-24 | use libdrm after it was updated | Dave Airlie | |
2005-01-24 | hopefully fix drm_core setversion ioctl... pointed out by Eric on irc | Dave Airlie | |
2005-01-22 | Add drm.h to the install target. | Adam Jackson | |
2005-01-20 | Removed one bogus Savage3D PCI ID. Corrected another one. Restored | Felix Kuehling | |
numerical ordering. | |||
2005-01-20 | Add a Savage3D PCI ID | Adam Jackson | |
2005-01-20 | Corrected some confusion of vb_stride and vtx_size | Felix Kuehling | |
Implemented SAVAGE_CMD_DMA_IDX and SAVAGE_CMD_VB_IDX for ELTs support in the _savage_render_stage of the 3D driver Bumped minor version and driver date | |||
2005-01-19 | Fix cut & paste problem | Alan Hourihane | |
2005-01-19 | Fix a cut & paste problem | Alan Hourihane | |
2005-01-17 | Some code commenting concerning the FIFO & DMA engine. | Jose Fonseca | |
2005-01-17 | Add detection of whether the device is AGP by walking the capabilities | Eric Anholt | |
list. | |||
2005-01-17 | Add xf86drm.h to the install target. | Adam Jackson | |
2005-01-16 | Shared libdrm work: | Adam Jackson | |
- create libdrm.so target - build it by default - drop xf86drmCompat.c from the build - make 'clean' target never fail - use pattern rules for .c -> .o for parallelism - add 'install' target | |||
2005-01-16 | remove duplicate drm_sysfs.o | Dave Airlie | |
2005-01-16 | This table is in radeon_drv.h along with the version number so remove it | Dave Airlie | |
from here | |||
2005-01-16 | The patch makes drmAddBufs/drmMapBufs can handle buffers in video memory | Dave Airlie | |
The attached patch adds a new buffer type DRM_FB_BUFFER. It works like AGP memory but uses video memory. From: austinyuan@viatech.com.cn (fd.o bug 1668) Signed-off-by: Dave Airlie <airlied@linux.ie> | |||
2005-01-16 | Fixed a bug that prevented the driver from ever emitting triangle strips or | Felix Kuehling | |
fans. Bumped patchlevel and driver date. | |||
2005-01-15 | Setup MTRRs for frame buffer and aperture manually on Savage3D and | Felix Kuehling | |
Savage4-based cards. Automatic setup in drm_initmap doesn't work due to the weird alignment and size of the aperture. | |||
2005-01-13 | due to backways compat crap for IRQ_HANDLED etc.. this wouldn't build on | Dave Airlie | |
2.4 | |||
2005-01-12 | Use virt_to_page instead of vmalloc_to_page in drm_do_vm_shm_nopage for | Felix Kuehling | |
consistent pages allocated with drm_pci_alloc. | |||
2005-01-11 | Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target. | Keith Whitwell | |
2005-01-11 | import Thomas' shared-core via changes up to 2.4.1 | Keith Whitwell | |
2005-01-10 | Only try to find the agp_buffer_map if dma_type is AGP. This is all that's | Felix Kuehling | |
needed on the DRM side to support PCI Savages. Bumped patch level and driver date. | |||
2005-01-09 | Improved workaround for Savage3D DMA lockup to emit NOPs only before the | Felix Kuehling | |
first indexed drawing command of a cmdbuf or if a wait command was emitted since the last indexed drawing command. | |||
2005-01-09 | Adjust 4 level page check for <= 2.6.10 | Jon Smirl | |
2005-01-08 | Fixed off-by-one error in savage_bci_wait_fifo_shadow. | Felix Kuehling | |
2005-01-07 | via updates: moved the verifier state struct to dev_priv. Implemented AGP | Thomas Hellstrom | |
alignment check. | |||
2005-01-07 | Updated via DRM with check for stray FIRE commands primitive list. | Thomas Hellstrom | |