(no subject)
Subsystems (3)
Hi
On NV_40 on driver is sent instructions from NVE0 series not right
I inspected register 9012c with nvtools
and appear instructions to start unneeded engines NVE0_CHANNEL_IND_ENGINE_PPP NVE0_CHANNEL_IND_ENGINE_BSP NVE0_CHANNEL_IND_ENGINE_ENC
I put one barrier but not start dri.
drivers/gpu/drm/nouveau/nouveau_abi16.c +18 -1
@@ -252,7 +252,12 @@ device =nv_device (abi16->device); imem =nouveau_instmem (device); pfb =nouveau_fb (device); - +printk (KERN_INFO "fb_ctxdma_handle %x\n" , init->fb_ctxdma_handle); +printk (KERN_INFO "tt_ctxdma_handle %x\n" , init->tt_ctxdma_handle); +printk (KERN_INFO "channel %x\n" , init->channel); +printk (KERN_INFO "pushbuf_domains %x\n" , init->pushbuf_domains); +printk (KERN_INFO "notifier_handle %x\n" , init->notifier_handle); +printk (KERN_INFO "nr_subchan %x\n" , init->nr_subchan);/* hack to allow channel engine type specification on kepler */ if (device->card_type >=NV_E0 ) {if (init->fb_ctxdma_handle != ~0 )
@@ -265,6 +270,18 @@if (init->fb_ctxdma_handle ==NVE0_CHANNEL_IND_ENGINE_GR ) init->tt_ctxdma_handle =1 ; } + +if (device->card_type <NV_50 ) { +if (init->fb_ctxdma_handle =0x00000008 ) +return nouveau_abi16_put (abi16, -EINVAL ); + +if (init->fb_ctxdma_handle =0x00000004 ) +return nouveau_abi16_put (abi16, -EINVAL ); + +if (init->fb_ctxdma_handle =0x00000040 ) +return nouveau_abi16_put (abi16, -EINVAL ); + } +if (init->fb_ctxdma_handle == ~0 || init->tt_ctxdma_handle == ~0 )return nouveau_abi16_put (abi16, -EINVAL );
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): 20140913182452.45609099-jrA/[email protected]
What problem are you trying to solve? Perhaps you can start by describing the symptoms, providing logs, etc?
Quoted 16 lines · asd
Hi
OnNV_40on driver is sent instructions from NVE0 series not right
I inspected register 9012c with nvtools
and appear instructions to start unneeded enginesNVE0_CHANNEL_IND_ENGINE_PPPNVE0_CHANNEL_IND_ENGINE_BSPNVE0_CHANNEL_IND_ENGINE_ENCI put one barrier but not start dri.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): CAKb7UvgnwZAUq1GMcNJBmSyH3Me2=ooKhDOPrgAes6TCbHMBHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 2 lines · Ilia Mirkin
What problem are you trying to solve? Perhaps you can start by describing the symptoms, providing logs, etc?
Ilia,
That's the third time he contacts us to fix "bugs" without giving any details. He then refuses to answer back.
He is either a troll or desperately trying to push patches with his name on it. In any case, this patch is utterly wrong as the ifs are not even conditions, they are assignments.
Asd, please stop wasting our time and try trolling somewhere else. If you are not a troll, then answer us before sending another patch!
Martin