Home
last modified time | relevance | path

Searched full:aperture (Results 1 – 25 of 210) sorted by relevance

123456789

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_flat_memory.c97 * The GPUVM_Base/GPUVM_Limit defines the aperture in the 64b space where we
115 * this case the GPUVM aperture (red) is defined and if a pointer falls in this
116 * aperture, we subtract the GPUVM_Base address and set the ATC bit to zero
150 * “Spare” aperture (APE1)
152 * We use the GPUVM aperture to differentiate ATC vs. GPUVM, but we also use
154 * config tables for setting cache policies. The “spare” (APE1) aperture is
156 * The default aperture isn’t an actual base/limit aperture; it is just the
163 * General Aperture definitions and rules
165 * An aperture register definition consists of a Base, Limit, Mtype, and
166 * usually an ATC bit indicating which translation tables that aperture uses.
[all …]
/linux/drivers/video/
H A Daperture.c3 #include <linux/aperture.h>
24 * first has to remove the generic driver. Aperture functions manage
68 * While the given example uses a platform device, the aperture helpers work
126 * et al for the registered framebuffer range, the aperture helpers call
212 * If the aperture helpers ever need to handle native drivers, this call in aperture_detach_platform_device()
220 * devm_aperture_acquire_for_platform_device - Acquires ownership of an aperture
222 * @pdev: the platform device to own the aperture
223 * @base: the aperture's byte offset in physical memory
224 * @size: the aperture size in bytes
226 * Installs the given device as the new owner of the aperture. The function
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_doorbell_mgr.c33 * Returns the value in the doorbell aperture at the
44 DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_rdoorbell()
55 * Writes @v to the doorbell aperture at the
66 DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_wdoorbell()
75 * Returns the value in the doorbell aperture at the
86 DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_rdoorbell64()
97 * Writes @v to the doorbell aperture at the
108 DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_wdoorbell64()
178 * GPU doorbell aperture helpers function.
/linux/Documentation/driver-api/
H A Daperture.rst3 Managing Ownership of the Framebuffer Aperture
6 .. kernel-doc:: drivers/video/aperture.c
9 .. kernel-doc:: include/linux/aperture.h
12 .. kernel-doc:: drivers/video/aperture.c
H A Dio-mapping.rst10 usage is to support the large graphics aperture on 32-bit processors where
11 ioremap_wc cannot be used to statically map the entire aperture to the CPU
/linux/drivers/char/agp/
H A Dintel-agp.c123 /* aperture size */ in intel_configure()
130 /* attbase - aperture base */ in intel_configure()
151 /* attbase - aperture base */ in intel_815_configure()
161 /* aperture size */ in intel_815_configure()
212 /* aperture size */ in intel_820_configure()
219 /* attbase - aperture base */ in intel_820_configure()
225 /* global enable aperture access */ in intel_820_configure()
242 /* aperture size */ in intel_840_configure()
249 /* attbase - aperture base */ in intel_840_configure()
270 /* aperture size */ in intel_845_configure()
[all …]
H A Duninorth-agp.c36 static char *aperture = NULL; variable
44 if (aperture) { in uninorth_fetch_size()
45 char *save = aperture; in uninorth_fetch_size()
47 size = memparse(aperture, &aperture) >> 20; in uninorth_fetch_size()
48 aperture = save; in uninorth_fetch_size()
55 dev_err(&agp_bridge->dev->dev, "invalid aperture size, " in uninorth_fetch_size()
58 aperture = NULL; in uninorth_fetch_size()
120 /* aperture size and gatt addr */ in uninorth_configure()
128 * the AGP aperture isn't mapped at bus physical address 0 in uninorth_configure()
496 * Not sure that u3 supports that high aperture sizes but it
[all …]
H A Dalpha-agp.c21 dma_addr = vmf->address - vmf->vma->vm_start + agp->aperture.bus_base; in alpha_core_agp_vm_fault()
54 agp_bridge->gart_bus_addr = agp->aperture.bus_base; in alpha_core_agp_configure()
165 * Build the aperture size descriptor in alpha_core_agp_setup()
168 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup()
169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
H A Dvia-agp.c40 printk(KERN_ERR PFX "Unknown aperture size from AGP bridge (0x%x)\n", temp); in via_fetch_size()
50 /* aperture size */ in via_configure()
60 /* attbase - aperture GATT base */ in via_configure()
136 /* attbase - aperture GATT base */ in via_configure_agp3()
140 /* 1. Enable GTLB in RX90<7>, all AGP aperture access needs to fetch in via_configure_agp3()
142 * 2. Enable AGP aperture in RX91<0>. This bit controls the enabling of the in via_configure_agp3()
143 * graphics AGP aperture for the AGP3.0 port. in via_configure_agp3()
/linux/arch/arc/plat-axs10x/
H A Daxs10x.c122 * of which maps to a corresponding 256MB aperture in Target slave memory map.
124 * e.g. ARC cpu AXI Master's aperture 8 (0x8000_0000) is mapped to aperture 0
129 * e.g. aperture 14 (0xE000_0000) of ARC cpu is mapped to aperture 14
136 struct aperture { struct
162 static const struct aperture axc001_memmap[16] = {
185 static const struct aperture axc001_axi_tunnel_memmap[16] = {
208 static const struct aperture axs_mb_memmap[16] = {
228 axs101_set_memmap(void __iomem *base, const struct aperture map[16]) in axs101_set_memmap()
/linux/arch/x86/include/asm/
H A Dgart.h17 /* Aperture control register bits. */
97 printk(KERN_INFO "Aperture beyond 4GB. Ignoring.\n"); in aperture_valid()
101 printk(KERN_INFO "Aperture pointing to e820 RAM. Ignoring.\n"); in aperture_valid()
105 printk(KERN_INFO "Aperture too small (%d MB) than (%d MB)\n", in aperture_valid()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_gart.c40 * The GART (Graphics Aperture Remapping Table) is an aperture
42 * the aperture and look like contiguous pages from the GPU's
43 * perspective. A page table maps the pages in the aperture
49 * Radeon hw has a separate AGP aperture that is programmed to
50 * point to the AGP aperture provided by the northbridge and the
51 * requests are passed through to the northbridge aperture.
235 * @offset: offset into the GPU's gart aperture
275 * @offset: offset into the GPU's gart aperture
/linux/arch/alpha/kernel/
H A Dcore_titan.c611 agp->aperture.bus_base = in titan_agp_setup()
613 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup()
614 agp->aperture.sysdata = aper; in titan_agp_setup()
622 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_cleanup()
685 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_bind_memory()
693 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_unbind_memory()
701 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_translate()
705 if (addr < agp->aperture.bus_base || in titan_agp_translate()
706 addr >= agp->aperture.bus_base + agp->aperture.size) { in titan_agp_translate()
775 * Aperture - not configured until ops.setup(). in titan_agp_info()
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dmvebu-mbus.txt34 - pcie-mem-aperture: This optional property contains the aperture for
40 - pcie-io-aperture: Just as explained for the above property, this
41 optional property contains the aperture for the
65 pcie-mem-aperture = <0xe0000000 0x8000000>;
66 pcie-io-aperture = <0xe8000000 0x100000>;
/linux/drivers/mtd/devices/
H A Dpmc551.c30 * aperture size, not the dram size, and the V370PDC supplies no
33 * unloading of the module with an aperture size smaller than
35 * size to be equal to the aperture size when the module is
38 * an asize option, to allow the specification of the aperture
39 * size. The aperture must be equal to or less then the memory
60 * * Modified driver to utilize a sliding aperture instead of
74 * about the aperture size. This should always accurately reflect the
395 * Disable existing aperture before probing memory size in fixup_pmc551()
646 MODULE_PARM_DESC(asize, "aperture size, must be <= memsize [1-1024]");
671 printk(KERN_NOTICE "pmc551: Invalid aperture size " in init_pmc551()
[all …]
/linux/drivers/video/fbdev/i810/
H A Di810_main.c31 #include <linux/aperture.h>
56 * voffset - framebuffer offset in MiB from aperture start address. In order for
68 * So for chipsets with 64 MiB Aperture sizes, 32 MiB for v_offset is okay, allowing up to
69 * 15 + 1 MiB of Framebuffer memory. For 32 MiB Aperture sizes, a v_offset of 8 MiB should
1637 par->fb.physical = par->aperture.physical+(par->fb.offset << 12); in i810_fix_pointers()
1638 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1639 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1641 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1643 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1649 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
[all …]
/linux/tools/perf/pmu-events/arch/x86/haswell/
H A Duncore-interconnect.json3 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)…
8 …d entries in Coherency Tracker queue from allocation till deallocation. Aperture requests (snoops)…
13 …Description": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc.",
/linux/drivers/gpu/drm/i915/
H A Di915_pvinfo.h75 /* Aperture register balooning */
79 } mappable_gmadr; /* aperture */
84 } nonmappable_gmadr; /* non aperture */
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-camera.rst30 aperture. The effect of manual changes of the exposure time or iris
31 aperture while these features are enabled is undefined, drivers
42 - Automatic exposure time, automatic iris aperture.
74 compensation by adjusting absolute exposure time and/or aperture.
243 This control sets the camera's aperture to the specified value. The
248 This control modifies the camera's aperture by the specified amount.
375 camera determines best exposure, aperture, focusing, light metering,
427 - Landscape. The camera may choose a small aperture to provide deep
444 - Portrait. The camera adjusts the aperture so that the depth of
/linux/drivers/ntb/hw/idt/
H A DKconfig19 with chosen valid aperture. For memory windows related BARs the
20 aperture settings shall determine the maximum size of memory windows
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_vm_helper.c45 /* Pre-init system aperture start/end for all HUBP instances (if not gating?) in dc_setup_system_context()
46 * or cache system aperture if using power gating in dc_setup_system_context()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
H A Ddcn20_hubbub.c452 /*This field defines the bottom range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
457 /*This field defines the top range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
470 /*This field defines the bottom range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
475 /*This field defines the top range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
488 /*This field defines the bottom range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
493 /*This field defines the top range of the AGP aperture and represents the 24*/ in hubbub2_update_dchub()
/linux/arch/arc/mm/
H A Dcache.c68 * simultaneously. This happens because as of today IOC aperture covers in read_decode_cache_bcr_arcv2()
74 * aperture size if we are planning to use HIGHMEM without PAE. in read_decode_cache_bcr_arcv2()
939 * be reconfigured with aperture base,size corresponding to Linux memory map in arc_ioc_setup()
959 * currently IOC Aperture covers entire DDR in arc_ioc_setup()
966 panic("IOC Aperture size must be power of 2 larger than 4KB"); in arc_ioc_setup()
969 * IOC Aperture size decoded as 2 ^ (SIZE + 2) KB, in arc_ioc_setup()
974 /* for now assume kernel base is start of IOC aperture */ in arc_ioc_setup()
978 panic("IOC Aperture start must be aligned to the size of the aperture"); in arc_ioc_setup()
/linux/include/uapi/linux/
H A Dagpgart.h65 unsigned long aper_base;/* base of aperture */
66 __kernel_size_t aper_size; /* size of aperture */
/linux/include/linux/
H A Dagpgart.h37 unsigned long aper_base;/* base of aperture */
38 size_t aper_size; /* size of aperture */

123456789