Increasing the max batch buffer size allows more relocations per command buffer.
break;
}
- /* 8192 dwords */
- gpu->max_batch_buffer_size = sizeof(uint32_t) * 8192;
+ /* 150K dwords */
+ gpu->max_batch_buffer_size = sizeof(uint32_t) * 150*1024;
/* the winsys is prepared for one reloc every two dwords, then minus 2 */
gpu->batch_buffer_reloc_count =
struct intel_winsys *
intel_winsys_create_for_fd(int fd)
{
- /* so that we can have enough (up to 4094) relocs per bo */
- const int batch_size = sizeof(uint32_t) * 8192;
+ /* so that we can have enough relocs per bo */
+ const int batch_size = sizeof(uint32_t) * 150 * 1024;
struct intel_winsys *winsys;
winsys = icd_alloc(sizeof(*winsys), 0, XGL_SYSTEM_ALLOC_INTERNAL);