diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index f3dffa46..d39ca2d0 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -52,6 +52,12 @@ enum gk20a_aperture { | |||
52 | APERTURE_VIDMEM | 52 | APERTURE_VIDMEM |
53 | }; | 53 | }; |
54 | 54 | ||
55 | enum gk20a_mem_rw_flag { | ||
56 | gk20a_mem_flag_none = 0, | ||
57 | gk20a_mem_flag_read_only = 1, | ||
58 | gk20a_mem_flag_write_only = 2, | ||
59 | }; | ||
60 | |||
55 | static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture) | 61 | static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture) |
56 | { | 62 | { |
57 | switch (aperture) { | 63 | switch (aperture) { |