panfrost: Account for modifiers when creating BO
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 20 Jul 2020 21:51:52 +0000 (17:51 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 12 Aug 2020 13:59:20 +0000 (09:59 -0400)
commit56f9cc9948745b570704f20e18f0247628817de5
treea2ee35fe6f94f5b35210762fe2fbb744f28fe98a
parent965537df2afcaf94c4b96c2acd5e8f7036f71829
panfrost: Account for modifiers when creating BO

If specified, use the modifier directly. If unspecified, pick our own
modifier.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Icecream95 <ixn@keemail.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6159>
src/gallium/drivers/panfrost/pan_resource.c