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 |
|