Quoting Mika Kuoppala (2019-03-11 10:04:05) > Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes: > > + mem_per_child = SIZE; > > + if (flags & CREATE_CONTEXT) > > + mem_per_child += 2 * 128 * 1024; /* rough context sizes */ > > Someday libify this so that we give num context and size per each? > Just that the modern gens eat more so we could tweak per gen instead > of going with the max estimate. Regardless, You mean keep guessing something the kernel knows? If only we had an interface for that ;) -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx