search for: nvkm_dmaobj

Displaying 3 results from an estimated 3 matches for "nvkm_dmaobj".

2016 Dec 20
1
[PATCH] drm/nouveau/dma: use rb_entry()
...d..4655d17 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c @@ -34,7 +34,7 @@ nvkm_dma_search(struct nvkm_dma *dma, struct nvkm_client *client, 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) { -...
2017 Jul 29
0
[PATCH] nouveau: Fix declarations with incorrect variables.
...uct drm_encoder *, struct drm_display_mode *); diff --git a/drm/nouveau/nvkm/engine/dma/user.h b/drm/nouveau/nvkm/engine/dma/user.h index 69a7f103..1341894b 100644 --- a/drm/nouveau/nvkm/engine/dma/user.h +++ b/drm/nouveau/nvkm/engine/dma/user.h @@ -4,7 +4,7 @@ #include "priv.h" int nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func *, struct nvkm_dma *, - const struct nvkm_oclass *, void **data, u32 *size, + const struct nvkm_oclass *, void **pdata, u32 *psize, struct nvkm_dmaobj *); int nv04_dmaobj_new(struct nvkm_dma *, const struct nvkm_oclass *, void *, u32, diff -...
2019 Jun 20
2
[PATCH] drm/nouveau: fix bogus GPL-2 license header
...9fe01fd75474..9c72ee214be7 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/dma/user.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/dma/user.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: MIT */ #ifndef __NVKM_DMA_USER_H__ #define __NVKM_DMA_USER_H__ #define nvkm_dmaobj(p) container_of((p), struct nvkm_dmaobj, object) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h index 2c7c5afc1ea5..177e10562600 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fif...