Displaying 2 results from an estimated 2 matches for "nvkm_dma_oclass_new".
2016 Dec 20
1
[PATCH] drm/nouveau/dma: use rb_entry()
...lient, u64 object)
struct rb_node *node = client->dmaroot.rb_node;
while (node) {
struct nvkm_dmaobj *dmaobj =
- container_of(node, typeof(*dmaobj), rb);
+ rb_entry(node, typeof(*dmaobj), rb);
if (object < dmaobj->handle)
node = node->rb_left;
else
@@ -67,7 +67,7 @@ nvkm_dma_oclass_new(struct nvkm_device *device,
dmaobj->handle = oclass->object;
while (*ptr) {
- struct nvkm_dmaobj *obj = container_of(*ptr, typeof(*obj), rb);
+ struct nvkm_dmaobj *obj = rb_entry(*ptr, typeof(*obj), rb);
parent = *ptr;
if (dmaobj->handle < obj->handle)
ptr = &pa...
2019 Feb 01
2
[Bug 109529] New: [NV46] unable to handle kernel paging request
...2652000 CR4: 000006d0
[ 243.143207] Call Trace:
[ 243.143243] nvkm_ramht_insert+0x1b/0xbc [nouveau]
[ 243.143287] ? nv04_dmaobj_new+0x53/0xfa [nouveau]
[ 243.143330] nv40_fifo_dma_object_ctor+0x77/0xbf [nouveau]
[ 243.143374] nvkm_fifo_chan_child_new+0x1b7/0x20c [nouveau]
[ 243.143419] ? nvkm_dma_oclass_new+0x42/0x42 [nouveau]
[ 243.143462] ? nvkm_fifo_chan_child_del+0x76/0x76 [nouveau]
[ 243.143506] ? nvkm_fifo_chan_init+0x17/0x17 [nouveau]
[ 243.143541] nvkm_ioctl_new+0x1ab/0x268 [nouveau]
[ 243.143550] ? __insert_vmap_area+0x5b/0x98
[ 243.143559] ? _raw_spin_unlock+0x10/0x23
[ 243.143565...