Distro and Kernel compatibility
1: Unhandled linux distributions
DRM_VER will only be defined for a hardcoded selection of OS names.
For an OS name is not in that selection the dkms compilation will fail, i.e. the OS_NAME = "unknown" case.
However, by providing a default (e.g. in a final else condition of the dkms Makefile) would solve this for most linux distributions. A suggestion for this change is in #95 commit 8d62d90
The default would just be the same case as under some other OS names. Assuming that $(kdir) is defined and that it contains a Makefile with VERSION and PATCHLEVEL
2: 5.7+ Kernel
The above suggested change (see #95 ) allows successful dkms compile with 4.19 and 5.6 but not 5.7 Because pci_platform_rom was removed in 5.7
So I would like to request that the upstream changes for 5.7, i.e. the linked commit, would be merged into ROCk. As in #95 commit 3630276
Relevant issues and pull requests:
- #95
- #65 ( & 641 in ROCm) Unhandled OS names
- #90
- 244 in rocm-arch