Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2020-01-02 Thread Yusuf Altıparmak
Hello Christian, I solved this problem weeks ago. The problem was, the system I use could only give 256 MB address range but GPU was demanding more. Even if I give 4 GB, PCIe slot is only having 256 MB, nothing more. I put a empty area that is between PCIe2 ( GPU was connected to this) and PCIe3

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-03 Thread Christian König
Right now I am trying to increase MMIO size config to 512 MB What you could try as well is to use the size 320MB for the MMIO. Those ranges usually don't need to be a power of two (only the BARs itself are a power of two) and this way it might even be easier to fit everything together. By

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-03 Thread Yusuf Altıparmak
Hi Christian, > 0001f000 > > Exactly as I thought. The hardware does support BAR resize, but > unfortunately 256MB is already the minimum. > > Sorry, but there isn't anything I could do from the GPU drivers point of > view. > Yes unfortunately there is nothing remained to about GPU side. The

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-03 Thread Christian König
Hi Yusuf, 0001f000 Exactly as I thought. The hardware does support BAR resize, but unfortunately 256MB is already the minimum. Sorry, but there isn't anything I could do from the GPU drivers point of view. The only good news I have is that 256M+2M+512K+128K=260M address space should be

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-03 Thread Yusuf Altıparmak
Hello Christian, My "setpci -s 0001:01:00.0 ECAP15+4.l ECAP15+8.l" output is; 0001f000 0820 Regards. Yusuf Altıparmak , 2 Ara 2019 Pzt, 19:31 tarihinde şunu yazdı: > Most likely not. There is support for resizing the VRAM BAR, but usually >> you can only make it larger and not smaller.

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Yusuf Altıparmak
> > Most likely not. There is support for resizing the VRAM BAR, but usually > you can only make it larger and not smaller. > Please give me the output of "sudo setpci -s 0001:01:00.0 ECAP15+4.l > ECAP15+8.l" if you want to double check that. > Okay I'll try it tomorrow. What does the " sudo

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Christian König
Hi Yusuf, Am 02.12.19 um 15:20 schrieb Yusuf Altıparmak: That is an expected result. 256MB is not enough for the VRAM BAR and the doorbell BAR to fit into. But you can still use VGA emulation that way if I'm not completely mistaken. Hmm, then what procedure should I follow to

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Yusuf Altıparmak
> That is an expected result. 256MB is not enough for the VRAM BAR and the > doorbell BAR to fit into. But you can still use VGA emulation that way if > I'm not completely mistaken. > Hmm, then what procedure should I follow to take a VGA output. It seems Graphic Card does not have a VGA output.

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Christian König
Hi Yusuf, At first, I am using NXP T1042D4RDB-64B which has 256 MB PCIe buffer according to its. PCIe memory range was arranged to 256 MB in .dts file and in U-boot configuration file. Driver was giving error with exit code -12 (OUT_OF_MEMORY). But I was able to reach the linux console.

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Yusuf Altıparmak
> > > I attached my dts file. > > System is working fine when GPU is not plugged in. > > *This is the last console log before freeze:* > [drm] amdgpu kernel modesetting enabled. > > [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 > 0x1787:0x2389 0x80). > [drm] register mmio base:

Re: [error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Christian König
Hi Yusuf, Am 02.12.19 um 12:41 schrieb Yusuf Altıparmak: My embedded board is freezing when I put E9171 on PCIe. What is the meaning of Unrecoverable Machine Check error about GPU? Well see the explanation on Wikipedia for example: https://en.wikipedia.org/wiki/Machine-check_exception In

[error] Drm -> amdgpu Unrecoverable Machine Check

2019-12-02 Thread Yusuf Altıparmak
My embedded board is freezing when I put E9171 on PCIe. What is the meaning of Unrecoverable Machine Check error about GPU? Could PCIe settings in .dts file cause this problem? If it is, is there any sample PCIe configuration for E9171? I attached my dts file. System is working fine when GPU is