Package Base Details: linux-amd-staging-drm-next-git

Git Clone URL: (read-only, click to copy)
Keywords: amd amdgpu dal dc radeon vega
Submitter: yurikoles
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 25
Popularity: 0.024721
First Submitted: 2017-08-24 18:09
Last Updated: 2021-01-13 20:45

Pinned Comments

yurikoles commented on 2017-09-25 18:29

Pull requests are welcome on github.

Please report bugs on upstream GitLab.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

yurikoles commented on 2020-06-10 04:36

Currently broken, upstream ticket.

yurikoles commented on 2020-06-02 07:14

Hi @chrhasse,

Thanks for research! I had added patched you mentioned, it works for me now.

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


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/ 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/ 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 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: @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.