Commit Graph

  • fd621fd4a0 remove agpgart informational Keith Whitwell 2002-12-11 13:40:27 +0000
  • b03fa556b2 Rewrite radeon_cp_dispatch_texture() to avoid pingponging back to userspace when issue large (multi-buffer) uploads. Keith Whitwell 2002-12-06 12:22:43 +0000
  • a885d6786f Add vblank signal code for BSD DRM. Untested so far, but working with a 4.2.0 userland at least. Eric Anholt 2002-12-06 02:27:30 +0000
  • 85025d4f2a further vertical blank interrupt cleanups: remove unused variable, non-ambiguous variable names, don't express subtraction in unnecessarily complicated ways Michel Daenzer 2002-12-04 15:39:53 +0000
  • 4acba63bb7 vertical blank interrupt cleanups: use spinlock instead of semaphore, send signal directly from interrupt handler instead of using a taskqueue (based on feedback by Linus Torvalds) Michel Daenzer 2002-12-03 00:43:47 +0000
  • 40891ac190 vertical blank ioctl can send signal instead of blocking Michel Daenzer 2002-11-30 14:24:07 +0000
  • c869f4a1e5 added missing return fd (Alexander Stohr) Brian Paul 2002-11-25 16:03:20 +0000
  • a654424ca1 Silence the radeon_freelist_get 'returning NULL' message. It's not an error & just confuses people. Keith Whitwell 2002-11-25 09:34:47 +0000
  • b96f48a89c allow unprivileged clients to use the GETPARAM ioctl (Wang WenRui) Michel Daenzer 2002-11-23 11:58:33 +0000
  • e656655a36 Kernel support for vblank syncing on Rage 128 and Matrox. Eric Anholt 2002-10-30 06:10:34 +0000
  • 344c7f6b41 updated e-mail addresses for Keith, Alan and Jens Jens Owen 2002-10-29 20:29:05 +0000
  • 5e1b8ed88a preserve CRTC{,2}_OFFSET_CNTL in 2D driver to avoid bad effects when pageflipping after a mode switch take current page into account in AdjustFrame(); writing the CRTC offset via the CP was probably a bad idea as this can happen asynchronously, reverted take frame offset into account when flipping pages handle CRTC2 as well for pageflipping (untested) preserve GEN_INT_CNTL on mode switches to prevent interrupts from getting disabled Michel Daenzer 2002-10-29 13:49:26 +0000
  • 10900dab7c Use bus_alloc_resource/bus_release_resource more properly: save the rid returned by alloc. Eric Anholt 2002-10-29 03:20:21 +0000
  • ff25e7016c merge from mesa-4-1-branch to get cube-map registers. bumped version to 1.7 Brian Paul 2002-10-28 19:05:40 +0000
  • 516392beff s/udelay/DRM_UDELAY/ Eric Anholt 2002-10-27 05:25:50 +0000
  • 9f21f02217 Catch up to -current. Eric Anholt 2002-10-27 05:24:33 +0000
  • b3a20ce219 final part of XFree86 4.2.99.2 merge Alan Hourihane 2002-10-22 23:38:53 +0000
  • ff4baa69da Import of XFree86 4.2.99.2 Alan Hourihane 2002-10-22 13:43:45 +0000
  • 5e9fad3588 Fix reversed test that broke vblank waiting on FreeBSD. Pointy hat to: anholt Eric Anholt 2002-10-14 23:35:24 +0000
  • 3d69766ea6 Jonny Strom's mga_dma.c patch Keith Whitwell 2002-10-10 08:25:40 +0000
  • 2af90a581d replaced max() macro with conditional expression Brian Paul 2002-10-09 16:29:01 +0000
  • aa1ca406d6 Fix error condition... Keith Whitwell 2002-10-08 08:32:06 +0000
  • a653224403 Call pci_enable_device() in DRM(irq_busid). Keith Whitwell 2002-10-08 08:29:47 +0000
  • 381e0fe7f8 Free correct block in free_block (K. Rasche) Keith Whitwell 2002-10-02 07:55:27 +0000
  • 8c14585fc3 fix wait condition for vertical blank IRQs Michel Daenzer 2002-10-01 17:31:20 +0000
  • 537f2208f0 Remove some noise being spit to the console. Eric Anholt 2002-09-29 23:56:17 +0000
  • 506c1c02a4 Make our set_bit and friends match linux better (cleans up some warnings) Eric Anholt 2002-09-29 23:21:55 +0000
  • efda4ce353 warnings cleanup Eric Anholt 2002-09-29 22:47:08 +0000
  • 33a51d8518 Fix some of my silliness in DRM_WAIT_ON (not returning EINTR). Eric Anholt 2002-09-29 22:39:34 +0000
  • 899df4f530 Turn boxes off again Keith Whitwell 2002-09-29 21:22:01 +0000
  • 9243e642da Move os-dependent stuff out of radeon_irq.c Keith Whitwell 2002-09-29 21:19:01 +0000
  • e6901cad69 Fix up BSD irq handling. Eric Anholt 2002-09-29 20:48:18 +0000
  • ec48dfa835 add support for 16K and 64K page sizes (Bjorn Helgaas) Michel Daenzer 2002-09-29 00:12:28 +0000
  • a33d42e2ba make SW interrupts more robust: write sequence number to scratch register, acknowledge any lost interrupts before waiting Michel Daenzer 2002-09-27 21:47:52 +0000
  • cc9a169d08 DRM(vblank_wait) is driver specific Michel Daenzer 2002-09-26 12:49:18 +0000
  • 97961e2c65 BSD vblank framework. Eric Anholt 2002-09-26 07:45:07 +0000
  • 770d045d25 Fix one warning. Eric Anholt 2002-09-26 07:21:05 +0000
  • f40674ea9f change RADEON_PARAM_IRQ_ACTIVE to RADEON_PARAM_IRQ_NR Michel Daenzer 2002-09-25 19:48:51 +0000
  • 55acd0d5a6 common ioctl to wait for vertical blank IRQs Michel Daenzer 2002-09-25 17:18:19 +0000
  • f1c8fe9557 merged r200-0-2-branch to trunk Keith Whitwell 2002-09-23 17:26:43 +0000
  • cfa1a918b6 make sure we never oops because the hardware lock pointer in the sigdata structure is out of date Michel Daenzer 2002-09-21 23:18:54 +0000
  • c4318a5c64 - Fix various bugs in the DRI support for the i830 and i845G (Keith Whitwell). - Major rework of the 2D i830/i845G support, including: - Improve VESA mode selection, and fix refresh rate selection. - Don't duplicate functions provided in the vbe modules. - Don't duplicate functions provided in the vgahw module. - Rewrite memory allocation. - Rewrite initialisation and save/restore state handling. - Decouple the i810 support from i830 and later. - Remove various unnecessary hacks and workarounds. - Fix an 845G problem with the ring buffer not in pre-allocated memory. - Fix screen blanking. - Fix some HW cursor glitches, and turn HW cursor off at VT switch and exit. - Don't attempt to use the i830's function 1 entity. - Fix problems with option handling. (David Dawes). - Add mode VBE-aware mode handling functions to the vbe module (David Dawes). David Dawes 2002-09-11 00:57:49 +0000
  • 9797f0fd17 Remove some extra symlinking for kernel module building that hasn't been needed since 2000. Eric Anholt 2002-08-30 23:49:25 +0000
  • b248c02c4f Remove this one too: it'll be used from the linux version (if ever) Eric Anholt 2002-08-30 21:34:03 +0000
  • d51ec6b972 Remove compat functions for FreeBSD for drivers which weren't available in X4.2 Eric Anholt 2002-08-30 21:06:21 +0000
  • be88ab60df file radeon_irq.c was initially added on branch r200-0-2-branch. Keith Whitwell 2002-08-30 07:55:25 +0000
  • 4fcde1efc1 standardize use of __FUNCTION__ (Linus) Keith Whitwell 2002-08-29 07:34:49 +0000
  • 22c1ca1fd5 Turn boxes off. Keith Whitwell 2002-08-28 08:47:39 +0000
  • 8a8cfd38df Remove i8x0 files from the BSD side. These were not actually ported, and when they do get ported most of them won't live in these directories. Eric Anholt 2002-08-28 04:33:02 +0000
  • fa560b4847 file radeon_mem.c was initially added on branch r200-0-2-branch. Keith Whitwell 2002-08-27 12:16:32 +0000
  • e4830ba553 Remove drm_linux.h, it's no longer used. Eric Anholt 2002-08-27 03:56:10 +0000
  • 5e81d590d5 Include non-radeon modules in the build. Eric Anholt 2002-08-27 01:22:55 +0000
  • 48cc350e21 merged r200-0-1-branch Keith Whitwell 2002-08-26 22:16:18 +0000
  • a697941d4c Don't (re)define vmalloc_to_page for kernel >= 2.4.19, as it has been backported from 2.5.x. Also fix a couple of incorrect LINUX_VERSION_CODE tests and fix header dependency for r128, radeon when building without AGP. Leif Delgass 2002-08-22 19:35:31 +0000
  • 2febcafd66 SetPageLocked only defined in 2.5.x (x=?), use LockPage for 2.4.x (x>=9). Also apply build fixes from i810_dma.c to i830_dma.c Leif Delgass 2002-08-22 18:43:39 +0000
  • 18d3fac990 Change the linux kernel version condition in the i810 driver (according to Alan Cox) Jose Fonseca 2002-08-21 14:09:28 +0000
  • 77c35c043a Remove drm_linux.h, move the two useful defines into drm_drv.h (the only place they're used). Use fd locking on -current. Actually copy in data from userspace to kernel in the linux-compat ioctl path. Make sure ioctl sizes are as expected in the ioctl handler functions. Eric Anholt 2002-08-21 07:14:21 +0000
  • 8eedac5833 add missing include (for udelay), remove unused counter. Leif Delgass 2002-08-21 01:14:43 +0000
  • 3165128fc4 TRUE and FALSE don't seem to be defined everywhere... Michel Daenzer 2002-08-21 00:09:32 +0000
  • 33d57137da zero-cliprect case patch from Jacek Keith Whitwell 2002-08-12 07:26:00 +0000
  • d0ac4e5ad0 test scratch register writeback before using it Michel Daenzer 2002-08-11 15:56:44 +0000
  • d2f2b42f1d Try to open the /dev/dri/cardX device once, then only if it fails check the device number and recreate it if necessary. Fixes xf86drm.c to allow linux binaries to be used for emulation on FreeBSD. Eric Anholt 2002-08-08 21:23:46 +0000
  • 977b420d5d Updates from Rusty Russell to: 1) Remove redundant header inclusion 2) Silence bitop on non-long argument warnings (change int to long) 3) Move to ISO C (gcc 2.6) initializers (accepted by older gccs also) All of these are syntax changes that should not impact functionality. Rik Faith 2002-08-06 18:00:57 +0000
  • 881a9b214d fix off-by-one error for right bottom corner in radeon_emit_clip_rect() (Jacek Rosik) Michel Daenzer 2002-07-18 23:17:13 +0000
  • 8fa8db126a Workaround for Radeon lockups on fast machines Tim Smith 2002-07-17 08:30:36 +0000
  • 9a3a3143ce bump DRM minor and check it before using the GETPARAM ioctl to obtain scratch register values Michel Daenzer 2002-07-14 20:26:52 +0000
  • fd86ac9561 Don't read scratch registers directly, obtain the values via the GET_PARAM ioctl. The DRM reads them from memory addresses the chip writes to on updates. Fall back to reading the registers directly with an old DRM. (Tim Smith, cleanups by myself) Michel Daenzer 2002-07-11 20:31:12 +0000
  • 2ec9c15d8c Increase the linux-compatibility max ioctl. Eric Anholt 2002-07-09 02:40:38 +0000
  • 9ceabc585a remove obsolete files Alan Hourihane 2002-07-06 09:43:12 +0000
  • 59c07e447b remove files missed by merge Alan Hourihane 2002-07-05 08:58:15 +0000
  • 74ef13fd00 merged bsd-3-0-0-branch Alan Hourihane 2002-07-05 08:31:11 +0000
  • 24025ca5f7 Fix some more pageflipping issues -- existing code was doing MMIO writes while ring was active. There is still an MMIO read in there, but I haven't seen any lockups that could be attributed to it. Keith Whitwell 2002-07-04 12:03:15 +0000
  • ca81e1334e Revert SET_SCISSORS change. Keith Whitwell 2002-07-04 11:55:44 +0000
  • cc45cc0609 Fix lockup on faster machines when drawing in multiple clip rectangles (e.g. when part of a 3D window is obscured by another window) Tim Smith 2002-07-02 21:34:25 +0000
  • bb91bc0879 Set pfCurrentPage on cleanup_pageflip Keith Whitwell 2002-06-27 17:56:39 +0000
  • 8aecdbea76 gamma_alloc -> DRM(alloc) Alan Hourihane 2002-06-25 12:13:20 +0000
  • f626cf76e6 file s3v.h was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 4cdcbd6c2f file s3v_dma.c was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 4073aa694c file s3v_drm.h was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 5f8b0028a2 file s3v_drv.c was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 688082d656 file s3v_drv.h was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 978136f2f4 file s3v_regs.h was initially added on branch s3virge-0-0-1-branch. Max Lingua 2002-06-25 11:20:36 +0000
  • 663c9a152a file radeon_state.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 3fe7fb316c file radeon.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • f8794f23f6 file radeon_drm.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 1942da19d4 file mga_dma.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • baf55c1b8b file mga_drv.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • df6e570e4d file mga_ucode.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 2a0545aa19 file mga_warp.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 0ca7468d06 file mga.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • d29446a300 file mga_state.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 1c9c08717a file radeon_drv.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 5dd77d6e49 file mga_drm.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • a3ddb601df file radeon_cp.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-21 06:08:46 +0000
  • 9e3d3c9541 file r128_state.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-19 04:01:55 +0000
  • c4f1116369 file r128_drv.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-19 04:01:54 +0000
  • 89181b9c59 file r128_cce.c was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-19 04:01:54 +0000
  • 2015f55137 file r128.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-19 04:01:54 +0000
  • 5465239b0c file r128_drm.h was initially added on branch bsd-3-0-0-branch. Eric Anholt 2002-06-19 04:01:54 +0000
  • 063d0a30c2 endianness fixes Michel Daenzer 2002-06-18 22:40:26 +0000