History

drm/amdgpu: drop amdgpu_gtt_node

We have the BO pointer in the base structure now as well.

Christian König committed 5 years ago

Commit 77ef2711 parent fee2ede2 files · +26 −31Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/drm/ttm/ttm_resource.h+8−0
@@ -355,6 +355,14 @@ ttm_resource_manager_next(struct ttm_resource_manager *man, · 354 unmodified lines
355 struct ttm_resource_cursor *cursor,355 struct ttm_resource_cursor *cursor,
356 struct ttm_resource *res);356 struct ttm_resource *res);
357 357
358/**
359 * ttm_resource_manager_for_each_res - iterate over all resources
360 * @man: the resource manager
361 * @cursor: struct ttm_resource_cursor for the current position
362 * @res: the current resource
363 *
364 * Iterate over all the evictable resources in a resource manager.
365 */
358#define ttm_resource_manager_for_each_res(man, cursor, res) \366#define ttm_resource_manager_for_each_res(man, cursor, res) \
359 for (res = ttm_resource_manager_first(man, cursor); res; \367 for (res = ttm_resource_manager_first(man, cursor); res; \
360 res = ttm_resource_manager_next(man, cursor, res))368 res = ttm_resource_manager_next(man, cursor, res))