ib_chunk 2799 drivers/gpu/drm/radeon/evergreen_cs.c struct radeon_cs_chunk *ib_chunk = p->chunk_ib; ib_chunk 2808 drivers/gpu/drm/radeon/evergreen_cs.c if (p->idx >= ib_chunk->length_dw) { ib_chunk 2810 drivers/gpu/drm/radeon/evergreen_cs.c p->idx, ib_chunk->length_dw); ib_chunk 2380 drivers/gpu/drm/radeon/r600_cs.c struct radeon_cs_chunk *ib_chunk = p->chunk_ib; ib_chunk 2389 drivers/gpu/drm/radeon/r600_cs.c if (p->idx >= ib_chunk->length_dw) { ib_chunk 2391 drivers/gpu/drm/radeon/r600_cs.c p->idx, ib_chunk->length_dw); ib_chunk 606 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_cs_chunk *ib_chunk; ib_chunk 619 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk = parser->chunk_const_ib; ib_chunk 620 drivers/gpu/drm/radeon/radeon_cs.c if (ib_chunk->length_dw > RADEON_IB_VM_MAX_SIZE) { ib_chunk 621 drivers/gpu/drm/radeon/radeon_cs.c DRM_ERROR("cs IB CONST too big: %d\n", ib_chunk->length_dw); ib_chunk 625 drivers/gpu/drm/radeon/radeon_cs.c vm, ib_chunk->length_dw * 4); ib_chunk 631 drivers/gpu/drm/radeon/radeon_cs.c parser->const_ib.length_dw = ib_chunk->length_dw; ib_chunk 633 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk->user_ptr, ib_chunk 634 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk->length_dw * 4)) ib_chunk 638 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk = parser->chunk_ib; ib_chunk 639 drivers/gpu/drm/radeon/radeon_cs.c if (ib_chunk->length_dw > RADEON_IB_VM_MAX_SIZE) { ib_chunk 640 drivers/gpu/drm/radeon/radeon_cs.c DRM_ERROR("cs IB too big: %d\n", ib_chunk->length_dw); ib_chunk 644 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk = parser->chunk_ib; ib_chunk 647 drivers/gpu/drm/radeon/radeon_cs.c vm, ib_chunk->length_dw * 4); ib_chunk 652 drivers/gpu/drm/radeon/radeon_cs.c parser->ib.length_dw = ib_chunk->length_dw; ib_chunk 653 drivers/gpu/drm/radeon/radeon_cs.c if (ib_chunk->kdata) ib_chunk 654 drivers/gpu/drm/radeon/radeon_cs.c memcpy(parser->ib.ptr, ib_chunk->kdata, ib_chunk->length_dw * 4); ib_chunk 655 drivers/gpu/drm/radeon/radeon_cs.c else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4)) ib_chunk 736 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_cs_chunk *ib_chunk = p->chunk_ib; ib_chunk 741 drivers/gpu/drm/radeon/radeon_cs.c if (idx >= ib_chunk->length_dw) { ib_chunk 743 drivers/gpu/drm/radeon/radeon_cs.c idx, ib_chunk->length_dw); ib_chunk 771 drivers/gpu/drm/radeon/radeon_cs.c if ((pkt->count + 1 + pkt->idx) >= ib_chunk->length_dw) { ib_chunk 773 drivers/gpu/drm/radeon/radeon_cs.c pkt->idx, pkt->type, pkt->count, ib_chunk->length_dw); ib_chunk 780 drivers/gpu/drm/radeon/radeon_cs.c for (i = 0; i < ib_chunk->length_dw; i++) {