panfrost: Mark BOs as NOEXEC
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 31 Jul 2019 13:00:46 +0000 (15:00 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 8 Aug 2019 05:42:52 +0000 (07:42 +0200)
commit19afd41e6546fb6ca852b62fc5a63359f3b70693
tree469c37194dcefc9c1a021da20b4ebe83cb569f8b
parent9398932c2d4cd1dfd337337a82ca8dc9bae35487
panfrost: Mark BOs as NOEXEC

Unless a BO has the EXECUTABLE flag, mark it as NOEXEC.

v2: - Rework version detection (Alyssa).

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
include/drm-uapi/panfrost_drm.h
src/gallium/drivers/panfrost/pan_drm.c
src/gallium/drivers/panfrost/pan_screen.c
src/gallium/drivers/panfrost/pan_screen.h