Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_g200eh3.c186 resource_size_t vram_available; in mgag200_g200eh3_device_create() local
211 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200eh3_device_create()
213 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200eh3_device_create()
H A Dmgag200_g200ew3.c206 resource_size_t vram_available; in mgag200_g200ew3_device_create() local
231 vram_available = mgag200_g200ew3_device_probe_vram(mdev); in mgag200_g200ew3_device_create()
233 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200ew3_device_create()
H A Dmgag200_g200eh.c281 resource_size_t vram_available; in mgag200_g200eh_device_create() local
306 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200eh_device_create()
308 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200eh_device_create()
H A Dmgag200_g200er.c324 resource_size_t vram_available; in mgag200_g200er_device_create() local
345 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200er_device_create()
347 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200er_device_create()
H A Dmgag200_g200ev.c325 resource_size_t vram_available; in mgag200_g200ev_device_create() local
350 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200ev_device_create()
352 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200ev_device_create()
H A Dmgag200_g200wb.c330 resource_size_t vram_available; in mgag200_g200wb_device_create() local
355 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200wb_device_create()
357 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200wb_device_create()
H A Dmgag200_g200.c406 resource_size_t vram_available; in mgag200_g200_device_create() local
434 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200_device_create()
436 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200_device_create()
H A Dmgag200_mode.c789 max_fbpages = mdev->vram_available >> PAGE_SHIFT; in mgag200_mode_config_mode_valid()
818 int mgag200_mode_config_init(struct mga_device *mdev, resource_size_t vram_available) in mgag200_mode_config_init() argument
823 mdev->vram_available = vram_available; in mgag200_mode_config_init()
H A Dmgag200_g200se.c495 resource_size_t vram_available; in mgag200_g200se_device_create() local
550 vram_available = mgag200_device_probe_vram(mdev); in mgag200_g200se_device_create()
552 ret = mgag200_mode_config_init(mdev, vram_available); in mgag200_g200se_device_create()
H A Dmgag200_drv.h292 resource_size_t vram_available; member
445 int mgag200_mode_config_init(struct mga_device *mdev, resource_size_t vram_available);
/openbmc/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.h244 u64 vram_available; member
H A Dnouveau_gem.c775 sync = req->vram_available & NOUVEAU_GEM_PUSHBUF_SYNC; in nouveau_gem_ioctl_pushbuf()
777 req->vram_available = drm->gem.vram_available; in nouveau_gem_ioctl_pushbuf()
H A Dnouveau_abi16.c246 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
H A Dnouveau_bo.c526 drm->gem.vram_available -= bo->base.size; in nouveau_bo_pin()
557 drm->gem.vram_available += bo->base.size; in nouveau_bo_unpin()
/openbmc/linux/include/uapi/drm/
H A Dnouveau_drm.h186 __u64 vram_available; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c1603 uint64_t vram_available, system_mem_available, ttm_mem_available; in amdgpu_amdkfd_get_available_memory() local
1606 vram_available = KFD_XCP_MEMORY_SIZE(adev, xcp_id) in amdgpu_amdkfd_get_available_memory()
1621 vram_available); in amdgpu_amdkfd_get_available_memory()
1624 available = ALIGN_DOWN(vram_available, VRAM_AVAILABLITY_ALIGN); in amdgpu_amdkfd_get_available_memory()