Searched refs:LMEM_BAR (Results 1 – 3 of 3) sorted by relevance
63 current_size = pci_resource_len(pdev, LMEM_BAR); in resize_vram_bar()64 bar_size_mask = pci_rebar_get_possible_sizes(pdev, LMEM_BAR); in resize_vram_bar()116 _resize_bar(xe, LMEM_BAR, rebar_size); in resize_vram_bar()140 if (!resource_is_valid(pdev, LMEM_BAR)) { in determine_lmem_bar_size()147 xe->mem.vram.io_start = pci_resource_start(pdev, LMEM_BAR); in determine_lmem_bar_size()148 xe->mem.vram.io_size = pci_resource_len(pdev, LMEM_BAR); in determine_lmem_bar_size()248 *tile_size = pci_resource_len(to_pci_dev(xe->drm.dev), LMEM_BAR); in tile_vram_size()
80 if (mgr->stolen_base + stolen_size <= pci_resource_len(pdev, LMEM_BAR)) in detect_bar2_dgfx()
9 #define LMEM_BAR 2 /* VRAM */ macro