| /openbmc/dbus-sensors/src/tests/ |
| H A D | test_NvidiaGpuSensorTest.cpp | 183 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 D | Inventory.cpp | 39 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 D | Inventory.hpp | 26 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 D | NvidiaGpuPowerPeakReading.cpp | 84 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 D | NvidiaGpuPowerSensor.cpp | 102 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 D | NvidiaDeviceDiscovery.cpp | 68 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 D | NvidiaGpuVoltageSensor.cpp | 100 gpu::decodeGetVoltageResponse(buffer, cc, reasonCode, voltageValue); in processResponse() 117 auto rc = gpu::encodeGetVoltageRequest(0, sensorId, request); in update()
|
| H A D | NvidiaGpuEnergySensor.cpp | 99 auto rc = gpu::decodeGetCurrentEnergyCounterResponse(buffer, cc, reasonCode, in processResponse() 118 auto rc = gpu::encodeGetCurrentEnergyCounterRequest(0, sensorId, request); in update()
|
| H A D | NvidiaPcieInterface.cpp | 120 auto rc = gpu::decodeQueryScalarGroupTelemetryV2Response( in processResponse() 162 gpu::encodeQueryScalarGroupTelemetryV2Request(0, {}, 0, 0, 1, request); in update()
|
| /openbmc/qemu/docs/system/devices/ |
| H A D | virtio-gpu.rst | 4 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 D | spl.c | 179 .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 D | evm.c | 393 .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 D | meson.build | 2 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 D | 50-qemu-gpu.json.in | 2 "description": "QEMU vhost-user-gpu", 3 "type": "gpu", 4 "binary": "@libexecdir@/vhost-user-gpu"
|
| /openbmc/u-boot/board/ti/am57xx/ |
| H A D | board.c | 341 .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 D | meson.build | 70 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 D | vhost-user.json | 29 # @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 D | framebuf.conf | 2 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 D | nvidia-gb200-obmc-phosphor-image.inc | 10 OBMC_IMAGE_EXTRA_INSTALL:append:nv-gpu-pcie-card = "\ 11 gpu-card-init \
|
| /openbmc/openbmc/poky/meta/recipes-graphics/igt-gpu-tools/ |
| H A D | igt-gpu-tools_1.30.bb | 3 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 D | dbus-sensors_git.bb | 42 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 D | dbus-sensors_%.bbappend | 2 nvidia-gpu \
|
| /openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/conf/machine/include/ |
| H A D | nvidia-pcie-gpu-card.inc | 1 MACHINEOVERRIDES =. "nv-gpu-pcie-card:"
|
| /openbmc/openbmc/meta-nvidia/recipes-phosphor/platform/ |
| H A D | platform-init_%.bbappend | 1 EXTRA_OEMESON:append:nv-gpu-pcie-card = " -Dplatform-name=nvidia-gb200-with-p2020"
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | os_utilities.robot | 313 # 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 …]
|