Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c669 struct drm_amdgpu_info_vram_gtt vram_gtt; in amdgpu_info_ioctl() local
671 vram_gtt.vram_size = adev->gmc.real_vram_size - in amdgpu_info_ioctl()
674 vram_gtt.vram_cpu_accessible_size = in amdgpu_info_ioctl()
677 vram_gtt.vram_size); in amdgpu_info_ioctl()
678 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl()
679 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()
680 return copy_to_user(out, &vram_gtt, in amdgpu_info_ioctl()
681 min((size_t)size, sizeof(vram_gtt))) ? -EFAULT : 0; in amdgpu_info_ioctl()