summaryrefslogtreecommitdiff
path: root/linux-core/xgi_drv.h
AgeCommit message (Collapse)Author
2008-06-12xgi: Bump kernel versionIan Romanick
This should have been bumped when the fence interface was changed the other day. Better late than never, I suppose.
2008-06-10xgixp: Remove dependency on TTM fencesIan Romanick
2008-06-10xgi: Fix 64-bit kernel / 32-bit user issue.Ian Romanick
2007-11-22drm: major whitespace/coding style realignment with kernelDave Airlie
2007-10-03First round of byte-ordering fixes for PowerPC.Ian Romanick
This isn't 100% as command submission via PCI-e GART buffers doesn't work. I've hacked around that for the time being. This is essentially the code that was used at the POWER.org event to show Bimini.
2007-09-18Add ioc32 compat layer for XGI DRM.Ian Romanick
2007-09-06Bump version to 1.0.0.Ian Romanick
2007-08-29Use ati_pcigart for PCI-e GART table handling.Ian Romanick
2007-08-29Use DRM_SPINLOCK / DRM_UNSPINLOCK macros.Ian Romanick
2007-08-15Implement fence support.Ian Romanick
2007-08-14Eliminate unused / useless ioctls.Ian Romanick
2007-08-14Clean up xgi_(en|dis)able_(mmio|ge) and move to xgi_misc.c.Ian Romanick
2007-08-09Minor clean up of IRQ code. Much, much more to come.Ian Romanick
2007-08-09Use sman memory manager instead of internal version.Ian Romanick
2007-08-09Unify alloc and free ioctls.Ian Romanick
The DRM_XGI_PCIE_ALLOC and DRM_XGI_FB_ALLOC ioctls (and the matching free ioctls) are unified to DRM_XGI_ALLOC. The desired memory region is selected by xgi_mem_alloc::location. The region is magically encoded in xgi_mem_alloc::index, which is used to release the memory. Bump to version 0.11.0. This update requires a new DDX.
2007-08-09Associate master file pointer with command list buffer.Ian Romanick
Pass the master's file pointer, as supplied to xgi_bootstrap, to xgi_cmdlist_initialize. Associate that pointer with the memory allocated for the command list buffer. By doing this the memory will be automatically cleaned up when the master closes the device. This allows the removal of some clean up code.
2007-08-06Unify infrastructure for freeing on-card / GART memory.Ian Romanick
2007-08-06Refactor xgi_(fb|pcie)_free_all into xgi_free_all.Ian Romanick
2007-08-06Replace per-heap semaphores with drm_device::struct_mutex.Ian Romanick
2007-08-06Unify infrastructure for allocating (not yet freeing) on-card / GART memory.Ian Romanick
2007-08-06Eliminate special-case handling of framebuffer (fake) allocation.Ian Romanick
2007-08-06Eliminate allocation "owner" usage.Ian Romanick
2007-07-27Convert to new ioctl interface between core DRM and device-specific module.Ian Romanick
2007-07-24Fix license formatting.Ian Romanick
2007-07-24Fix bug preventing X server from restarting.Ian Romanick
The core DRM lastclose routine automatically destroys all mappings and releases SG memory. XP10 DRM and DDX assumed this data stayed around until module unload. xgi_bootstrap was reworked to recreate all these mappings. In addition, the drm_addmap for the GART backing store was moved into the kernel. This causes a change to the ioctl protocol and a version bump.
2007-07-21Bump version.Ian Romanick
2007-07-21Make s_cmdring a field in the xgi_info structure instead of a global.Ian Romanick
2007-07-19Initial pass at converting driver to DRM infrastructure.Ian Romanick
2007-07-16Eliminate 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-09Convert 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-09Eliminiate fields in xgi_info that are duplicates of fields in pci_dev.Ian Romanick
2007-07-09Move types shared with user mode to xgi_drm.h.Ian Romanick
2007-07-09Correct types that are shared with user mode.Ian Romanick
2007-07-09Adjust the types of the fields of xgi_aperture.Ian Romanick
2007-07-09Merge 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-05Remove XGI_IOCTL_CPUID and associated cruft.Ian Romanick
2007-06-29Convert xgi_mem_location enum values to less generic names.Ian Romanick
2007-06-29Convert 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-29Replace U(8|16) with u(8|16).Ian Romanick
2007-06-29Eliminate structure typedefsIan Romanick
Documentation/CodingStyle says that 'typedef struct foo foo_t' is evil. I tend to agree. Elminate all uses of such construct.
2007-06-29Fix 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-26dos2unix and LindentIan Romanick
2007-06-26Initial XP10 code drop from XGI.Ian Romanick
See attachment 10246 on https://bugs.freedesktop.org/show_bug.cgi?id=5921