Would it be possible to have the amdgpu kernel module included in Linux-EOS-Arm ?
I’m still stuck on a rc version as the Linux-eos-arm does not have the amdgpu kernel module.
The device is a D2000 (Phytium), it has full uefi+acpi, using systemd-boot
I think I already told you my opinion on this on IRC matrix bridge.
You need to build the kernel with the amdgpu options enable using the pkgbuild.
The main purpose of linux-eos-arm is to support pinebook-pro. I’m not sure how adding amd-gpu module will effect the performance of pinebook-pro.
I haven’t done testing or know enough about this issue.
I’ll let other devs including @Pudge chime in about this too see how to go about it.
The PineBookPro would not be affected as long as the amdgpu module is a module and not built in, other than some additional storage space, maybe a linux-eos-generic-arm ?
sudo pacman -U *
loading packages…
resolving dependencies…
looking for conflicting packages…
:: linux-eos-arm and linux-aarch64-rc are in conflict (linux). Remove linux-aarch64-rc? [y/N] y
I probably didn’t add the module correctly or the mkinitcpio hook is wrong.
I’m not sure on how to add the module to the kernel. (I’m still learning about the various kernel stuff)
Seems like the following lines would be needed for the config file;
CONFIG_PINCTRL_AMD=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_AMD_ACP=y
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_HDCP=y
CONFIG_HSA_AMD=y
CONFIG_SND_SOC_AMD_ACP=m
CONFIG_SND_AMD_ACP_CONFIG=y
Edit:
Also can you post the output of /etc/mkinitcpio.conf?
Do you have amdgpu in MODULES=()?
Edit2:
Never mind adding amdgpu to the mkinitcpio.conf is making it fail.
So the module isn’t added properly
I’m building again with a modified config. Lets see how it goes.
I’m just adding these 4 lines