projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0498ad3
)
asahi: Add readonly BO flag
author
Asahi Lina
<lina@asahilina.net>
Sat, 25 Feb 2023 17:16:00 +0000
(12:16 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 1 Mar 2023 01:04:29 +0000
(
01:04
+0000)
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21538>
src/asahi/lib/agx_bo.h
patch
|
blob
|
history
diff --git
a/src/asahi/lib/agx_bo.h
b/src/asahi/lib/agx_bo.h
index
d18568a
..
9d3f248
100644
(file)
--- a/
src/asahi/lib/agx_bo.h
+++ b/
src/asahi/lib/agx_bo.h
@@
-59,6
+59,10
@@
enum agx_bo_flags {
* be allocated as private
*/
AGX_BO_SHAREABLE = 1 << 4,
+
+ /* BO is read-only from the GPU side
+ */
+ AGX_BO_READONLY = 1 << 5,
};
struct agx_ptr {