Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-09 | nouveau: Avoid oops | Ben Skeggs | |
Turns out lastclose() gets called even if firstopen() has never been... | |||
2007-07-09 | nouveau/nv50: Initial channel/object support | Ben Skeggs | |
Should be OK on G84 for a single channel, multiple channels *almost* work. Untested on G80. | |||
2007-07-09 | nouveau: enable reporting for all PFIFO/PGRAPH irqs | Ben Skeggs | |
2007-07-09 | nouveau: rewrite gpu object code | Ben Skeggs | |
Allows multiple references to a single object, needed to support PCI(E)GART scatter-gather DMA objects which would quickly fill PRAMIN if each channel had its own. Handle per-channel private instmem areas. This is needed to support NV50, but might be something we want to do on earlier chipsets at some point? Everything that touches PRAMIN is a GPU object. | |||
2007-07-05 | Remove XGI_IOCTL_CPUID and associated cruft. | Ian Romanick | |
2007-07-05 | Major clean up of xgi_ge_irq_handler | Ian Romanick | |
Two large blocks of code were moved out of this function into separate functions. This brought some much needed sanity to the indentation. Some dead varaibles were removed. | |||
2007-07-05 | Convert weird rtdsc usage to get_cycles. | Ian Romanick | |
I'm not convinced that get_cycles is the right approach here, but it's better than the weird way that rtdsc was being used. | |||
2007-07-03 | Use idr_replace trick to eliminate struct drm_ctx_sarea_list. | Kristian Høgsberg | |
2007-07-03 | Don't take dev->struct_mutex twice in drm_setsareactx. | Kristian Høgsberg | |
2007-07-03 | One more spinlock initializer cleanup. | Michel Dänzer | |
2007-07-03 | Simplification for previous commit. | Michel Dänzer | |
Dave Airlie pointed out on IRC that idr_replace lets us know if the ID hasn't been allocated, so we don't need a special pointer value for allocated IDs that don't have valid information yet. | |||
2007-07-03 | Restore pre-idr semantics for drawable information. | Michel Dänzer | |
There's a difference between a drawable ID not having valid drawable information and not being allocated at all. Not making the distinction would break i915 DRM swap scheduling with older X servers that don't push drawable cliprect information to the DRM. | |||
2007-07-02 | Fix must-check warnings and implement a few error paths. | Kristian Høgsberg | |
2007-07-02 | Drop drm_drawable_list and add drm_drawable_info directly to the idr. | Kristian Høgsberg | |
2007-06-29 | Convert a few more U32 variables to more appropriate, generic types. | Ian Romanick | |
2007-06-29 | Convert xgi_mem_location enum values to less generic names. | Ian Romanick | |
2007-06-29 | Convert open coded list iterators to either list_for_each_entry or ↵ | Ian Romanick | |
list_for_each_entry_safe | |||
2007-06-29 | Clean up xgi_pcie_heap_check | Ian Romanick | |
The whole purpose of xgi_pcie_heap_check is to log information about entries on the used_list. If XGI_DEBUG is not set, it doesn't print anything. Therefore we can #ifdef the whole function body. Convert open-code list iteration to use list_for_each_entry. | |||
2007-06-29 | Stop-gap fix in xgi_submit_cmdlist | Ian Romanick | |
Comment in the code explains it. Basically, I put an if-statement around a block of code to prevent a NULL pointer dereference that should never happen in the first place. Eventually, this will need to come out. | |||
2007-06-29 | Convert some PCI-e GART related variable to generic types. | Ian Romanick | |
A few of the PCI-e GART related fields in struct xgi_info were hardcoded to u32. None of them need to be. Convert them to either unsigned int or bool. | |||
2007-06-29 | Delete unused arrays s_emptyBegin and s_flush2D. | Ian Romanick | |
2007-06-29 | Replace U(8|16) with u(8|16). | Ian Romanick | |
2007-06-29 | Eliminate unnecessary defines of TRUE and FALSE. | Ian Romanick | |
2007-06-29 | Replace BOOL with bool. | Ian Romanick | |
2007-06-29 | Eliminate unused integer and float typedefs. | Ian Romanick | |
2007-06-29 | Eliminate structure typedefs | Ian Romanick | |
Documentation/CodingStyle says that 'typedef struct foo foo_t' is evil. I tend to agree. Elminate all uses of such construct. | |||
2007-06-29 | Fix return type of xgi_find_pcie_block. | Ian Romanick | |
This function used to return 'void *', which was then cast to 'xgi_pcie_block_t *' at the only caller. I changed the return type to 'struct xgi_pcie_block_s *' and removed the explicit cast. | |||
2007-06-29 | Avoid hitting BUG() for kernel-only fence objects. | Thomas Hellstrom | |
2007-06-29 | Fence object reference / dereference cleanup. | Thomas Hellstrom | |
Buffer object dereference cleanup. Add a struct drm_device member to fence objects: This can simplify code, particularly in drivers. | |||
2007-06-28 | Remove unused type 'struct xgi_pcie_list_s' / xgi_pcie_list_t. | Ian Romanick | |
2007-06-28 | Minor clean up of variable declarations in xgi_find_pcie_virt. | Ian Romanick | |
2007-06-28 | Clean up debug log messages in xgi_find_pcie_block. | Ian Romanick | |
2007-06-28 | Convert comment header of xgi_find_pcie_virt to kernel doc format. | Ian Romanick | |
2007-06-29 | nouveau: small RAMFC cleanups | Ben Skeggs | |
2007-06-28 | nouveau: Hack around possible Xv blit adaptor breakage | Ben Skeggs | |
2007-06-28 | nouveau/nv10: Fix earlier NV1x chips | Ben Skeggs | |
Can't use nv04 code for them, since an extra field was inserted into RAMFC after DMA_PUT/GET. | |||
2007-06-28 | nouveau: never touch PRAMIN with NV_WRITE, cleanup RAMHT code a bit | Ben Skeggs | |
2007-06-28 | nouveau: simplify PRAMIN access | Ben Skeggs | |
2007-06-28 | nouveau: name some regs | Ben Skeggs | |
2007-06-28 | nouveau/nv50: skeletal backend | Ben Skeggs | |
2007-06-28 | nouveau: Nuke DMA_OBJECT_INIT ioctl (bumps interface to 0.0.7) | Ben Skeggs | |
For various reasons, this ioctl was a bad idea. At channel creation we now automatically create DMA objects covering available VRAM and GART memory, where the client used to do this themselves. However, there is still a need to be able to create DMA objects pointing at specific areas of memory (ie. notifiers). Each channel is now allocated a small amount of memory from which a client can suballocate things (such as notifiers), and have a DMA object created which covers the suballocated area. The NOTIFIER_ALLOC ioctl exposes this functionality. | |||
2007-06-28 | nouveau/nv04: Set NV_PFIFO_CACHE1_PUSH1 correctly + small tweaks | Ben Skeggs | |
2007-06-26 | Clean up warnings about unused variables and functions. | Ian Romanick | |
2007-06-26 | Clean up mixed declarations and code. | Ian Romanick | |
2007-06-26 | Revert over-zealous change from previous commit. | Ian Romanick | |
2007-06-26 | Add XGI driver to Makefiles. | Ian Romanick | |
2007-06-26 | Clean up compile-time kernel feature detection. | Ian Romanick | |
2007-06-26 | linux/config.h is deprecated or gone. | Ian Romanick | |
2007-06-26 | Gut support for pre-2.6 kernels. | Ian Romanick | |
2007-06-26 | dos2unix and Lindent | Ian Romanick | |