Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703852 - genkernel-4: Default kernel config is missing bits to support AMD APUs
Summary: genkernel-4: Default kernel config is missing bits to support AMD APUs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 15:27 UTC by Patrick Lauer
Modified: 2020-01-14 01:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2019-12-26 15:27:04 UTC
Tested with a 'Picasso' class "AMD Athlon 3000G with Radeon Vega Graphics"

To make everything work well these bits are needed:

> CONFIG_AMD_IOMMU_V2=y
> CONFIG_HSA_AMD=y

(result, in dmesg:
[    7.906555] kfd kfd: Allocated 3969056 bytes on gart
[    7.907181] Topology: Add APU node [0x15d8:0x1002]
[    7.907183] kfd kfd: added device 1002:15d8
)

optionally:
> CONFIG_DRM_AMDGPU_SI=y
> CONFIG_DRM_AMDGPU_CIK=y
Comment 1 Larry the Git Cow gentoo-dev 2020-01-14 01:36:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=357359c1b94f553bb6f5cc1051c480910fccd9d9

commit 357359c1b94f553bb6f5cc1051c480910fccd9d9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-01-13 22:25:30 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-01-13 23:36:56 +0000

    kernel configs: change to general purpose kernel for daily usage
    
    This commit will update and modernize genkernel's generic kernel
    configuration. The new configuration will create a general purpose
    kernel suitable for daily usage.
    
    Closes: https://bugs.gentoo.org/703844
    Closes: https://bugs.gentoo.org/703846
    Closes: https://bugs.gentoo.org/703848
    Closes: https://bugs.gentoo.org/703850
    Closes: https://bugs.gentoo.org/703852
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 arch/alpha/arch-config         |   11 -
 arch/arm64/arch-config         |   39 -
 arch/ppc/arch-config           |    2 -
 arch/x86/arch-config           |  519 +++-
 arch/x86_64/arch-config        |  480 ++-
 defaults/kernel-generic-config | 6460 +++++++++++++++++++++++++++++-----------
 6 files changed, 5536 insertions(+), 1975 deletions(-)