History

drm/radeon: add userptr flag to limit it to anonymous memory v2

Avoid problems with writeback by limiting userptr to anonymous memory. v2: add commit and code comments

Christian König committed 12 years ago

Commit ddd00e31 parent f72a1133 files · +13 −1Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/radeon_drm.h+1−0
@@ -816,6 +816,7 @@ struct drm_radeon_gem_create { · 815 unmodified lines
816 * perform any operation.816 * perform any operation.
817 */817 */
818#define RADEON_GEM_USERPTR_READONLY (1 << 0)818#define RADEON_GEM_USERPTR_READONLY (1 << 0)
819#define RADEON_GEM_USERPTR_ANONONLY (1 << 1)
819 820
820struct drm_radeon_gem_userptr {821struct drm_radeon_gem_userptr {
821 uint64_t addr;822 uint64_t addr;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t