| /openbmc/dbus-sensors/src/tests/ |
| H A D | test_NvidiaGpuSensorTest.cpp | 186 int result = gpu::packHeader(hdr, msg); in TEST_F() 189 EXPECT_EQ(msg.pci_vendor_id, htobe16(gpu::nvidiaPciVendorId)); in TEST_F() 206 int result = gpu::encodeQueryDeviceIdentificationRequest(instanceId, buf); in TEST_F() 210 gpu::QueryDeviceIdentificationRequest request{}; in TEST_F() 214 htobe16(gpu::nvidiaPciVendorId)); in TEST_F() 223 static_cast<uint8_t>(gpu::DeviceCapabilityDiscoveryCommands:: in TEST_F() 232 std::vector<uint8_t> buf(sizeof(gpu::QueryDeviceIdentificationResponse)); in TEST_F() 234 gpu::QueryDeviceIdentificationResponse response{}; in TEST_F() 240 static_cast<uint8_t>(gpu::MessageType::DEVICE_CAPABILITY_DISCOVERY); in TEST_F() 242 gpu::packHeader(headerInfo, response.hdr.msgHdr.hdr); in TEST_F() [all …]
|
| /openbmc/dbus-sensors/src/nvidia-gpu/ |
| H A D | Inventory.cpp | 40 const gpu::DeviceIdentification deviceTypeIn, const uint8_t eid, in Inventory() 50 registerProperty(gpu::InventoryPropertyId::SERIAL_NUMBER, assetIface, in Inventory() 52 registerProperty(gpu::InventoryPropertyId::BOARD_PART_NUMBER, assetIface, in Inventory() 54 registerProperty(gpu::InventoryPropertyId::MARKETING_NAME, assetIface, in Inventory() 59 registerProperty(gpu::InventoryPropertyId::DEVICE_GUID, uuidInterface, in Inventory() 64 registerProperty(gpu::InventoryPropertyId::DEVICE_PART_NUMBER, in Inventory() 69 if (deviceType == gpu::DeviceIdentification::DEVICE_GPU) in Inventory() 83 properties[gpu::InventoryPropertyId::DEFAULT_BOOST_CLOCKS] = { in registerProperty() 94 gpu::InventoryPropertyId propertyId, in processInventoryProperty() 105 void Inventory::processInventoryProperty(gpu 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 | NvidiaPcieDevice.cpp | 89 const int rc = gpu::encodeListPciePortsRequest(0, getPciePortCountsRequest); in getPciePortCounts() 127 const int rc = gpu::decodeListPciePortsResponse( in processPciePortCountsResponse() 148 const int rc = gpu::encodeGetPortNetworkAddressesRequest( in getNetworkPortAddresses() 189 gpu::NetworkPortLinkType linkType = gpu::NetworkPortLinkType::UNKNOWN; in processGetNetworkPortAddressesResponse() 192 const int rc = gpu::decodeGetPortNetworkAddressesResponse( in processGetNetworkPortAddressesResponse() 204 if (linkType == gpu::NetworkPortLinkType::ETHERNET) in processGetNetworkPortAddressesResponse() 235 gpu::PciePortType::UPSTREAM, i, i, objectServer)); in makeSensors() 239 gpu::PciePortType::UPSTREAM, i, i, objectServer)); in makeSensors() 243 gpu::PciePortType::UPSTREAM, i, i, objectServer)); in makeSensors() 247 gpu::PciePortType::UPSTREAM, i, i, objectServer)); in makeSensors() [all …]
|
| H A D | NvidiaPciePortMetrics.hpp | 36 gpu::PciePortType portType, uint8_t upstreamPortNumber, 53 gpu::PciePortType portType; 67 std::array<uint8_t, sizeof(gpu::QueryScalarGroupTelemetryV2Request)> 89 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, 96 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, 103 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber,
|
| H A D | NvidiaPciePort.hpp | 29 gpu::PciePortType portType, uint8_t upstreamPortNumber, 44 gpu::PciePortType portType; 56 std::array<uint8_t, sizeof(gpu::QueryScalarGroupTelemetryV2Request)>
|
| H A D | NvidiaPciePortMetrics.cpp | 42 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, in NvidiaPciePortMetrics() 114 int rc = gpu::decodeQueryScalarGroupTelemetryV2Response( in processResponse() 140 auto rc = gpu::encodeQueryScalarGroupTelemetryV2Request( in update() 170 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, in makeNvidiaPciePortErrors() 191 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, in makeNvidiaPciePortCounters() 212 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, in makeNvidiaPciePortL0ToRecoveryCount()
|
| H A D | NvidiaPciePort.cpp | 40 gpu::PciePortType portType, uint8_t upstreamPortNumber, uint8_t portNumber, in NvidiaPciePortInfo() 54 if (portType == gpu::PciePortType::UPSTREAM) in NvidiaPciePortInfo() 141 const int rc = gpu::decodeQueryScalarGroupTelemetryV2Response( in processResponse() 173 auto rc = gpu::encodeQueryScalarGroupTelemetryV2Request( in update()
|
| 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 | NvidiaDriverInformation.cpp | 80 gpu::DriverState driverState{}; in processResponse() 83 const int rc = gpu::decodeGetDriverInformationResponse( in processResponse() 100 const int rc = gpu::encodeGetDriverInformationRequest(0, request); in update()
|
| H A D | NvidiaGpuPowerSensor.cpp | 48 const gpu::DeviceIdentification deviceType) : in NvidiaGpuPowerSensor() 128 gpu::decodeGetPowerDrawResponse(buffer, cc, reasonCode, power); in update() 146 const int rc = gpu::encodeGetPowerDrawRequest( 147 gpu::PlatformEnvironmentalCommands::GET_CURRENT_POWER_DRAW, 0, sensorId,
|
| 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()
|
| /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/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"
|