[Bug 244877] graphics/mesa-dri: Fix vulkan by switching to unsynchronized userptr ioctls

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 26 20:22:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244877

--- Comment #6 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: jbeich
Date: Thu Nov 26 20:21:31 UTC 2020
New revision: 556348
URL: https://svnweb.freebsd.org/changeset/ports/556348

Log:
  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 at badland.io>

Changes:
  head/graphics/mesa-devel/files/patch-userptr

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list