summaryrefslogtreecommitdiff
path: root/src/i830_uxa.c
AgeCommit message (Collapse)Author
2009-08-18Align the height of untiled pixmaps to 2 lines as well.Eric Anholt
The 965 docs note, and it's probably the case on 915 as well, that the 2x2 subspans are read as a unit, even if the bottom row isn't used. If the address in that bottom row extended beyond the end of the GTT, a fault could occur. Thanks to Chris Wilson for pointing out the problem.
2009-08-07Fix math in the tiling alignment fix.Eric Anholt
2009-08-07Align tiled pixmap height so we don't address beyond the end of our buffers.Eric Anholt
2009-07-22Only align DRI2 tiled pixmaps to the DRI2 tiled pixmap alignment requirement.Eric Anholt
This should save significant amounts of memory for glyph and other small pixmap storage. Bug #21387
2009-07-22uxa: Tell the driver when we're just going to immediately map the pixmap.Eric Anholt
This lets the driver allocate a nice idle buffer object instead of a busy one, reducing runtime of firefox-20090601 on my G45 from 50.7 (+/- .41%) to 48.4 (+/- 1.1%).
2009-07-10i830_uxa_prepare_access: Flush and wait for idle for non-bo pixmapsKeith Packard
Without kernel support and explicit knowledge about where in the ring the last rendering operation for a specific pixmap was, we must synchronize with any outstanding rendering before accessing a pixmap which does not have a buffer object. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-07-10Remove NoAccel supportKeith Packard
This removes yet another 'debugging' option that hasn't seen real use in a long time, and wasn't supported under KMS in any case. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-07-09Fix lols in trying to figure out whether this is a 64-bit build.Eric Anholt
Noticed by: Michel Dänzer <michel@daenzer.net>
2009-07-08Refuse to allocate giant BOs on 32-bit systems.Eric Anholt
The overcommit of address space combined with these buffers hitting SW fallbacks all the time means that we're probably better off telling the application "no" instead of likely silently failing later. Bug #22601.
2009-06-30Enable 2D composite on IGDNGXiang Haihao
This patch enables 2D composite on IGDNG. IGDNG requires new compiled shader programs for Gen5 and some command changes. The most notable is the layout of vertex element has changed, but we tried to keep it as origin to not change shader programs. Also vertex buffer state requires end address of vertex buffer instead of origin max index. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-10Disable composite on new chipset for nowZhenyu Wang
This depends on updated intel-gen4asm be ready for new chip. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-09Rename i830_exa.c to i830_uxa.cCarl Worth
It was just confusing otherwise, (since the EXA code has all been removed now).