Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c583 struct drm_amdgpu_info_vram_gtt vram_gtt; in amdgpu_info_ioctl() local
585 vram_gtt.vram_size = adev->gmc.real_vram_size - in amdgpu_info_ioctl()
587 vram_gtt.vram_cpu_accessible_size = adev->gmc.visible_vram_size - in amdgpu_info_ioctl()
589 vram_gtt.gtt_size = adev->mman.bdev.man[TTM_PL_TT].size; in amdgpu_info_ioctl()
590 vram_gtt.gtt_size *= PAGE_SIZE; in amdgpu_info_ioctl()
591 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()
592 return copy_to_user(out, &vram_gtt, in amdgpu_info_ioctl()
593 min((size_t)size, sizeof(vram_gtt))) ? -EFAULT : 0; in amdgpu_info_ioctl()