History

drm/gem: convert to new unified vma manager

Use the new vma manager instead of the old hashtable. Also convert all drivers to use the new convenience helpers. This drops all the (map_list.hash.key << PAGE_SHIFT) non-sense. Locking and access-management is exactly the same as before with an additional lock inside of the vma-manager, which strictly wouldn't be needed for gem. v2: - rebase on drm-next - init nodes via drm_vma_node_reset() in drm_gem.c v3: - fix tegra v4: - remove duplicate if (drm_vma_node_has_offset()) checks - inline now trivial drm_vma_node_offset_addr() calls v5: - skip node-reset on gem-init due to kzalloc() - do not allow mapping gem-objects with offsets (backwards compat) - remove unneccessary casts

David Herrmann committed 13 years ago

Commit 0de23971 parent fe3078f11 files · +62 −186Browse files

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

Unified · Split

include/uapi/drm/drm.h+1−1
@@ -181,7 +181,7 @@ enum drm_map_type { · 180 unmodified lines
181181 _DRM_AGP = 3, /**< AGP/GART */
182182 _DRM_SCATTER_GATHER = 4, /**< Scatter/gather memory for PCI DMA */
183183 _DRM_CONSISTENT = 5, /**< Consistent memory for PCI DMA */
184− _DRM_GEM = 6, /**< GEM object */
184+ _DRM_GEM = 6, /**< GEM object (obsolete) */
185185 };
186186
187187 /**

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