[Mesa-dev] [PATCH] i965: Query the actual GTT size for reporting total usuable GPU memory

2015-10-19 Thread Chris Wilson
The amount of memory that the GPU can use in any single batch is the amount of memory it can map into its page tables, that is the GTT size. With per-process GTT (i.e. every context has its own set of page tables), this value may differ from the global GTT size (and is often larger). When

Re: [Mesa-dev] [PATCH] i965: Query the actual GTT size for reporting total usuable GPU memory

2015-10-19 Thread Daniel Vetter
On Mon, Oct 19, 2015 at 12:08:41PM +0100, Chris Wilson wrote: > The amount of memory that the GPU can use in any single batch is the > amount of memory it can map into its page tables, that is the GTT size. > With per-process GTT (i.e. every context has its own set of page tables), > this value