/linux/Documentation/devicetree/bindings/gpu/ |
H A D | img,powervr-sgx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 # Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ 5 --- 6 $id: http://devicetree.org/schemas/gpu/img,powervr-sgx.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 title: Imagination Technologies PowerVR SGX GPUs 12 - Frank Binns <frank.binns@imgtec.com> 17 - items: 18 - enum: 19 - ti,omap3430-gpu # Rev 121 [all …]
|
H A D | img,powervr-rogue.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Imagination Technologies PowerVR and IMG Rogue GPUs 11 - Frank Binns <frank.binns@imgtec.com> 16 - enum: 17 - ti,am62-gpu 18 - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable 27 clock-names: [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_device.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 21 #include <linux/dma-mapping.h> 37 * pvr_device_reg_init() - Initialize kernel access to a PowerVR device's 39 * @pvr_dev: Target PowerVR device. 41 * Sets struct pvr_device->regs. 55 struct platform_device *plat_dev = to_platform_device(drm_dev->dev); in pvr_device_reg_init() 59 pvr_dev->regs_resource = NULL; in pvr_device_reg_init() 60 pvr_dev->regs = NULL; in pvr_device_reg_init() 64 return dev_err_probe(drm_dev->dev, PTR_ERR(regs), in pvr_device_reg_init() 65 "failed to ioremap gpu registers\n"); in pvr_device_reg_init() [all …]
|
H A D | pvr_gem.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 13 #include <linux/dma-buf.h> 14 #include <linux/dma-direction.h> 15 #include <linux/dma-mapping.h> 18 #include <linux/iosys-map.h> 35 if (!(pvr_obj->flags & DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS)) in pvr_gem_mmap() 36 return -EINVAL; in pvr_gem_mmap() 54 * pvr_gem_object_flags_validate() - Verify that a collection of PowerVR GEM 56 * @flags: PowerVR GEM mapping/creation flags to validate. 58 * This function explicitly allows kernel-only flags. All ioctl entrypoints [all …]
|
H A D | pvr_device.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 40 * struct pvr_gpu_id - Hardware GPU ID information for a PowerVR device 51 * struct pvr_fw_version - Firmware version information 60 * struct pvr_device - powervr-specific wrapper for &struct drm_device 71 /** @gpu_id: GPU ID detected at runtime. */ 114 * This is the primary clock used by the entire GPU core. 154 * @params: Device-specific parameters. 162 /** @stream_musthave_quirks: Bit array of "must-have" quirks for stream commands. */ 194 * @queues: Queue-related fields. 288 * GPU reset code will lock this for writing. Any code that submits commands to the firmware [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only OR MIT 5 tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG Graphics" 16 Technologies PowerVR (Series 6 or later) or IMG GPU. 18 If "M" is selected, the module will be called powervr.
|
H A D | pvr_power.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 27 * pvr_device_lost() - Mark GPU device as lost 28 * @pvr_dev: Target PowerVR device. 35 if (!pvr_dev->lost) { in pvr_device_lost() 36 pvr_dev->lost = true; in pvr_device_lost() 44 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_power_send_command() 49 WRITE_ONCE(*fw_dev->power_sync, 0); in pvr_power_send_command() 56 return readl_poll_timeout(pvr_dev->fw_dev.power_sync, value, value != 0, 100, in pvr_power_send_command() 92 cancel_delayed_work_sync(&pvr_dev->watchdog.work); in pvr_power_fw_disable() 122 queue_delayed_work(pvr_dev->sched_wq, &pvr_dev->watchdog.work, in pvr_power_fw_enable() [all …]
|
H A D | pvr_fw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 27 * struct pvr_fw_object - container for firmware memory allocations 37 * @fw_mm_node: Node representing mapping in FW address space. @pvr_obj->lock must 63 * struct pvr_fw_defs - FW processor function table and static definitions 70 * @pvr_dev: Target PowerVR device. 87 * @pvr_dev: Target PowerVR device. 97 * @pvr_dev: Target PowerVR device. 119 * @pvr_dev: Target PowerVR device. 134 * @pvr_dev: Target PowerVR device. 159 * @pvr_dev: Target PowerVR device. [all …]
|
H A D | pvr_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 51 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_layout_entry() 52 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_layout_entry() 66 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_private_data() 67 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_private_data() 83 * pvr_fw_validate() - Parse firmware header and check compatibility 88 * * -EINVAL if firmware is incompatible. 94 const struct firmware *firmware = pvr_dev->fw_dev.firmware; in pvr_fw_validate() 97 const u8 *fw = firmware->data; in pvr_fw_validate() 98 u32 fw_offset = firmware->size - SZ_4K; in pvr_fw_validate() [all …]
|
H A D | pvr_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 42 * DOC: PowerVR (Series 6 and later) and IMG Graphics Driver 44 * This driver supports the following PowerVR/IMG graphics cores from Imagination Technologies: 46 * * AXE-1-16M (found in Texas Instruments AM62) 50 * pvr_ioctl_create_bo() - IOCTL to create a GEM buffer object. 54 * @file: [IN] DRM file-private data. 60 * * -%EINVAL if the value of &drm_pvr_ioctl_create_bo_args.size is zero 62 * * -%EINVAL if any bits in &drm_pvr_ioctl_create_bo_args.flags that are 64 * * -%EINVAL if any padding fields in &drm_pvr_ioctl_create_bo_args are not 69 * userspace-accessible handle (see pvr_gem_object_into_handle()). [all …]
|
H A D | pvr_mmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 17 #include <linux/dma-mapping.h> 23 #define PVR_MASK_FROM_SIZE(size_) (~((size_) - U64_C(1))) 61 (PVR_DEVICE_PAGE_SHIFT - PVR_SHIFT_FROM_SIZE(SZ_4K))) 64 PVR_MMU_SYNC_LEVEL_NONE = -1, 77 * pvr_mmu_set_flush_flags() - Set MMU cache flush flags for next call to 79 * @pvr_dev: Target PowerVR device. 87 atomic_fetch_or(flags, &pvr_dev->mmu_flush_cache_flags); in pvr_mmu_set_flush_flags() 91 * pvr_mmu_flush_request_all() - Request flush of all MMU caches when 93 * @pvr_dev: Target PowerVR device. [all …]
|
/linux/drivers/gpu/drm/ci/ |
H A D | test.yml | 1 .test-rules: 3 - if: '$FD_FARM == "offline" && $RUNNER_TAG =~ /^google-freedreno-/' 5 - if: '$COLLABORA_FARM == "offline" && $RUNNER_TAG =~ /^mesa-ci-x86-64-lava-/' 7 - !reference [.no_scheduled_pipelines-rules, rules] 8 - when: on_success 10 .lava-test: 12 - .test-rules 16 - rm -rf install 17 - tar -xf artifacts/install.tar 18 - mv install/* artifacts/. [all …]
|
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 c6a9a9c3bce90923f7700219354e0b6e5a3c9ba6 6 TARGET_BRANCH: drm-next 10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/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 …]
|
/linux/Documentation/gpu/imagination/ |
H A D | uapi.rst | 6 .. kernel-doc:: include/uapi/drm/pvr_drm.h 7 :doc: PowerVR UAPI 11 .. kernel-doc:: include/uapi/drm/pvr_drm.h 14 .. kernel-doc:: include/uapi/drm/pvr_drm.h 19 .. kernel-doc:: include/uapi/drm/pvr_drm.h 20 :doc: PowerVR IOCTL interface 22 .. kernel-doc:: include/uapi/drm/pvr_drm.h 26 --------- 27 .. kernel-doc:: include/uapi/drm/pvr_drm.h 28 :doc: PowerVR IOCTL DEV_QUERY interface [all …]
|
H A D | index.rst | 2 drm/imagination PowerVR Graphics Driver 5 .. kernel-doc:: drivers/gpu/drm/imagination/pvr_drv.c 6 :doc: PowerVR (Series 6 and later) and IMG Graphics Driver
|
/linux/include/uapi/drm/ |
H A D | pvr_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only WITH Linux-syscall-note) OR MIT */ 17 * DOC: PowerVR UAPI 19 * The PowerVR IOCTL argument structs have a few limitations in place, in 22 * - All members must be type-aligned. 23 * - The overall struct must be padded to 64-bit alignment. 24 * - Explicit padding is almost always required. This takes the form of 25 * ``_padding_[x]`` members of sufficient size to pad to the next power-of-two 29 * - Unions may only appear as the last member of a struct. 30 * - Individual union members may grow in the future. The space between the 34 * In addition to the IOCTL argument structs, the PowerVR UAPI makes use of [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap34xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/media/omap3-isp.h> 16 /* OMAP343x/OMAP35xx variants OPP1-6 */ 17 operating-points-v2 = <&cpu0_opp_table>; 19 clock-latency = <300000>; /* From legacy driver */ 20 #cooling-cells = <2>; 24 cpu0_opp_table: opp-table { 25 compatible = "operating-points-v2-ti-cpu"; [all …]
|
H A D | am3517.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 11 /delete-node/ &aes1_target; 12 /delete-node/ &aes2_target; 24 operating-points-v2 = <&cpu0_opp_table>; 26 clock-latency = <300000>; /* From legacy driver */ 30 cpu0_opp_table: opp-table { 31 compatible = "operating-points-v2-ti-cpu"; 38 opp-50-300000000 { 40 opp-hz = /bits/ 64 <300000000>; [all …]
|
H A D | omap5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/omap.h> 12 #include <dt-bindings/clock/omap5.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 19 interrupt-parent = <&wakeupgen>; [all …]
|
H A D | am33xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/am33xx.h> 11 #include <dt-bindings/clock/am3.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <1>; 17 #size-cells = <1>; 30 d-can0 = &dcan0; [all …]
|
H A D | am4372.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/clock/am4.h> 15 interrupt-parent = <&wakeupgen>; 16 #address-cells = <1>; 17 #size-cells = <1>; 41 #address-cells = <1>; [all …]
|
H A D | omap4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/bus/ti-sysc.h> 7 #include <dt-bindings/clock/omap4.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/omap.h> 11 #include <dt-bindings/clock/omap4.h> 15 interrupt-parent = <&wakeupgen>; 16 #address-cells = <1>; [all …]
|
/linux/drivers/video/fbdev/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 a well-defined interface, so the software doesn't need to know 15 anything about the low-level (hardware register) stuff. 21 On several non-X86 architectures, the frame buffer device is the 29 and the Framebuffer-HOWTO at 30 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 46 device-aware may cause unexpected results. If unsure, say N. 57 Common utility functions useful to fbdev drivers of VGA-based 82 If you have a PCI-based system, this enables support for these [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/ 7 #include <dt-bindings/phy/phy-am654-serdes.h> 11 compatible = "mmio-sram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 atf-sram@0 { 21 sysfw-sram@f0000 { 25 l3cache-sram@100000 { 30 gic500: interrupt-controller@1800000 { [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|