DragonFlyBSD Kernel Audit
DF-1177 / env.txt
← back to finding ↓ download raw
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
cc 8.3 [DragonFly] Release/2019-02-22

--- amdgpu availability ---
/boot/kernel/amdgpu.ko    (loadable module; cannot initialise without AMD GPU hardware, absent on guest)

--- module-build validation of patched gfx_v9_0.c ---
cd /usr/src/sys/dev/drm/amd/amdgpu && make
  -> cc -Werror ... -c gfx_v9_0.c        [patched file compiles cleanly]
  -> gfx_v9_0.o produced (100528 bytes)
Full amdgpu.ko link step fails on UNRELATED pre-existing issue:
  /usr/libexec/binutils234/elf/ld.gold: error: color_gamma.o: file is empty
  (display/dc/color_gamma.c, not our patch)
Source then reverted (patch -p1 -R).

--- cp_table BO size (verified from gfx_v9_0.c:1178) ---
ALIGN(96 * 5 * 4, 2048) + (64 * 1024) = 2048 + 65536 = 67584 bytes = 16896 u32 dwords