Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
8c86003220
Common: introduces FF_LIBRARY_LOAD_MESSAGE to simplify library-loading
2026-01-05 17:54:41 +08:00
Carter Li
241aa3a02c
GPU (Linux): silences a strict-aliasing warning
...
Fixes #2106
2025-12-22 10:28:56 +08:00
Carter Li
cb1f0300b9
GPU (Linux): add comments
2025-12-11 09:52:50 +08:00
李通洲
2738f20eea
GPU (Linux): detect driver specific info for zhaoxin
2025-11-28 03:06:23 +00:00
李通洲
1b5b32afad
GPU (macOS): fixes a comment [ci skip]
2025-11-17 08:59:39 +08:00
apocelipes
934905e63a
GPU: silence unused parameter warnings
2025-11-16 08:28:28 +08:00
李通洲
578ca23e75
GPU (Hurd): adds support (requires libpciaccess)
2025-11-01 09:57:52 +00:00
李通洲
2e73a90835
GPU (OpenBSD): adds native GPU detection support
2025-11-01 17:23:59 +08:00
李通洲
cc6273fecc
GPU (NetBSD): don't use system function name
2025-11-01 17:19:25 +08:00
李通洲
907567f511
GPU (NetBSD): improves performance; drops libpciaccess dependency
2025-11-01 16:42:19 +08:00
李通洲
04d6b1453d
GPU (NetBSD): adds native GPU detection support
2025-10-31 11:04:18 +08:00
Carter Li
11d1754686
GPU: skips auxiliary display controllers
...
Fixes #2034
2025-10-30 14:46:30 +08:00
Carter Li
25e84decff
GPU: unifies non-pci GPU device ID formatting across platforms
2025-10-30 11:01:06 +08:00
Carter Li
7d665b203f
GPU: unifies GPU PCI device ID calculation logic across different platforms
2025-10-30 10:26:35 +08:00
Carter Li
9f5046d69f
CPU/GPU (Linux): Improves CPU/GPU temp detection accuracy on Linux/Android
2025-08-28 18:58:00 +08:00
李通洲
ebf810ad4b
GPU (Android): adds GPU temp detection support
2025-08-28 14:29:00 +08:00
李通洲
8589bf2392
Chore: silence compiler warnings
2025-08-23 15:31:42 +08:00
李通洲
8331242f42
GPU (BSD): fallbacks to pciids/pci.ids
2025-08-21 10:54:34 +08:00
Carter Li
24467e8c46
GPU (BSD): always use pci.ids provided by hwdata
...
Fixes #1924
2025-08-21 09:23:01 +08:00
李通洲
26253f8863
GPU (Windows): improves GPU detection by refining device filtering
2025-08-19 19:03:55 +08:00
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +08:00
李通洲
7446828866
GPU (macOS): don't set platformApi to Metal when Metal API is not used
2025-08-14 08:34:56 +08:00
李通洲
0b37acec5b
GPU (Windows): ignore software adapters; add verbose logs
2025-08-14 01:07:39 +08:00
李通洲
f184f8dab5
GPU (FreeBSD): fix gpu driver detection when DRM is used
2025-08-10 08:48:00 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
5bb6e22679
GPU (Intel): read render engine temperature only
2025-07-29 14:23:56 +08:00
李通洲
d1f20822f1
GPU (macOS): silence compiler warnings
2025-07-28 15:39:35 +08:00
Carter Li
847b76b863
GPU (Linux): add GPU temp detection for nouveau driver
2025-07-19 18:17:28 +08:00
Carter Li
5c0ad030cc
GPU (Linux): support advanced detection for nouveau driver
2025-07-19 16:47:42 +08:00
Carter Li
a734f18fd5
Chore (Linux): silience compiler warnings
2025-07-15 23:33:26 +08:00
李通洲
eae69049b2
GPU (Windows): more method to detect device name
2025-07-13 01:39:38 +08:00
李通洲
102e8fcc72
GPU (Windows): detect GPU frequency by default
...
Supported on Windows 11 only
2025-07-13 01:16:46 +08:00
李通洲
8372708f98
GPU (Intel): prefer matching GPU with bus id
2025-07-13 01:16:46 +08:00
李通洲
382c0cd7c3
GPU (Windows): ignore invalid temps
2025-07-12 15:16:36 +08:00
李通洲
ab496b23b7
GPU (Windows): greatly improve performance of GPU temp detection
...
... when `--gpu-driver-specific` is not set. Supported on Windows 10 and later
2025-07-12 01:26:33 +08:00
李通洲
442d58b646
Revert "GPU (macOS): update how integrated GPUs are detected"
...
This reverts commit 5381395c54 .
2025-07-10 16:16:45 +08:00
李通洲
b178e43428
GPU (Windows): use nvapi to detect GPU type
2025-07-09 00:28:16 +08:00
李通洲
d00fca26c5
GPU (Windows): clean up
2025-07-09 00:08:13 +08:00
李通洲
6871c8bb73
GPU (Windows): fix Win7 compatibility
2025-07-07 22:34:04 +08:00
李通洲
61adc7cf64
GPU (Windows): new method to detect device type
2025-07-07 22:03:30 +08:00
李通洲
9ba30adcba
GPU (Windows): add driver version fall back
2025-07-06 18:23:14 +08:00
李通洲
2029679ea5
GPU (Windows): use CMAPI instead of SetupAPI
...
Improve performance
2025-07-06 17:04:31 +08:00
李通洲
9832a0e45b
GPU (FreeBSD): fix compiling when libdrm is not available
...
Fix #1820
2025-06-26 21:34:34 +08:00
李通洲
863c5583ef
GPU (OpenBSD): fix pci.ids file location
...
Fix #1819
Signed-off-by: kevlo <kevlo@openbsd.org >
2025-06-25 13:45:49 +08:00
Carter Li
8ebc980c17
GPU (SunOS): simplify
2025-06-22 11:20:19 +08:00
Carter Li
ca049997b1
GPU (SunOS): rework GPU detection
2025-06-21 23:22:37 +08:00
李通洲
b079a8643b
Chore: code cleanups
2025-06-19 22:41:30 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00