Re: radeon, amdgpu improvements for aarch64

2023-12-28 Thread Tobias Nygren
On Thu, 28 Dec 2023 14:51:35 +0100 Tobias Nygren wrote: > On Thu, 28 Dec 2023 00:19:44 + > Taylor R Campbell wrote: > > > > +#ifdef _LP64 > > > + if (eaddr < (1UL<<40)) { > > > Just to confirm: eaddr is inclusive here, right? As in, if the range > > were [0x1, 0x2), we would have

Re: radeon, amdgpu improvements for aarch64

2023-12-28 Thread Tobias Nygren
On Thu, 28 Dec 2023 00:19:44 + Taylor R Campbell wrote: > > +#ifdef _LP64 > > + if (eaddr < (1UL<<40)) { > Just to confirm: eaddr is inclusive here, right? As in, if the range > were [0x1, 0x2), we would have saddr=0x1 eaddr=0x1 (or > maybe eaddr=0x1f000), right? The end

Re: radeon, amdgpu improvements for aarch64

2023-12-27 Thread Taylor R Campbell
> Date: Thu, 28 Dec 2023 01:02:08 +0100 > From: Tobias Nygren > > I've spent some time testing GPUs on aarch64 and fixing bugs. > Attached are some patches to make things more usable. Cool, thanks! Some notes below. Everything else seems fine. > [2] /libdata/firmware/amdgpu is not shipped. >

radeon, amdgpu improvements for aarch64

2023-12-27 Thread Tobias Nygren
Hi, I've spent some time testing GPUs on aarch64 and fixing bugs. Attached are some patches to make things more usable. I would like to commit these or get feedback on if changes should be implemented differently. Since I touched things in both MD code and UVM, review would be appreciated. First