Home
last modified time | relevance | path

Searched refs:lobj (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_object.c489 struct radeon_bo_list *lobj; in radeon_bo_list_validate() local
501 list_for_each_entry(lobj, head, tv.head) { in radeon_bo_list_validate()
502 struct radeon_bo *bo = lobj->robj; in radeon_bo_list_validate()
504 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate()
505 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate()
536 domain != lobj->allowed_domains) { in radeon_bo_list_validate()
537 domain = lobj->allowed_domains; in radeon_bo_list_validate()
544 lobj->gpu_offset = radeon_bo_gpu_offset(bo); in radeon_bo_list_validate()
545 lobj->tiling_flags = bo->tiling_flags; in radeon_bo_list_validate()
548 list_for_each_entry(lobj, &duplicates, tv.head) { in radeon_bo_list_validate()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c448 struct amdgpu_bo_list_entry *lobj; in amdgpu_cs_list_validate() local
451 list_for_each_entry(lobj, validated, tv.head) { in amdgpu_cs_list_validate()
452 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(lobj->tv.bo); in amdgpu_cs_list_validate()
460 lobj->user_invalidated && lobj->user_pages) { in amdgpu_cs_list_validate()
468 lobj->user_pages); in amdgpu_cs_list_validate()
475 kvfree(lobj->user_pages); in amdgpu_cs_list_validate()
476 lobj->user_pages = NULL; in amdgpu_cs_list_validate()