Home
last modified time | relevance | path

Searched refs:usable_size (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_vram.c338 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 Dxe_tile.c138 if (tile->mem.vram.usable_size) { in tile_ttm_mgr_init()
H A Dxe_device_types.h98 resource_size_t usable_size; member
H A Dxe_ttm_vram_mgr.c367 vram->usable_size, vram->io_size, in xe_ttm_vram_mgr_init()
H A Dxe_query.c341 if (xe_device_get_root_tile(xe)->mem.vram.usable_size) in query_config()
H A Dxe_bo.c175 xe_assert(xe, vram && vram->usable_size); in add_vram()
186 if (io_size < vram->usable_size) { in add_vram()
H A Dxe_migrate.c153 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 Di915_gem_stolen.c548 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 Dintel_fbdev_fb.c52 if (!(IS_METEORLAKE(dev_priv)) && size * 2 < dev_priv->dsm.usable_size) in intel_fbdev_fb_alloc()
H A Dintel_plane_initial.c170 size * 2 > i915->dsm.usable_size) { in initial_plane_vma()
/linux/drivers/gpu/drm/xe/display/
H A Dxe_plane_initial.c92 if (phys_base >= tile0->mem.vram.usable_size) { in initial_plane_bo()
H A Dxe_fb_pin.c289 if (tile->mem.vram.io_size < tile->mem.vram.usable_size) { in __xe_pin_fb_vma()
/linux/drivers/gpu/drm/i915/
H A Di915_drv.h101 resource_size_t usable_size; member