Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_g200eh3.c145 resource_size_t vram_available; in mgag200_g200eh3_device_create() local
170 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200eh3_device_create()
172 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200eh3_device_create()
H A Dmgag200_g200ew3.c163 resource_size_t vram_available; in mgag200_g200ew3_device_create() local
188 vram_available = mgag200_g200ew3_device_probe_vram(mdev); in mgag200_g200ew3_device_create()
190 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200ew3_device_create()
H A Dmgag200_g200eh.c240 resource_size_t vram_available; in mgag200_g200eh_device_create() local
265 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200eh_device_create()
267 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200eh_device_create()
H A Dmgag200_g200er.c277 resource_size_t vram_available; in mgag200_g200er_device_create() local
298 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200er_device_create()
300 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200er_device_create()
H A Dmgag200_g200wb.c287 resource_size_t vram_available; in mgag200_g200wb_device_create() local
312 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200wb_device_create()
314 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200wb_device_create()
H A Dmgag200_g200ev.c278 resource_size_t vram_available; in mgag200_g200ev_device_create() local
303 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200ev_device_create()
305 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200ev_device_create()
H A Dmgag200_g200.c365 resource_size_t vram_available; in mgag200_g200_device_create() local
393 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200_device_create()
395 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200_device_create()
H A Dmgag200_g200se.c448 resource_size_t vram_available; in mgag200_g200se_device_create() local
503 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200se_device_create()
505 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200se_device_create()
H A Dmgag200_mode.c782 max_fbpages = mdev->vram_available >> PAGE_SHIFT; in mgag200_mode_config_mode_valid()
811 int mgag200_mode_config_init(struct mga_device *mdev, resource_size_t vram_available) in mgag200_mode_config_init() argument
816 mdev->vram_available = vram_available; in mgag200_mode_config_init()
H A Dmgag200_drv.h272 resource_size_t vram_available; member
419 int mgag200_mode_config_init(struct mga_device *mdev, resource_size_t vram_available);
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c192 drm->gem.vram_available >> PAGE_SHIFT); in nouveau_ttm_init_vram()
198 drm->gem.vram_available >> PAGE_SHIFT); in nouveau_ttm_init_vram()
313 drm->gem.vram_available = drm->client.device.info.ram_user; in nouveau_ttm_init()
343 NV_INFO(drm, "VRAM: %d MiB\n", (u32)(drm->gem.vram_available >> 20)); in nouveau_ttm_init()
H A Dnouveau_drv.h249 u64 vram_available; member
H A Dnouveau_gem.c782 sync = req->vram_available & NOUVEAU_GEM_PUSHBUF_SYNC; in nouveau_gem_ioctl_pushbuf()
784 req->vram_available = drm->gem.vram_available; in nouveau_gem_ioctl_pushbuf()
H A Dnouveau_bo.c522 drm->gem.vram_available -= bo->base.size; in nouveau_bo_pin_locked()
548 drm->gem.vram_available += bo->base.size; in nouveau_bo_unpin_locked()
H A Dnouveau_abi16.c291 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
/linux/include/uapi/drm/
H A Dnouveau_drm.h208 __u64 vram_available; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c1682 uint64_t vram_available, system_mem_available, ttm_mem_available; in amdgpu_amdkfd_get_available_memory() local
1685 vram_available = KFD_XCP_MEMORY_SIZE(adev, xcp_id) in amdgpu_amdkfd_get_available_memory()
1701 vram_available); in amdgpu_amdkfd_get_available_memory()
1704 available = ALIGN_DOWN(vram_available, VRAM_AVAILABLITY_ALIGN); in amdgpu_amdkfd_get_available_memory()