On Fri, 25 Jun 2021 22:04:07 +0200 (CEST) Mark Kettenis <[email protected]> wrote:
> > Date: Fri, 25 Jun 2021 21:41:38 +0200 > > From: Mickael Torres <[email protected]> > > > > On Fri, 25 Jun 2021 18:26:31 +0200 (CEST) > > Mark Kettenis <[email protected]> wrote: > > > > > > Date: Fri, 25 Jun 2021 16:13:27 +0000 > > > > From: "Mickael Torres" <[email protected]> > > > > > > > > Hello, > > > > > > > > This enables radeondrm/amdgpu and wsconsole/kbd/mouse on risc-v. > > > > This was tested with a radeondrm "7:0:0: ATI Radeon HD 7450" > > > > (see dmesg at the end), I'll try to test amdgpu with an RX550 > > > > during the week end. > > > > > > > > X doesn't start because of undefined symbols in > > > > modesetting_drv.so (see below), but I didn't take a look yet. > > > > > > Hi Mickael, > > > > > > Cool. Will take a proper look at this later. Some of your fixes > > > overlap with changes that we already have pending but aren't > > > committed yet. But there are some good fixes in here. > > > > > > There is a small problem though. Your e-mail client seems to > > > replace tabs with spaces, which means your patches don't apply. > > > You may be able to fix that in your e-mail client. As a last > > > resort you could include your diffs *both* inline and as an > > > attachment. > > > > > > Cheers, > > > > > > Mark > > > > > > > Hi Mark, > > > > Here is a new version of the diff, based on an up-to-date tree, and > > (hopefully) with tabs as tabs. > > > > Best, > > Mickael > > Hi Mickael, > > It has tabs now, but this version has wrapped lines :(. Modern e-mail > clients try very hard to corrupt diffs unfortunately. > > Meanwhile I did commit your dwpcie(4) fix, and matthieu@ has committed > his version of the diff. He only added radeondrm(4) for now, so a > diff (and tests) for amdgpu(4) is still welcome. > > Apparently X works now, although you need an ld.so diff that hasn't > been committed yet. But that should be fixed soon. > > Thanks, > > Mark > Hello, I can confirm that X works in a build from today with radeondrm and an "ATI Radeon HD 7450", thanks! I've started playing with an RX550 and amdgpu, but I didn't get past: "can't reserve framebuffer space" at attach. The card is also not detected by the linux that comes with the board, nor by pci enum in u-boot. Looks like the pci-pci bridge is not configured correctly when this card is plugged in. I'm going to try to update the boot SD card, I don't think that I'm on the latest version, and see if it improves anything. This RX550 works in my main PC (amd64) and is detected as: amdgpu0: POLARIS12 8 CU rev 0x00 Best, Mickael
