Searched refs:usable_size (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_vram.c | 338 tile->mem.vram.usable_size = vram_size; in xe_vram_probe() 341 if (tile->mem.vram.io_size < tile->mem.vram.usable_size) in xe_vram_probe() 344 …tile->id, &tile->mem.vram.actual_physical_size, &tile->mem.vram.usable_size, &tile->mem.vram.io_si… in xe_vram_probe()
|
H A D | xe_tile.c | 138 if (tile->mem.vram.usable_size) { in tile_ttm_mgr_init()
|
H A D | xe_device_types.h | 98 resource_size_t usable_size; member
|
H A D | xe_ttm_vram_mgr.c | 367 vram->usable_size, vram->io_size, in xe_ttm_vram_mgr_init()
|
H A D | xe_query.c | 341 if (xe_device_get_root_tile(xe)->mem.vram.usable_size) in query_config()
|
H A D | xe_bo.c | 175 xe_assert(xe, vram && vram->usable_size); in add_vram() 186 if (io_size < vram->usable_size) { in add_vram()
|
H A D | xe_migrate.c | 153 xe_assert(xe, IS_ALIGNED(xe->mem.vram.usable_size, SZ_2M)); in xe_migrate_program_identity()
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 548 i915->dsm.usable_size = resource_size(&mem->region); in i915_gem_init_stolen() 553 (u64)i915->dsm.usable_size >> 10); in i915_gem_init_stolen() 555 if (i915->dsm.usable_size == 0) in i915_gem_init_stolen() 559 drm_mm_init(&i915->mm.stolen, 0, i915->dsm.usable_size); in i915_gem_init_stolen() 567 i915->dsm.usable_size = 0; in i915_gem_init_stolen()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fbdev_fb.c | 52 if (!(IS_METEORLAKE(dev_priv)) && size * 2 < dev_priv->dsm.usable_size) in intel_fbdev_fb_alloc()
|
H A D | intel_plane_initial.c | 170 size * 2 > i915->dsm.usable_size) { in initial_plane_vma()
|
/linux/drivers/gpu/drm/xe/display/ |
H A D | xe_plane_initial.c | 92 if (phys_base >= tile0->mem.vram.usable_size) { in initial_plane_bo()
|
H A D | xe_fb_pin.c | 289 if (tile->mem.vram.io_size < tile->mem.vram.usable_size) { in __xe_pin_fb_vma()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_drv.h | 101 resource_size_t usable_size; member
|