Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-20 | Replace filp in ioctl arguments with drm_file *file_priv. | Eric Anholt | |
As a fallout, replace filp storage with file_priv storage for "unique identifier of a client" all over the DRM. There is a 1:1 mapping, so this should be a noop. This could be a minor performance improvement, as everything on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls went the other direction. | |||
2007-07-20 | Remove DRM_ERR OS macro. | Eric Anholt | |
This was used to make all ioctl handlers return -errno on linux and errno on *BSD. Instead, just return -errno in shared code, and flip sign on return from shared code to *BSD code. | |||
2007-07-20 | Fix linux spinlock macros after the last commit. | Eric Anholt | |
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-19 | Merge branch 'origin' | Eric Anholt | |
2007-07-18 | Add dry-coded DRM drawable private information storage for FreeBSD. | Eric Anholt | |
With this, all modules build again. | |||
2007-07-18 | Fix via dmablit when blit queue is full. | Thomas Hellstrom | |
Fix by Simon Farnsworth, Bugzilla Bug #11542 http://bugs.freedesktop.org/show_bug.cgi?id=11542 | |||
2007-07-18 | fix some missing whitespace/tab | Dave Airlie | |
2007-07-18 | drm: idr stuff is upstream for 2.6.23 | Dave Airlie | |
2007-07-18 | drm: remove drm_u64_t, replace with uint64_t everwhere | Dave Airlie | |
This might break something, stdint.h inclusion in drm.h maybe required but I'm not sure yet what platforms have it what ones don't. | |||
2007-07-18 | drm_context: fix braino | Dave Airlie | |
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-17 | nouveau: G8x PCIEGART | Ben Skeggs | |
Actually a NV04-NV50 ttm backend for both PCI and PCIEGART, but PCIGART support for G8X using the current mm has been hacked on top of it. | |||
2007-07-16 | drm: fixup old kernel compat code | Dave Airlie | |
2007-07-16 | drm: fixup compat wrappers | Dave Airlie | |
2007-07-16 | drm: remove internal sman typedef | Dave Airlie | |
2007-07-16 | drm: remove drm_ref_t | Dave Airlie | |
2007-07-16 | drm: remove drm_buf_t | Dave Airlie | |
2007-07-16 | drm: detypedef ttm/bo/fence code | Dave Airlie | |
2007-07-16 | drm: remove hashtab/sman and object typedefs | Dave Airlie | |
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-16 | drm: remove ttm userspace typedefs | Dave Airlie | |
2007-07-16 | drm: detypedef drm.h and fixup all problems | Dave Airlie | |
2007-07-16 | drm: fix typedef in drm_os_linux.h | Dave Airlie | |
2007-07-16 | Merge branch 'drm-ttm-cleanup-branch' | Dave Airlie | |
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 | Merge branch 'master' into cleanup | Dave Airlie | |
Conflicts: libdrm/xf86drm.c linux-core/drm_bo.c linux-core/drm_fence.c | |||
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. |