panfrost/drm: Don't mmap INVISIBLE buffers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 22:39:47 +0000 (15:39 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 15 Jul 2019 15:03:34 +0000 (08:03 -0700)
commit2f783ede027edc87041c35ac39f66ebca1b2875a
tree338fe36d187afbb5a822f16792411cdcbff37557
parentc9c8c2f7d7d83443928717a00c3be8f1f690e6c3
panfrost/drm: Don't mmap INVISIBLE buffers

On the new kernel, mmaping doesn't *hurt* per se, but it's still
wasteful for buffers explicitly marked as not needing an mmap.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_drm.c