Avoid problems with writeback by limiting userptr to anonymous memory. v2: add commit and code comments
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -816,6 +816,7 @@ struct drm_radeon_gem_create { · 815 unmodified lines | ||
| 816 | 816 | * perform any operation. |
| 817 | 817 | */ |
| 818 | 818 | #define RADEON_GEM_USERPTR_READONLY (1 << 0) |
| 819 | +#define RADEON_GEM_USERPTR_ANONONLY (1 << 1) | |
| 819 | 820 | |
| 820 | 821 | struct drm_radeon_gem_userptr { |
| 821 | 822 | uint64_t addr; |