Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 501286
Collapse All | Expand All

(-)a/src/gallium/drivers/r600/r600_state.c (-1 / +2 lines)
Lines 3095-3101 static boolean r600_dma_copy_tile(struct r600_context *rctx, Link Here
3095
	/* It's a r6xx/r7xx limitation, the blit must be on 8 boundary for number
3095
	/* It's a r6xx/r7xx limitation, the blit must be on 8 boundary for number
3096
	 * line in the blit. Compute max 8 line we can copy in the size limit
3096
	 * line in the blit. Compute max 8 line we can copy in the size limit
3097
	 */
3097
	 */
3098
	cheight = ((0x0000ffff << 2) / pitch) & 0xfffffff8;
3098
	cheight = ((0x0000ffff << 2) / pitch) > 0x00000008 ? 
3099
		((0x0000ffff << 2) / pitch) & 0xfffffff8 : ((0x0000ffff << 2) / pitch);
3099
	ncopy = (copy_height / cheight) + !!(copy_height % cheight);
3100
	ncopy = (copy_height / cheight) + !!(copy_height % cheight);
3100
	r600_need_dma_space(rctx, ncopy * 7);
3101
	r600_need_dma_space(rctx, ncopy * 7);
3101
3102

Return to bug 501286