Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_object.c475 struct radeon_bo_list *lobj; in radeon_bo_list_validate() local
487 list_for_each_entry(lobj, head, tv.head) { in radeon_bo_list_validate()
488 struct radeon_bo *bo = lobj->robj; in radeon_bo_list_validate()
490 u32 domain = lobj->preferred_domains; in radeon_bo_list_validate()
491 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate()
522 domain != lobj->allowed_domains) { in radeon_bo_list_validate()
523 domain = lobj->allowed_domains; in radeon_bo_list_validate()
530 lobj->gpu_offset = radeon_bo_gpu_offset(bo); in radeon_bo_list_validate()
531 lobj->tiling_flags = bo->tiling_flags; in radeon_bo_list_validate()
534 list_for_each_entry(lobj, &duplicates, tv.head) { in radeon_bo_list_validate()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c822 struct amdgpu_bo_list_entry *lobj; in amdgpu_cs_list_validate() local
825 list_for_each_entry(lobj, validated, tv.head) { in amdgpu_cs_list_validate()
826 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(lobj->tv.bo); in amdgpu_cs_list_validate()
834 lobj->user_invalidated && lobj->user_pages) { in amdgpu_cs_list_validate()
842 lobj->user_pages); in amdgpu_cs_list_validate()
849 kvfree(lobj->user_pages); in amdgpu_cs_list_validate()
850 lobj->user_pages = NULL; in amdgpu_cs_list_validate()