Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-23 | Eliminate XGI_CHECK_PCI_CONFIG. | Ian Romanick | |
Based on review comments from airlied, XGI_CHECK_PCI_CONFIG is removed. He believes (and I tend to agree) that this is a largely unnecessary workaround for a bug elsewhere. | |||
2007-07-21 | Bump version. | Ian Romanick | |
2007-07-21 | Remove some extraneous debug messages. | Ian Romanick | |
2007-07-21 | Rename and document fields of xgi_cmdring_info. | Ian Romanick | |
2007-07-21 | Make s_cmdring a field in the xgi_info structure instead of a global. | Ian Romanick | |
2007-07-21 | Clean up xgi_cmd_info and associated code. | Ian Romanick | |
There were numerous unnecessary fields in xgi_cmd_info. The remaining fields had pretty crummy names. Cut out the cruft, and rename the rest. As a result, the unused parameter "triggerCounter" to triggerHWCommandList can be removed. | |||
2007-07-20 | Clean up flush command generation in addFlush2D. | Ian Romanick | |
2007-07-20 | Clean up generation of begin commands in xgi_submit_cmdlist | Ian Romanick | |
Generate the begin command once in a temporary buffer. Then, depending on whether the command is to be written directly to the hardware or to a secondary buffer, copy to command to the correct place. | |||
2007-07-20 | Change handling of begin types slightly. | Ian Romanick | |
Moved the getCurBatchBeginPort before its only caller. Modified function to return the command ID instead of the port offset. Function also now assumes input begin type is value. Added code to ioctl handler to validate begin type. | |||
2007-07-19 | Delete unused variable in xgi_driver_load. | Ian Romanick | |
2007-07-19 | Fix error handing related to xgi_cmdlist_initialize. | Ian Romanick | |
xgi_cmdlist_initialize wasn't correctly checking for errors from xgi_pcie_alloc. Furthermore, xgi_bootstrap, the one caller of xgi_cmdlist_initialize, wasn't check its return value. | |||
2007-07-19 | Debug message and comment clean up in xgi_submit_cmdlist. | Ian Romanick | |
2007-07-19 | Rework xgi_(pcie|fb)_free_all to prevent deadlock. | Ian Romanick | |
2007-07-19 | Move MMIO drm_addmap (and code that depends on it) to xgi_bootstrap. | Ian Romanick | |
For reasons that I don't understand, the drm_addmap call would succeed in xgi_driver_load, but writes to the map later would oops. Moving it to xgi_bootstrap fixes this problem. | |||
2007-07-19 | Initial pass at converting driver to DRM infrastructure. | Ian Romanick | |
2007-07-16 | Make drm_sg_free callable in-kernel. | Ian Romanick | |
2007-07-16 | Log message clean up in WriteRegDWord. Remove unused inline functions. | Ian Romanick | |
2007-07-16 | Clean ups (primarilly log messages) in xgi_test_rwinkernel. | Ian Romanick | |
2007-07-16 | Eliminate several useless ioctls and associated cruft. | Ian Romanick | |
The ioctlss XGI_ESC_DEVICE_INFO, XGI_ESC_MEM_COLLECT, XGI_ESC_PCIE_CHECK, XGI_ESC_GET_SCREEN_INFO, XGI_ESC_PUT_SCREEN_INFO, XGI_ESC_MMIO_INFO, and XGI_ESC_SAREA_INFO, are completely unnecessary. The will be doubly useless when the driver is converted to the DRM infrastructure. | |||
2007-07-16 | Massive log message clean up in xgi_submit_cmdlist. | Ian Romanick | |
2007-07-12 | Merge branch 'master' into xgi-0-0-2 | Ian Romanick | |
2007-07-12 | nouveau: separate region_offset into map_handle and offset. | Ben Skeggs | |
2007-07-11 | Made drm_sg_alloc accessible from inside the DRM - drm_sg_alloc_ioctl is the ↵ | Arthur Huillet | |
ioctl wrapper | |||
2007-07-09 | Convert occurances of U32 to other types. | Ian Romanick | |
Most occurances of U32 were converted to u32. These are cases where the data represents something that will be written to the hardware. Other cases were converted to 'unsigned int'. U32 was the last type in xgi_types.h, so that file is removed. | |||
2007-07-09 | Eliminiate fields in xgi_info that are duplicates of fields in pci_dev. | Ian Romanick | |
2007-07-09 | Move types shared with user mode to xgi_drm.h. | Ian Romanick | |
2007-07-09 | Correct types that are shared with user mode. | Ian Romanick | |
2007-07-09 | Adjust the types of the fields of xgi_aperture. | Ian Romanick | |
2007-07-09 | Merge xgi_mem_req and xgi_mem_alloc into a single type. | Ian Romanick | |
These two structures were used as the request and reply for certain ioctls. Having a different type for an ioctl's input and output is just wierd. In addition, each structure contained fields (e.g., pid) that had no business being there. This change requires updates to user-space. | |||
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-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 | 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 | |