MCPcopy Create free account
hub / github.com/actuallyaridan/linux-devmgmt / libdrmPath

Function libdrmPath

src/scanner/SysfsScanner.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34QString libdrmPath(const QString &filename) {
35 QByteArray dir = qgetenv("LIBDRM_DIR");
36 if (!dir.isEmpty())
37 return QString::fromUtf8(dir) + "/" + filename;
38 return QStringLiteral("/usr/share/libdrm/") + filename;
39}
40
41QString kernelRelease() {
42 return QSysInfo::kernelVersion();

Callers 1

loadAmdgpuIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected