/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_g200eh3.c | 145 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 D | mgag200_g200ew3.c | 163 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 D | mgag200_g200eh.c | 240 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 D | mgag200_g200er.c | 277 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 D | mgag200_g200wb.c | 287 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 D | mgag200_g200ev.c | 278 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 D | mgag200_g200.c | 365 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 D | mgag200_g200se.c | 448 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 D | mgag200_mode.c | 782 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 D | mgag200_drv.h | 272 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 D | nouveau_ttm.c | 192 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 D | nouveau_drv.h | 249 u64 vram_available; member
|
H A D | nouveau_gem.c | 782 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 D | nouveau_bo.c | 522 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 D | nouveau_abi16.c | 291 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
|
/linux/include/uapi/drm/ |
H A D | nouveau_drm.h | 208 __u64 vram_available; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 1682 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()
|