/openbmc/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_g200eh3.c | 186 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 D | mgag200_g200ew3.c | 206 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 D | mgag200_g200eh.c | 281 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 D | mgag200_g200er.c | 324 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 D | mgag200_g200ev.c | 325 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 D | mgag200_g200wb.c | 330 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 D | mgag200_g200.c | 406 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 D | mgag200_mode.c | 789 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 D | mgag200_g200se.c | 495 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 D | mgag200_drv.h | 292 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 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 | 244 u64 vram_available; member
|
H A D | nouveau_gem.c | 775 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 D | nouveau_abi16.c | 246 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
|
H A D | nouveau_bo.c | 526 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 D | nouveau_drm.h | 186 __u64 vram_available; member
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 1603 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()
|