diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-11-26 20:21:30 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-11-26 20:21:30 +0000 |
commit | 058e5ba0ff29ae64383b8392f23facad616be8c9 (patch) | |
tree | 6d1455adb0d27482e94fc7f047d0ee117687ecdb /french | |
parent | 205e4bee8863b6bff34fa146f0ac4a4dc91ca110 (diff) | |
download | ports-058e5ba0ff29ae64383b8392f23facad616be8c9.tar.gz ports-058e5ba0ff29ae64383b8392f23facad616be8c9.zip |
graphics/mesa-devel: work around userptr for anv on gen < 8 and iris compute
Vulkan on Intel Broadwell or later uses softpin but older need userptr:
/* We only allow 48-bit addresses with softpin because knowing the actual
* address is required for the vertex cache flush workaround.
*/
device->supports_48bit_addresses = (device->info.gen >= 8) &&
device->has_softpin &&
device->gtt_size > (4ULL << 30 /* GiB */);
device->use_softpin = device->has_softpin &&
device->supports_48bit_addresses;
PR: 244877
Submitted by: Austin Shafer <ashafer@badland.io>
Notes
Notes:
svn path=/head/; revision=556348
Diffstat (limited to 'french')
0 files changed, 0 insertions, 0 deletions