iris: Adapt to variable ppGTT size
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Apr 2019 10:39:46 +0000 (11:39 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Apr 2019 17:01:02 +0000 (10:01 -0700)
commit80e1ca9d28a93567a7afb916f95c4c1e5f915eb7
treee13ffa8557a882f18cf59800c2b2cb535f3cdee0
parentc25f63872b2d884fb7d87ce8e40e85b43e67ca1e
iris: Adapt to variable ppGTT size

Not all hardware is made equal and some does not have the full
complement of 48b of address space. Ask what the actual size of virtual
address space allocated for contexts, and bail if that is not enough to
satisfy our static partitioning needs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_bufmgr.c