/openbmc/linux/drivers/gpu/drm/ci/ |
H A D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha edfbf74df1d4d6ce54ffe24566108be0e1a98c3d 6 TARGET_BRANCH: drm-next 10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/anholt/deqp-runner.git 13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs 14 MESA_TEMPLATES_COMMIT: &ci-templates-commit d5aa3941aa03c2f716595116354fb81eb8012acb 16 CI_PRE_CLONE_SCRIPT: |- 17 set -o xtrace 18 …-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT… 19 bash download-git-cache.sh [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd-qpl.c | 10 * See the COPYING file in the top-level directory. 16 #include "qapi/qapi-types-migration.h" 25 /* the QPL hardware path job */ 27 /* indicates if fallback to software path is required */ 36 /* array of hardware jobs, the number of jobs equals the number pages */ 38 /* the QPL software job for the slow path and software fallback */ 46 /* the status of the hardware device */ 51 * check_hw_avail: check if IAA hardware is available 53 * If the IAA hardware does not exist or is unavailable, 54 * the QPL hardware job initialization will fail. [all …]
|
/openbmc/linux/Documentation/accounting/ |
H A D | psi.rst | 4 PSI - Pressure Stall Information 14 either play it safe and under-utilize their hardware resources, or 23 scarcity aids users in sizing workloads to hardware--or provisioning 24 hardware according to workload demand. 27 dynamically using techniques such as load shedding, migrating jobs to 29 priority or restartable batch jobs. 31 This allows maximizing hardware utilization without sacrificing 37 Pressure information for each resource is exported through the 38 respective file in /proc/pressure/ -- cpu, memory, and io. 48 The "full" line indicates the share of time in which all non-idle [all …]
|
/openbmc/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 27 * The GPU scheduler provides entities which allow userspace to push jobs 28 * into software queues which are then scheduled on a hardware run queue. 31 * features among jobs. The driver is supposed to provide callback functions for 32 * backend operations to the scheduler like submitting a job to hardware run queue, 41 * 4. Entities themselves maintain a queue of jobs that will be scheduled on 42 * the hardware. 44 * The jobs in a entity are always scheduled in the order that they were pushed. 47 * hardware, i.e. the pending queue, the entity must not be referenced anymore [all …]
|
/openbmc/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_sched.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * The shared DRM GPU scheduler is used to coordinate submitting jobs 8 * to the hardware. Each DRM fd (roughly a client process) gets its 9 * own scheduler entity, which will process jobs in order. The GPU 10 * scheduler will round-robin between clients to submit the next job. 12 * For simplicity, and in order to keep latency low for interactive 13 * jobs when bulk background jobs are queued up, we submit a new job 15 * filling up the CT[01]Q FIFOs with jobs. Similarly, we use 17 * render, instead of having the clients submit jobs using the HW's 68 if (job->perfmon != v3d->active_perfmon) in v3d_switch_perfmon() [all …]
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | cpusets.rst | 11 - Portions Copyright (c) 2004-2006 Silicon Graphics, Inc. 12 - Modified by Paul Jackson <pj@sgi.com> 13 - Modified by Christoph Lameter <cl@linux.com> 14 - Modified by Paul Menage <menage@google.com> 15 - Modified by Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> 41 ---------------------- 43 Cpusets provide a mechanism for assigning a set of CPUs and Memory 45 an on-line node that contains memory. 50 hooks, beyond what is already present, required to manage dynamic 54 Documentation/admin-guide/cgroup-v1/cgroups.rst. [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | dma-buf.rst | 1 Buffer Sharing and Synchronization (dma-buf) 4 The dma-buf subsystem provides the framework for sharing buffers for 5 hardware (DMA) access across multiple device drivers and subsystems, and 6 for synchronizing asynchronous hardware access. 8 This is used, for example, by drm "prime" multi-GPU support, but is of 11 The three main components of this are: (1) dma-buf, representing a 18 ------------------ 20 This document serves as a guide to device-driver writers on what is the dma-buf 21 buffer sharing API, how to use it for exporting and using shared buffers. 27 exporter, and A as buffer-user/importer. [all …]
|
/openbmc/linux/Documentation/gpu/rfc/ |
H A D | i915_vm_bind.rst | 11 issued by the UMD, without user having to provide a list of all required 12 mappings during each submission (as required by older execbuf mode). 14 The VM_BIND/UNBIND calls allow UMDs to request a timeline out fence for 18 User has to opt-in for VM_BIND mode of binding for an address space (VM) 31 * Support for userptr gem objects (no special uapi is required for this). 34 ------------------------ 35 The i915 driver flushes the TLB for each submission and when an object's 37 TLB flush. Any VM_BIND mapping added will be in the working set for subsequent 38 submissions on that VM and will not be in the working set for currently running 42 ------------------------------- [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <media/v4l2-ctrls.h> 12 #include <media/v4l2-device.h> 13 #include <media/videobuf2-v4l2.h> 14 #include <media/v4l2-mem2mem.h> 18 #define hva_to_dev(h) (h->dev) 20 #define ctx_to_dev(c) (c->hva_dev->dev) 22 #define ctx_to_hdev(c) (c->hva_dev) 24 #define HVA_NAME "st-hva" 25 #define HVA_PREFIX "[---:----]" [all …]
|
/openbmc/linux/Documentation/gpu/ |
H A D | tegra.rst | 8 or blocks amongst themselves, can use syncpoints for synchronization. 11 supports the built-in GPU, comprised of the gr2d and gr3d engines. Starting 18 - A host1x driver that provides infrastructure and access to the host1x 21 - A KMS driver that supports the display controllers as well as a number of 24 - A set of custom userspace IOCTLs that can be used to submit jobs to the 35 tree for matching device nodes, adding the required clients to a list. Drivers 36 for individual clients register with the infrastructure as well and are added 40 device using a driver-provided function which will set up the bits specific to 48 ------------------------------- 50 .. kernel-doc:: include/linux/host1x.h [all …]
|
H A D | drm-uapi.rst | 9 addition, drivers export device-specific interfaces for use by userspace 10 drivers & device-aware applications through ioctls and sysfs files. 16 Cover generic ioctls and sysfs layout here. We only need high-level 22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c 31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 37 .. kernel-doc:: include/drm/drm_auth.h 46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c 49 Open-Source Userspace Requirements 53 what the userspace side for new uAPI needs to look like. This section here [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | jr.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright 2008-2012 Freescale Semiconductor, Inc. 42 jrpriv->hwrng = !caam_rng_init(dev); in register_algs() 54 if (--active_devs != 0) in unregister_algs() 72 /* Free the resources of crypto-engine */ in caam_jr_crypto_engine_exit() 73 crypto_engine_exit(jrpriv->engine); in caam_jr_crypto_engine_exit() 87 if (rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_INPROGRESS) in caam_jr_stop_processing() 91 clrsetbits_32(&jrp->rregs->jrintstatus, JRINT_ERR_HALT_MASK, 0); in caam_jr_stop_processing() 93 /* initiate flush / park (required prior to reset) */ in caam_jr_stop_processing() 94 wr_reg32(&jrp->rregs->jrcommand, jrcr_bits); in caam_jr_stop_processing() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_fdp1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Renesas R-Car Fine Display Processor 11 * m2m-deinterlace, and vsp1 drivers. 16 #include <linux/dma-mapping.h> 26 #include <media/rcar-fcp.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-event.h> 30 #include <media/v4l2-ioctl.h> 31 #include <media/v4l2-mem2mem.h> [all …]
|
/openbmc/linux/include/uapi/drm/ |
H A D | habanalabs_accel.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 * Copyright 2016-2022 HabanaLabs, Ltd. 15 * Defines that are asic-specific but constitutes as ABI between kernel driver 22 * 128 SOBs reserved for collective wait 23 * 16 SOBs reserved for sync stream 28 * 64 monitors reserved for collective wait 29 * 8 monitors reserved for sync stream 190 * 2. F/W mode, where we use F/W to schedule the JOBS to the different queues. 196 * stream id is a running number from 0 up to (N-1), where N is the number 657 * enum hl_goya_dma_direction - Direction of DMA operation inside a LIN_DMA packet that is [all …]
|
/openbmc/openbmc-test-automation/ |
H A D | README.md | 5 - DMTF Redfish 6 - Out-of-band IPMI 7 - SSH to BMC and Host OS 8 - [Legacy REST](https://github.com/openbmc/openbmc-test-automation/releases/tag/v4.0-stable) 12 - Powe [all...] |
/openbmc/linux/include/drm/ |
H A D | drm_modeset_helper_vtables.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 6 * Copyright © 2011-2013 Intel Corporation 22 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 38 * The DRM mode setting helper functions are common code for drivers to use if 45 * for helper libraries they are by necessity shared among the different 60 * struct drm_crtc_helper_funcs - helper operations for CRTCs 78 * also support using this hook for enabling and disabling a CRTC to 87 * This callback should prepare the CRTC for a subsequent modeset, which [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 This is an option for use by developers; most people should 28 This is an option for use by developers; most people should 65 Enable support for Altera / Intel mSGDMA controller. 86 Enable support for the AMCC PPC440SPe RAID engines. 94 Enable support for Audio DMA Controller found on Apple Silicon SoCs. 112 tristate "Analog Devices AXI-DMAC DMA support" 118 Enable support for the Analog Devices AXI-DMAC peripheral. This DMA 119 controller is often used in Analog Devices' reference designs for FPGA 132 Enable support for Broadcom SBA RAID Engine. The SBA RAID [all …]
|
H A D | ste_dma40.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Ericsson AB 2007-2008 4 * Copyright (C) ST-Ericsson SA 2008-2010 5 * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson 6 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson 9 #include <linux/dma-mapping.h> 32 * struct stedma40_platform_data - Configuration struct for the dma device. 36 * @disabled_channels: A vector, ending with -1, that marks physical channels 37 * that are for different reasons not available for the driver. 40 * SoftLLI introduces relink overhead that could impact performace for [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_gem.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30 #include <linux/dma-fence-array.h> 44 mod_timer(&vc4->hangcheck.timer, in vc4_queue_hangcheck() 60 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state() 61 drm_gem_object_put(state->bo[i]); in vc4_free_hang_state() 79 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_get_hang_state_ioctl() 80 return -ENODEV; in vc4_get_hang_state_ioctl() 82 if (!vc4->v3d) { in vc4_get_hang_state_ioctl() 84 return -ENODEV; in vc4_get_hang_state_ioctl() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_device.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 37 #include <linux/pci-p2pdma.h> 38 #include <linux/apple-gmux.h> 86 #include <asm/intel-family.h> 99 #define AMDGPU_RETRY_SRIOV_RESET(r) ((r) == -EBUSY || (r) == -ETIMEDOUT || (r) == -EINVAL) 147 * The amdgpu driver provides a sysfs API for reporting the total number 149 * The file pcie_replay_count is used for this and returns the total 170 * amdgpu_device_supports_px - Is the device a dGPU with ATPX power control 181 if ((adev->flags & AMD_IS_PX) && !amdgpu_is_atpx_hybrid()) in amdgpu_device_supports_px() [all …]
|
/openbmc/qemu/qapi/ |
H A D | block-core.json | 1 # -*- Mode: Python -*- 20 # @vm-state-size: size of the VM state 22 # @date-sec: UTC date of the snapshot in seconds 24 # @date-nsec: fractional part in nano seconds to be used with date-sec 26 # @vm-clock-sec: VM clock relative to boot in seconds 28 # @vm-clock-nsec: fractional part in nano seconds to be used with 29 # vm-clock-sec 32 # record/replay is enabled. Used for "time-traveling" to match 34 # counter may be obtained through @query-replay command (since 40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-mem2mem.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Memory-to-memory device framework for Video for Linux 2. 5 * Helper functions for devices that use memory buffers for both source 16 #include <media/videobuf2-v4l2.h> 19 * struct v4l2_m2m_ops - mem-to-mem device driver callbacks 20 * @device_run: required. Begin the actual job (transaction) inside this 30 * that is required for the driver to perform one full transaction. 52 * struct v4l2_m2m_queue_ctx - represents a queue for buffers ready to be 56 * @rdy_queue: List of V4L2 mem-to-mem queues 61 * Queue for buffers ready to be processed as soon as this [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/perf/ |
H A D | perf.bb | 1 SUMMARY = "Performance analysis tools for Linux" 2 DESCRIPTION = "Performance counters for Linux are a new kernel-based \ 3 subsystem that provide a framework for all things \ 4 performance analysis. It covers hardware level \ 10 LICENSE = "GPL-2.0-only" 16 PACKAGECONFIG[python] = ",NO_LIBPYTHON=1,python3 python3-setuptools-native" 25 PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" 28 # jevents requires host python for generating a .c file, but is 30 PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" 37 # libunwind is not yet ported for some architectures [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2016-2022 HabanaLabs, Ltd. 19 #include <linux/dma-direction.h> 28 #include <linux/io-64-nonatomic-lo-hi.h> 30 #include <linux/dma-buf.h> 42 * bits[63:59] - Encode mmap type 43 * bits[45:0] - mmap offset value 48 #define HL_MMAP_TYPE_SHIFT (59 - PAGE_SHIFT) 61 * In device fini, wait 10 minutes for user processes to be terminated after we kill them. 94 /* Default value for device reset trigger , an invalid value */ [all …]
|
/openbmc/qemu/docs/system/ |
H A D | qemu-block-drivers.rst.inc | 5 any of the tools (like ``qemu-img``). This includes the preferred formats 6 raw and qcow2 as well as formats that are supported for compatibility with 10 ``qemu-img create`` and ``qemu-img convert`` using the ``-o`` option. 11 This section describes each format and the options that are supported for it. 13 .. program:: image-formats 18 file system supports *holes* (for example in ext2 or ext3 on 20 space. Use ``qemu-img info`` to know the real size used by the 21 image or ``ls -ls`` on Unix/Linux. 29 ``full``). ``falloc`` mode preallocates space for image by 31 for image by writing data to underlying storage. This data may or [all …]
|