Package Details: linux-amd-staging-drm-next-git 5.7.904365.5ca28f3f536f0-1

Git Clone URL: https://aur.archlinux.org/linux-amd-staging-drm-next-git.git (read-only, click to copy)
Package Base: linux-amd-staging-drm-next-git
Description: The Linux kernel with AMDGPU DC patches kernel and modules
Upstream URL: https://cgit.freedesktop.org/~agd5f/linux/
Keywords: amd amdgpu dal dc radeon vega
Licenses: GPL2
Provides: VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: yurikoles
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 24
Popularity: 1.68
First Submitted: 2017-08-24 18:09
Last Updated: 2020-04-15 08:51

Required by (5)

Sources (2)

Pinned Comments

yurikoles commented on 2017-09-25 18:29

Pull-requests are welcome: https://github.com/yurikoles/linux-amd-staging-drm-next-git

Please report bugs upstream: https://bugs.freedesktop.org/ or amd-gfx mailing list.

Please make sure that build output is not localized by adding LC_ALL=C in front of command that you use to build a kernel, e.g. LC_ALL=C makepkgs -si

Latest Comments

1 2 3 4 5 6 ... Next › Last »

chrhasse commented on 2020-05-27 04:16

I was finally able to find the issue about the black screen/kernel hang with GCC 10. It's right here and the fix can be found here. I also found the actual issue for the compilation failure I was experiencing here and the fix for it here.

Adding both the commits as patches to my PKGBUILD results in a working kernel compiled with gcc 10.1.0. I'm not sure if you're interested in including them in this repo @yurikoles, or if we should let Alex Deucher know these commits fix our builds and hope he's able to merge them fairly quickly.

Bednar commented on 2020-05-24 10:52

@chrhasse,

I am experiencing the exact same issue. Build fails with the same error and re-compiling with your patch results in a blackscreen.

gardotd426 commented on 2020-05-19 19:45

I'm actually getting a completely different error:


/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]:  [scripts/Makefile.host:116: scripts/dtc/dtc] Error 1
  CC       /tmp/makepkg/linux-amd-git/src/linux-amd-git/tools/objtool/sigchain.o
make:  [Makefile:1260: scripts_dtc] Error 2

gardotd426 commented on 2020-05-19 19:23

@chrhasse I've heard that there was an issue with black screens on boot upstream but that it was patched, I guess the issue hasn't been fixed in the agd5f repo. I don't know what patch fixed it, you'll have to wait until they merge the patch I guess. Or contact Alex at AMD and ask him about it. I think it's AlexDeucher@amd.com. He's the main AMD Linux dev, and agd5f is his handle on gitlab and other places. So he would be the person to talk to. But yeah I'm pretty sure this is a bug, not anything wrong with your setup.

chrhasse commented on 2020-05-19 07:21

Is anyone else experiencing build failures with GCC 10.1? I'm getting

arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function ‘__kvm_gfn_to_hva_cache_init’:
arch/x86/kvm/../../../virt/kvm/kvm_main.c:2236:42: error: ‘nr_pages_avail’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2236 |  for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) {
      |                                ~~~~~~~~~~^~~~~~~~~~~~~~~~~

and I can solve that error and get it to compile with the patch

diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 70f03ce0e5c1..dc8a67ad082d 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -2219,7 +2219,7 @@ static int __kvm_gfn_to_hva_cache_init(struct kvm_memslots *slots,
    gfn_t start_gfn = gpa >> PAGE_SHIFT;
    gfn_t end_gfn = (gpa + len - 1) >> PAGE_SHIFT;
    gfn_t nr_pages_needed = end_gfn - start_gfn + 1;
-   gfn_t nr_pages_avail;
+   gfn_t nr_pages_avail = 0;

    /* Update ghc->generation before performing any error checks. */
    ghc->generation = slots->generation;

but even though it builds with that patch, I get a black screen on boot.

yurikoles commented on 2020-04-15 09:09

The build is fixed

EnSER commented on 2020-04-15 06:14

This has already been patched in the regular kernel: https://git.archlinux.org/svntogit/packages.git/tree/trunk/sphinx-workaround.patch?h=packages/linux&id=08a7fa88eaa91ef8b0e1f71b496d4097c3702e8d @yurikoles Could you pick that up?

gardotd426 commented on 2020-04-14 23:18

What's going on with the sphinx nonsense? Do we just have to wait for whether they decide to fix it or not before this will work? Because he closed the issue, and it sounded like they're going to allow alternative implementations, but not fix what's broken.

EnSER commented on 2020-04-07 07:08

The build is failing for me at the moment with: Extension error: Could not import extension cdomain (exception: cannot import name 'c_funcptr_sig_re' from 'sphinx.domains.c' (/usr/lib/python3.8/site-packages/sphinx/domains/c.py))

This points to this bug: https://github.com/sphinx-doc/sphinx/issues/7421

Not sure if the mentioned workaround would make sense at the moment or not: https://github.com/sphinx-doc/sphinx/issues/7421#issuecomment-609809210

yurikoles commented on 2020-02-03 19:03

According to site (https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next) the latest commit was 4 days ago, it seems like they just had forgot to merge/rebase on top of linus repo. I do magic of patch + 1 because of this tags mess, but as for now I think it worth to do a +2.

Regardless of number reported by uname this package has fresh material, e.g. 4 days old. I do infrequent rebases on top of linux-mainline package, but they are often not required, since it just works. Feel free to re-build this package as often as you want to pull new commits.