Home
last modified time | relevance | path

Searched refs:gpu (Results 1 – 25 of 139) sorted by relevance

123456

/openbmc/dbus-sensors/src/tests/
H A Dtest_NvidiaGpuSensorTest.cpp183 int result = gpu::packHeader(hdr, msg); in TEST_F()
186 EXPECT_EQ(msg.pci_vendor_id, htobe16(gpu::nvidiaPciVendorId)); in TEST_F()
203 int result = gpu::encodeQueryDeviceIdentificationRequest(instanceId, buf); in TEST_F()
207 gpu::QueryDeviceIdentificationRequest request{}; in TEST_F()
211 htobe16(gpu::nvidiaPciVendorId)); in TEST_F()
220 static_cast<uint8_t>(gpu::DeviceCapabilityDiscoveryCommands:: in TEST_F()
229 std::vector<uint8_t> buf(sizeof(gpu::QueryDeviceIdentificationResponse)); in TEST_F()
231 gpu::QueryDeviceIdentificationResponse response{}; in TEST_F()
237 static_cast<uint8_t>(gpu::MessageType::DEVICE_CAPABILITY_DISCOVERY); in TEST_F()
239 gpu::packHeader(headerInfo, response.hdr.msgHdr.hdr); in TEST_F()
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DInventory.cpp39 const gpu::DeviceIdentification deviceTypeIn, const uint8_t eid, in Inventory()
49 registerProperty(gpu::InventoryPropertyId::SERIAL_NUMBER, assetIface, in Inventory()
51 registerProperty(gpu::InventoryPropertyId::BOARD_PART_NUMBER, assetIface, in Inventory()
53 registerProperty(gpu::InventoryPropertyId::MARKETING_NAME, assetIface, in Inventory()
58 registerProperty(gpu::InventoryPropertyId::DEVICE_GUID, uuidInterface, in Inventory()
63 registerProperty(gpu::InventoryPropertyId::DEVICE_PART_NUMBER, in Inventory()
68 if (deviceType == gpu::DeviceIdentification::DEVICE_GPU) in Inventory()
83 gpu::InventoryPropertyId propertyId, in registerProperty()
94 void Inventory::processInventoryProperty(gpu::InventoryPropertyId propertyId) in processInventoryProperty()
100 std::optional<gpu::InventoryPropertyId> nextProperty = in processInventoryProperty()
[all …]
H A DInventory.hpp26 gpu::DeviceIdentification deviceType, uint8_t eid,
39 void sendInventoryPropertyRequest(gpu::InventoryPropertyId propertyId);
40 void handleInventoryPropertyResponse(gpu::InventoryPropertyId propertyId,
44 void processInventoryProperty(gpu::InventoryPropertyId propertyId);
46 gpu::InventoryPropertyId propertyId,
49 std::optional<gpu::InventoryPropertyId> getNextPendingProperty() const;
51 std::unordered_map<gpu::InventoryPropertyId, PropertyInfo>::iterator
54 std::unordered_map<gpu::InventoryPropertyId, PropertyInfo>::iterator
64 gpu::DeviceIdentification deviceType;
67 std::unordered_map<gpu::InventoryPropertyId, PropertyInfo> properties;
[all …]
H A DNvidiaGpuPowerPeakReading.cpp84 gpu::decodeGetPowerDrawResponse(buffer, cc, reasonCode, peakPower); in processResponse()
104 const int rc = gpu::encodeGetPowerDrawRequest( in update()
105 gpu::PlatformEnvironmentalCommands::GET_MAX_OBSERVED_POWER, 0, sensorId, in update()
H A DNvidiaGpuPowerSensor.cpp102 gpu::decodeGetPowerDrawResponse(buffer, cc, reasonCode, power); in processResponse()
120 const int rc = gpu::encodeGetPowerDrawRequest( in update()
121 gpu::PlatformEnvironmentalCommands::GET_CURRENT_POWER_DRAW, 0, sensorId, in update()
H A DNvidiaDeviceDiscovery.cpp68 auto rc = gpu::decodeQueryDeviceIdentificationResponse( in processQueryDeviceIdResponse()
80 switch (static_cast<gpu::DeviceIdentification>(responseDeviceType)) in processQueryDeviceIdResponse()
82 case gpu::DeviceIdentification::DEVICE_GPU: in processQueryDeviceIdResponse()
92 auto gpu = gpuDevices in processQueryDeviceIdResponse() local
98 gpu->second->init(); in processQueryDeviceIdResponse()
102 case gpu::DeviceIdentification::DEVICE_SMA: in processQueryDeviceIdResponse()
122 case gpu::DeviceIdentification::DEVICE_PCIE: in processQueryDeviceIdResponse()
158 std::array<uint8_t, sizeof(gpu::QueryDeviceIdentificationRequest)>>(); in queryDeviceIdentification()
160 auto rc = gpu::encodeQueryDeviceIdentificationRequest( in queryDeviceIdentification()
H A DNvidiaGpuVoltageSensor.cpp100 gpu::decodeGetVoltageResponse(buffer, cc, reasonCode, voltageValue); in processResponse()
117 auto rc = gpu::encodeGetVoltageRequest(0, sensorId, request); in update()
H A DNvidiaGpuEnergySensor.cpp99 auto rc = gpu::decodeGetCurrentEnergyCounterResponse(buffer, cc, reasonCode, in processResponse()
118 auto rc = gpu::encodeGetCurrentEnergyCounterRequest(0, sensorId, request); in update()
H A DNvidiaPcieInterface.cpp120 auto rc = gpu::decodeQueryScalarGroupTelemetryV2Response( in processResponse()
162 gpu::encodeQueryScalarGroupTelemetryV2Request(0, {}, 0, 0, 1, request); in update()
/openbmc/qemu/docs/system/devices/
H A Dvirtio-gpu.rst4 virtio-gpu
7 This document explains the setup and usage of the virtio-gpu device.
8 The virtio-gpu device paravirtualizes the GPU and display controller.
13 virtio-gpu requires a guest Linux kernel built with the
16 QEMU virtio-gpu variants
19 QEMU virtio-gpu device variants come in the following form:
22 * ``virtio-gpu[-BACKEND][-INTERFACE]``
26 **Backends:** QEMU provides a 2D virtio-gpu backend, and two accelerated
31 **Interfaces:** QEMU further categorizes virtio-gpu device variants based
34 or vhost-user-vga while the non-VGA ones are prefixed with virtio-gpu or
[all …]
/openbmc/u-boot/board/compulab/cl-som-am57x/
H A Dspl.c179 .gpu.value[OPP_NOM] = VDD_GPU_DRA7_NOM,
180 .gpu.value[OPP_OD] = VDD_GPU_DRA7_OD,
181 .gpu.value[OPP_HIGH] = VDD_GPU_DRA7_HIGH,
182 .gpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_GPU_NOM,
183 .gpu.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_GPU_OD,
184 .gpu.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_GPU_HIGH,
185 .gpu.efuse.reg_bits = DRA752_EFUSE_REGBITS,
186 .gpu.addr = TPS659038_REG_ADDR_SMPS6,
187 .gpu.pmic = &tps659038,
/openbmc/u-boot/board/ti/dra7xx/
H A Devm.c393 .gpu.value[OPP_NOM] = VDD_GPU_DRA7_NOM,
394 .gpu.value[OPP_OD] = VDD_GPU_DRA7_OD,
395 .gpu.value[OPP_HIGH] = VDD_GPU_DRA7_HIGH,
396 .gpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_GPU_NOM,
397 .gpu.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_GPU_OD,
398 .gpu.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_GPU_HIGH,
399 .gpu.efuse.reg_bits = DRA752_EFUSE_REGBITS,
400 .gpu.addr = TPS659038_REG_ADDR_SMPS6,
401 .gpu.pmic = &tps659038,
402 .gpu.abb_tx_done_mask = OMAP_ABB_GPU_TXDONE_MASK,
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dmeson.build2 executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
7 configure_file(input: '50-qemu-gpu.json.in',
8 output: '50-qemu-gpu.json',
H A D50-qemu-gpu.json.in2 "description": "QEMU vhost-user-gpu",
3 "type": "gpu",
4 "binary": "@libexecdir@/vhost-user-gpu"
/openbmc/u-boot/board/ti/am57xx/
H A Dboard.c341 .gpu.value[OPP_NOM] = VDD_GPU_DRA7_NOM,
342 .gpu.value[OPP_OD] = VDD_GPU_DRA7_OD,
343 .gpu.value[OPP_HIGH] = VDD_GPU_DRA7_HIGH,
344 .gpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_GPU_NOM,
345 .gpu.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_GPU_OD,
346 .gpu.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_GPU_HIGH,
347 .gpu.efuse.reg_bits = DRA752_EFUSE_REGBITS,
348 .gpu.addr = TPS659038_REG_ADDR_SMPS45,
349 .gpu.pmic = &tps659038,
350 .gpu.abb_tx_done_mask = OMAP_ABB_GPU_TXDONE_MASK,
[all …]
/openbmc/qemu/hw/display/
H A Dmeson.build70 if_true: [files('virtio-gpu-base.c', 'virtio-gpu.c'), pixman])
72 virtio_gpu_ss.add(files('virtio-gpu-udmabuf.c'))
74 virtio_gpu_ss.add(files('virtio-gpu-udmabuf-stubs.c'))
76 virtio_gpu_ss.add(when: 'CONFIG_VHOST_USER_GPU', if_true: files('vhost-user-gpu.c'))
77 hw_display_modules += {'virtio-gpu': virtio_gpu_ss}
82 if_true: [files('virtio-gpu-gl.c', 'virtio-gpu-virgl.c'), pixman, virgl])
83 hw_display_modules += {'virtio-gpu-gl': virtio_gpu_gl_ss}
89 if_true: [files('virtio-gpu-rutabaga.c'), pixman])
90 hw_display_modules += {'virtio-gpu-rutabaga': virtio_gpu_rutabaga_ss}
97 if_true: [files('virtio-gpu-pci.c'), pixman])
[all …]
/openbmc/qemu/docs/interop/
H A Dvhost-user.json29 # @gpu: virtio gpu
50 'gpu',
170 'gpu': 'VHostUserBackendCapabilitiesGPU'
213 # - /usr/share/qemu/vhost-user/50-qemu-gpu.json
215 # - /usr/share/qemu/vhost-user/50-crosvm-gpu.json
219 # $ touch /etc/qemu/vhost-user/50-qemu-gpu.json
223 # $ vim /etc/qemu/vhost-user/50-qemu-gpu.json
227 # $ vim /etc/qemu/vhost-user/10-qemu-gpu.json
231 # $ vim /etc/qemu/vhost-user/99-qemu-gpu.json
/openbmc/openbmc/meta-raspberrypi/recipes-core/psplash/files/
H A Dframebuf.conf2 Requires=sys-devices-platform-gpu-graphics-fb0.device
3 After=sys-devices-platform-gpu-graphics-fb0.device
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/images/
H A Dnvidia-gb200-obmc-phosphor-image.inc10 OBMC_IMAGE_EXTRA_INSTALL:append:nv-gpu-pcie-card = "\
11 gpu-card-init \
/openbmc/openbmc/poky/meta/recipes-graphics/igt-gpu-tools/
H A Digt-gpu-tools_1.30.bb3 HOMEPAGE = "https://gitlab.freedesktop.org/drm/igt-gpu-tools"
4 BUGTRACKER = "https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues"
14 SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;branch=master \
/openbmc/openbmc/meta-phosphor/recipes-phosphor/sensors/
H A Ddbus-sensors_git.bb42 PACKAGECONFIG[nvidia-gpu] = "-Dnvidia-gpu=enabled, -Dnvidia-gpu=disabled"
86 SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'nvidia-gpu', \
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/sensors/
H A Ddbus-sensors_%.bbappend2 nvidia-gpu \
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/conf/machine/include/
H A Dnvidia-pcie-gpu-card.inc1 MACHINEOVERRIDES =. "nv-gpu-pcie-card:"
/openbmc/openbmc/meta-nvidia/recipes-phosphor/platform/
H A Dplatform-init_%.bbappend1 EXTRA_OEMESON:append:nv-gpu-pcie-card = " -Dplatform-name=nvidia-gb200-with-p2020"
/openbmc/openbmc-test-automation/lib/
H A Dos_utilities.robot313 # nvidia-smi --query-gpu=power.limit --format=csv returns
320 ${cmd}= Catenate nvidia-smi --query-gpu=power.limit
332 # nvidia-smi --query-gpu=power.draw --format=csv returns
339 ${cmd}= Catenate nvidia-smi --query-gpu=power.draw
349 ${cmd}= Catenate nvidia-smi --query-gpu=power.draw --format=csv |
373 ${cmd}= Catenate nvidia-smi --query-gpu=temperature.gpu
374 ... --format=csv | grep -v 'temperature.gpu' | sort -n -u | head -1
382 # nvidia-smi --query-gpu=temperature.gpu --format=csv returns
388 ${cmd}= Catenate nvidia-smi --query-gpu=temperature.gpu
421 # nvidia-smi --query-gpu=clocks.max.gr --format=csv returns
[all …]

123456