- Notifications
You must be signed in to change notification settings - Fork113
Commit11d35db
Perry Yuan
Alexandru Tudor
drm/amdkcl: fix suballoc helper availability for distro kernels
Some distribution kernels include drm/drm_suballoc.h header but haveCONFIG_DRM_SUBALLOC_HELPER disabled. This causes build failures as thesuballoc symbols are unavailable from the main DRM subsystem.Move the #endif directive for HAVE_DRM_DRM_SUBALLOC_H to properly exposeKCL suballoc fallback implementations when the main DRM suballoc helperis not available. This ensures amdgpu can use kcl_drm_suballoc functionsas fallback and resolves DKMS build failures on such configurations.Signed-off-by: Perry Yuan <perry.yuan@amd.com>Reviewed-by: Bob Zhou <Bob.Zhou@amd.com>(cherry picked from commit f72c0179d8407660cdbfb3af96723d1b477d09ed)Change-Id: I67fd4b4ba50674791d1e07dd7fc1a900886af2531 parent6ff5abe commit11d35db
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
123 | 123 | | |
124 | 124 | | |
0 commit comments
Comments
(0)