tests/amdgpu/amd_fuzzing_sysfs: use local include for amdgpu_drm.h
PATCH 1/1 tests/amdgpu/amd_fuzzing_sysfs: use local include for amdgpu_drm.h
From: Vitaly Prosyak <[email protected]>
The file amd_fuzzing_sysfs.c uses #include <drm/amdgpu_drm.h> which requires the system package libdrm-amdgpu-dev to be installed. This breaks the build on machines (e.g., Intel-only CI) that lack that package.
All other amdgpu test files already use #include amdgpu_drm.h which resolves via the project-local include/drm-uapi/ directory that is already in the build include paths (-I../include/drm-uapi).
Switch to the quoted include to be consistent with the rest of the amdgpu tests and remove the external dependency.
--- tests/amdgpu/amd_fuzzing_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/amdgpu/amd_fuzzing_sysfs.c +1 -1
@@ -29,7 +29,7 @@#include "igt.h" #include "igt_sysfs.h" #include <amdgpu.h> -#include <drm/amdgpu_drm.h> +#include "amdgpu_drm.h" #include "amd_sysfs_spec.h" #define AMDGPU_SYSFS_BASE "/sys/class/drm"
Signature · 1 line
2.54.0
AMD General
This looks good.
Michael
________________________________
From: [email protected] <[email protected]>
Sent: 08 May 2026 4:15 PM
To: [email protected] <[email protected]>
Cc: Prosyak, Vitaly <[email protected]>; Strawbridge, Michael <[email protected]>
Subject: [PATCH] tests/amdgpu/amd_fuzzing_sysfs: use local include for amdgpu_drm.h
From: Vitaly Prosyak <[email protected]>
The file amd_fuzzing_sysfs.c uses #include <drm/amdgpu_drm.h> which requires the system package libdrm-amdgpu-dev to be installed. This breaks the build on machines (e.g., Intel-only CI) that lack that package.
All other amdgpu test files already use #include amdgpu_drm.h which resolves via the project-local include/drm-uapi/ directory that is already in the build include paths (-I../include/drm-uapi).
Switch to the quoted include to be consistent with the rest of the amdgpu tests and remove the external dependency.
--- tests/amdgpu/amd_fuzzing_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/amdgpu/amd_fuzzing_sysfs.c +1 -1
@@ -29,7 +29,7 @@#include "igt.h" #include "igt_sysfs.h" #include <amdgpu.h> -#include <drm/amdgpu_drm.h> +#include "amdgpu_drm.h" #include "amd_sysfs_spec.h" #define AMDGPU_SYSFS_BASE "/sys/class/drm"
--
2.54.0
Patchwork
CI✗ Fi.CI.BAT: failure for tests/amdgpu/amd_fuzzing_sysfs: use local include for amdgpu_drm.h
In reply to [email protected]== Series Details ==
== Series Details ==
Series: tests/amdgpu/amd_fuzzing_sysfs: use local include for amdgpu_drm.h
URL : https://patchwork.freedesktop.org/series/166241/
State : failure
== Summary ==
Series 166241 revision 1 was fully merged or fully failed: no git log