Bisection status report:

The latest commit I have gotten to work is

10842ba074e9 drm/nouveau: remove unused nouveau_fence_work()

i.e. the first bad commit is

d7722134b825 drm/nouveau: switch over to new memory and vmm interfaces

Even with the first one some patches/hacks are needed:

- in mmu/gp10b.c, in the constructor we need to select the GM200 path - the GP100 path seems to not to work

- as mentioned in the first mail, we need to set .mmu = gp10b_mmu_new,

- and in nouveau_mem_memory_target we need to return NVKM_MEM_TARGET_NCOH instead of NVKM_MEM_TARGET_HOST.

Cheers,
Mikko

On 11/10/2017 11:27 PM, Mikko Perttunen wrote:
Hello everyone,

it seems that GP10B support has regressed recently. With linux-next, I need to modify device/base.c to set

     .mmu = gp10b_mmu_new

for GP10B (makes sense - I guess this was left as gf100_mmu_new as a typo) to probe. After that, running a trivial testcase (running a NOP method in 3D class) fails with

[  110.084649] nouveau 17000000.gpu: fifo: read fault at 0000011000 engine 06 [HOST0] client 06 [GPC0/L1_2] reas| on 02 [PTE] on channel 1 [00f206a000 nouveau_noop_te[2413]]                                        | [  110.101423] nouveau 17000000.gpu: fifo: channel 1: killed                                        | [  110.106827] nouveau 17000000.gpu: fifo: runlist 0: scheduled for recovery                                    |
Submitted pushbuffer.                                        |
[  110.113867] nouveau 17000000.gpu: nouveau_noop_te[2413]: channel 1 killed!                                   | [  125.084858] nouveau 17000000.gpu: nouveau_noop_te[2413]: failed to idle channel 1 [nouveau_noop_te[2413]]

I haven't managed to track this down yet. However, I did find out that checking out the drm/nouveau directory at commit "drm/nouveau/kms/nv50: use the correct state for base channel notifier setup" makes things work again.

I'll continue to take look, though bisecting is a bit harder than usual due to some other issues in Tegra186 recently, so any pointers in the right direction would be useful :)

Thanks,
Mikko
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to