From: Ben Skeggs <bskeggs@nvidia.com>
To: <nouveau@lists.freedesktop.org>
Cc: Ben Skeggs <bskeggs@nvidia.com>
Subject: [PATCH 100/156] drm/nouveau/nvif: rework disp "sclass" api
Date: Wed, 17 Apr 2024 09:39:06 +1000 [thread overview]
Message-ID: <20240416234002.19509-101-bskeggs@nvidia.com> (raw)
In-Reply-To: <20240416234002.19509-1-bskeggs@nvidia.com>
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
---
drivers/gpu/drm/nouveau/dispnv50/base.c | 33 +++++--------
drivers/gpu/drm/nouveau/dispnv50/core.c | 49 ++++++++-----------
drivers/gpu/drm/nouveau/dispnv50/curs.c | 35 ++++++-------
drivers/gpu/drm/nouveau/dispnv50/oimm.c | 29 +++++------
drivers/gpu/drm/nouveau/dispnv50/ovly.c | 32 +++++-------
drivers/gpu/drm/nouveau/dispnv50/wimm.c | 25 ++++------
drivers/gpu/drm/nouveau/dispnv50/wndw.c | 27 ++++------
.../gpu/drm/nouveau/include/nvif/driverif.h | 18 +++++++
drivers/gpu/drm/nouveau/include/nvif/object.h | 29 -----------
.../gpu/drm/nouveau/nvkm/engine/disp/udisp.c | 20 ++++++++
10 files changed, 129 insertions(+), 168 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/base.c b/drivers/gpu/drm/nouveau/dispnv50/base.c
index 7c752acf2b48..db0b42c6243e 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/base.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/base.c
@@ -26,28 +26,21 @@
int
nv50_base_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw)
{
- struct {
- s32 oclass;
- int version;
- int (*new)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
- } bases[] = {
- { GK110_DISP_BASE_CHANNEL_DMA, 0, base917c_new },
- { GK104_DISP_BASE_CHANNEL_DMA, 0, base917c_new },
- { GF110_DISP_BASE_CHANNEL_DMA, 0, base907c_new },
- { GT214_DISP_BASE_CHANNEL_DMA, 0, base827c_new },
- { GT200_DISP_BASE_CHANNEL_DMA, 0, base827c_new },
- { G82_DISP_BASE_CHANNEL_DMA, 0, base827c_new },
- { NV50_DISP_BASE_CHANNEL_DMA, 0, base507c_new },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid;
+ int (*ctor)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
- cid = nvif_mclass(&disp->disp->object, bases);
- if (cid < 0) {
+ switch (disp->impl->chan.base.oclass) {
+ case GK110_DISP_BASE_CHANNEL_DMA: ctor = base917c_new; break;
+ case GK104_DISP_BASE_CHANNEL_DMA: ctor = base917c_new; break;
+ case GF110_DISP_BASE_CHANNEL_DMA: ctor = base907c_new; break;
+ case GT214_DISP_BASE_CHANNEL_DMA: ctor = base827c_new; break;
+ case GT200_DISP_BASE_CHANNEL_DMA: ctor = base827c_new; break;
+ case G82_DISP_BASE_CHANNEL_DMA: ctor = base827c_new; break;
+ case NV50_DISP_BASE_CHANNEL_DMA: ctor = base507c_new; break;
+ default:
NV_ERROR(drm, "No supported base class\n");
- return cid;
+ return -ENODEV;
}
- return bases[cid].new(drm, head, bases[cid].oclass, pwndw);
+ return ctor(drm, head, disp->impl->chan.base.oclass, pwndw);
}
diff --git a/drivers/gpu/drm/nouveau/dispnv50/core.c b/drivers/gpu/drm/nouveau/dispnv50/core.c
index a9c3e53ef909..7d5438355715 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/core.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/core.c
@@ -43,41 +43,34 @@ nv50_core_del(struct nv50_core **pcore)
int
nv50_core_new(struct nouveau_drm *drm, struct nv50_core **pcore)
{
- struct {
- s32 oclass;
- int version;
- int (*new)(struct nouveau_drm *, s32, struct nv50_core **);
- } cores[] = {
- { AD102_DISP_CORE_CHANNEL_DMA, 0, corec57d_new },
- { GA102_DISP_CORE_CHANNEL_DMA, 0, corec57d_new },
- { TU102_DISP_CORE_CHANNEL_DMA, 0, corec57d_new },
- { GV100_DISP_CORE_CHANNEL_DMA, 0, corec37d_new },
- { GP102_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GP100_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GM200_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GM107_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GK110_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GK104_DISP_CORE_CHANNEL_DMA, 0, core917d_new },
- { GF110_DISP_CORE_CHANNEL_DMA, 0, core907d_new },
- { GT214_DISP_CORE_CHANNEL_DMA, 0, core827d_new },
- { GT206_DISP_CORE_CHANNEL_DMA, 0, core827d_new },
- { GT200_DISP_CORE_CHANNEL_DMA, 0, core827d_new },
- { G82_DISP_CORE_CHANNEL_DMA, 0, core827d_new },
- { NV50_DISP_CORE_CHANNEL_DMA, 0, core507d_new },
- {}
- };
+ int (*ctor)(struct nouveau_drm *, s32, struct nv50_core **);
struct nv50_disp *disp = nv50_disp(drm->dev);
struct nv50_core *core;
- int cid;
int ret;
- cid = nvif_mclass(&disp->disp->object, cores);
- if (cid < 0) {
+ switch (disp->disp->impl->chan.core.oclass) {
+ case AD102_DISP_CORE_CHANNEL_DMA: ctor = corec57d_new; break;
+ case GA102_DISP_CORE_CHANNEL_DMA: ctor = corec57d_new; break;
+ case TU102_DISP_CORE_CHANNEL_DMA: ctor = corec57d_new; break;
+ case GV100_DISP_CORE_CHANNEL_DMA: ctor = corec37d_new; break;
+ case GP102_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GP100_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GM200_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GM107_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GK110_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GK104_DISP_CORE_CHANNEL_DMA: ctor = core917d_new; break;
+ case GF110_DISP_CORE_CHANNEL_DMA: ctor = core907d_new; break;
+ case GT214_DISP_CORE_CHANNEL_DMA: ctor = core827d_new; break;
+ case GT206_DISP_CORE_CHANNEL_DMA: ctor = core827d_new; break;
+ case GT200_DISP_CORE_CHANNEL_DMA: ctor = core827d_new; break;
+ case G82_DISP_CORE_CHANNEL_DMA: ctor = core827d_new; break;
+ case NV50_DISP_CORE_CHANNEL_DMA: ctor = core507d_new; break;
+ default:
NV_ERROR(drm, "No supported core channel class\n");
- return cid;
+ return -ENODEV;
}
- ret = cores[cid].new(drm, cores[cid].oclass, &core);
+ ret = ctor(drm, disp->disp->impl->chan.core.oclass, &core);
*pcore = core;
if (ret)
return ret;
diff --git a/drivers/gpu/drm/nouveau/dispnv50/curs.c b/drivers/gpu/drm/nouveau/dispnv50/curs.c
index 31d8b2e4791d..8d1026c6baec 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/curs.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/curs.c
@@ -26,29 +26,22 @@
int
nv50_curs_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw)
{
- struct {
- s32 oclass;
- int version;
- int (*new)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
- } curses[] = {
- { GA102_DISP_CURSOR, 0, cursc37a_new },
- { TU102_DISP_CURSOR, 0, cursc37a_new },
- { GV100_DISP_CURSOR, 0, cursc37a_new },
- { GK104_DISP_CURSOR, 0, curs907a_new },
- { GF110_DISP_CURSOR, 0, curs907a_new },
- { GT214_DISP_CURSOR, 0, curs507a_new },
- { G82_DISP_CURSOR, 0, curs507a_new },
- { NV50_DISP_CURSOR, 0, curs507a_new },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid;
+ int (*ctor)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
- cid = nvif_mclass(&disp->disp->object, curses);
- if (cid < 0) {
+ switch (disp->impl->chan.curs.oclass) {
+ case GA102_DISP_CURSOR: ctor = cursc37a_new; break;
+ case TU102_DISP_CURSOR: ctor = cursc37a_new; break;
+ case GV100_DISP_CURSOR: ctor = cursc37a_new; break;
+ case GK104_DISP_CURSOR: ctor = curs907a_new; break;
+ case GF110_DISP_CURSOR: ctor = curs907a_new; break;
+ case GT214_DISP_CURSOR: ctor = curs507a_new; break;
+ case G82_DISP_CURSOR: ctor = curs507a_new; break;
+ case NV50_DISP_CURSOR: ctor = curs507a_new; break;
+ default:
NV_ERROR(drm, "No supported cursor immediate class\n");
- return cid;
+ return -ENODEV;
}
- return curses[cid].new(drm, head, curses[cid].oclass, pwndw);
+ return ctor(drm, head, disp->impl->chan.curs.oclass, pwndw);
}
diff --git a/drivers/gpu/drm/nouveau/dispnv50/oimm.c b/drivers/gpu/drm/nouveau/dispnv50/oimm.c
index 2a2841d344c8..4a06cd293cb5 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/oimm.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/oimm.c
@@ -26,26 +26,19 @@
int
nv50_oimm_init(struct nouveau_drm *drm, struct nv50_wndw *wndw)
{
- static const struct {
- s32 oclass;
- int version;
- int (*init)(struct nouveau_drm *, s32, struct nv50_wndw *);
- } oimms[] = {
- { GK104_DISP_OVERLAY, 0, oimm507b_init },
- { GF110_DISP_OVERLAY, 0, oimm507b_init },
- { GT214_DISP_OVERLAY, 0, oimm507b_init },
- { G82_DISP_OVERLAY, 0, oimm507b_init },
- { NV50_DISP_OVERLAY, 0, oimm507b_init },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid;
+ int (*ctor)(struct nouveau_drm *, s32, struct nv50_wndw *);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
- cid = nvif_mclass(&disp->disp->object, oimms);
- if (cid < 0) {
+ switch (disp->impl->chan.oimm.oclass) {
+ case GK104_DISP_OVERLAY: ctor = oimm507b_init; break;
+ case GF110_DISP_OVERLAY: ctor = oimm507b_init; break;
+ case GT214_DISP_OVERLAY: ctor = oimm507b_init; break;
+ case G82_DISP_OVERLAY: ctor = oimm507b_init; break;
+ case NV50_DISP_OVERLAY: ctor = oimm507b_init; break;
+ default:
NV_ERROR(drm, "No supported overlay immediate class\n");
- return cid;
+ return -ENODEV;
}
- return oimms[cid].init(drm, oimms[cid].oclass, wndw);
+ return ctor(drm, disp->impl->chan.oimm.oclass, wndw);
}
diff --git a/drivers/gpu/drm/nouveau/dispnv50/ovly.c b/drivers/gpu/drm/nouveau/dispnv50/ovly.c
index 90c246d47604..029c86a53c1f 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/ovly.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/ovly.c
@@ -27,29 +27,23 @@
int
nv50_ovly_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw)
{
- static const struct {
- s32 oclass;
- int version;
- int (*new)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
- } ovlys[] = {
- { GK104_DISP_OVERLAY_CONTROL_DMA, 0, ovly917e_new },
- { GF110_DISP_OVERLAY_CONTROL_DMA, 0, ovly907e_new },
- { GT214_DISP_OVERLAY_CHANNEL_DMA, 0, ovly827e_new },
- { GT200_DISP_OVERLAY_CHANNEL_DMA, 0, ovly827e_new },
- { G82_DISP_OVERLAY_CHANNEL_DMA, 0, ovly827e_new },
- { NV50_DISP_OVERLAY_CHANNEL_DMA, 0, ovly507e_new },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid, ret;
+ int (*ctor)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
+ int ret;
- cid = nvif_mclass(&disp->disp->object, ovlys);
- if (cid < 0) {
+ switch (disp->impl->chan.ovly.oclass) {
+ case GK104_DISP_OVERLAY_CONTROL_DMA: ctor = ovly917e_new; break;
+ case GF110_DISP_OVERLAY_CONTROL_DMA: ctor = ovly907e_new; break;
+ case GT214_DISP_OVERLAY_CHANNEL_DMA: ctor = ovly827e_new; break;
+ case GT200_DISP_OVERLAY_CHANNEL_DMA: ctor = ovly827e_new; break;
+ case G82_DISP_OVERLAY_CHANNEL_DMA: ctor = ovly827e_new; break;
+ case NV50_DISP_OVERLAY_CHANNEL_DMA: ctor = ovly507e_new; break;
+ default:
NV_ERROR(drm, "No supported overlay class\n");
- return cid;
+ return -ENODEV;
}
- ret = ovlys[cid].new(drm, head, ovlys[cid].oclass, pwndw);
+ ret = ctor(drm, head, disp->impl->chan.ovly.oclass, pwndw);
if (ret)
return ret;
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wimm.c b/drivers/gpu/drm/nouveau/dispnv50/wimm.c
index 566fbddfc8d7..c94830cf07cb 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/wimm.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/wimm.c
@@ -26,24 +26,17 @@
int
nv50_wimm_init(struct nouveau_drm *drm, struct nv50_wndw *wndw)
{
- struct {
- s32 oclass;
- int version;
- int (*init)(struct nouveau_drm *, s32, struct nv50_wndw *);
- } wimms[] = {
- { GA102_DISP_WINDOW_IMM_CHANNEL_DMA, 0, wimmc37b_init },
- { TU102_DISP_WINDOW_IMM_CHANNEL_DMA, 0, wimmc37b_init },
- { GV100_DISP_WINDOW_IMM_CHANNEL_DMA, 0, wimmc37b_init },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid;
+ int (*ctor)(struct nouveau_drm *, s32, struct nv50_wndw *);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
- cid = nvif_mclass(&disp->disp->object, wimms);
- if (cid < 0) {
+ switch (disp->impl->chan.wimm.oclass) {
+ case GA102_DISP_WINDOW_IMM_CHANNEL_DMA: ctor = wimmc37b_init; break;
+ case TU102_DISP_WINDOW_IMM_CHANNEL_DMA: ctor = wimmc37b_init; break;
+ case GV100_DISP_WINDOW_IMM_CHANNEL_DMA: ctor = wimmc37b_init; break;
+ default:
NV_ERROR(drm, "No supported window immediate class\n");
- return cid;
+ return -ENODEV;
}
- return wimms[cid].init(drm, wimms[cid].oclass, wndw);
+ return ctor(drm, disp->impl->chan.wimm.oclass, wndw);
}
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
index 19606755daf5..6fb6d2252e15 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/wndw.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
@@ -810,27 +810,20 @@ int
nv50_wndw_new(struct nouveau_drm *drm, enum drm_plane_type type, int index,
struct nv50_wndw **pwndw)
{
- struct {
- s32 oclass;
- int version;
- int (*new)(struct nouveau_drm *, enum drm_plane_type,
- int, s32, struct nv50_wndw **);
- } wndws[] = {
- { GA102_DISP_WINDOW_CHANNEL_DMA, 0, wndwc67e_new },
- { TU102_DISP_WINDOW_CHANNEL_DMA, 0, wndwc57e_new },
- { GV100_DISP_WINDOW_CHANNEL_DMA, 0, wndwc37e_new },
- {}
- };
- struct nv50_disp *disp = nv50_disp(drm->dev);
- int cid, ret;
+ int (*ctor)(struct nouveau_drm *, enum drm_plane_type, int, s32, struct nv50_wndw **);
+ struct nvif_disp *disp = nv50_disp(drm->dev)->disp;
+ int ret;
- cid = nvif_mclass(&disp->disp->object, wndws);
- if (cid < 0) {
+ switch (disp->impl->chan.wndw.oclass) {
+ case GA102_DISP_WINDOW_CHANNEL_DMA: ctor = wndwc67e_new; break;
+ case TU102_DISP_WINDOW_CHANNEL_DMA: ctor = wndwc57e_new; break;
+ case GV100_DISP_WINDOW_CHANNEL_DMA: ctor = wndwc37e_new; break;
+ default:
NV_ERROR(drm, "No supported window class\n");
- return cid;
+ return -ENODEV;
}
- ret = wndws[cid].new(drm, type, index, wndws[cid].oclass, pwndw);
+ ret = ctor(drm, type, index, disp->impl->chan.wndw.oclass, pwndw);
if (ret)
return ret;
diff --git a/drivers/gpu/drm/nouveau/include/nvif/driverif.h b/drivers/gpu/drm/nouveau/include/nvif/driverif.h
index e479e8114605..f96638ce4b12 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/driverif.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/driverif.h
@@ -220,6 +220,10 @@ struct nvif_faultbuf_impl {
struct nvif_disp_impl {
void (*del)(struct nvif_disp_priv *);
+ struct {
+ u32 oclass;
+ } caps;
+
struct {
u32 mask;
} conn;
@@ -231,6 +235,20 @@ struct nvif_disp_impl {
struct {
u32 mask;
} head;
+
+ struct {
+ struct nvif_disp_impl_core {
+ s32 oclass;
+ } core;
+
+ struct nvif_disp_impl_dmac {
+ s32 oclass;
+ } base, ovly, wndw, wimm;
+
+ struct nvif_disp_impl_pioc {
+ s32 oclass;
+ } curs, oimm;
+ } chan;
};
struct nvif_device_impl {
diff --git a/drivers/gpu/drm/nouveau/include/nvif/object.h b/drivers/gpu/drm/nouveau/include/nvif/object.h
index 819ae1c9729d..10a8f3e1ea81 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/object.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/object.h
@@ -82,35 +82,6 @@ void nvif_object_unmap(struct nvif_object *);
#define nvif_mthd(a,b,c,d) nvif_object_mthd((a), (b), (c), (d))
-struct nvif_mclass {
- s32 oclass;
- int version;
-};
-
-#define nvif_mclass(o,m) ({ \
- struct nvif_object *object = (o); \
- struct nvif_sclass *sclass; \
- typeof(m[0]) *mclass = (m); \
- int ret = -ENODEV; \
- int cnt, i, j; \
- \
- cnt = nvif_object_sclass_get(object, &sclass); \
- if (cnt >= 0) { \
- for (i = 0; ret < 0 && mclass[i].oclass; i++) { \
- for (j = 0; j < cnt; j++) { \
- if (mclass[i].oclass == sclass[j].oclass && \
- mclass[i].version >= sclass[j].minver && \
- mclass[i].version <= sclass[j].maxver) { \
- ret = i; \
- break; \
- } \
- } \
- } \
- nvif_object_sclass_put(&sclass); \
- } \
- ret; \
-})
-
#define NVIF_RD32_(p,o,dr) nvif_rd32((p), (o) + (dr))
#define NVIF_WR32_(p,o,dr,f) nvif_wr32((p), (o) + (dr), (f))
#define NVIF_RD32(p,A...) DRF_RD(NVIF_RD32_, (p), 0, ##A)
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
index 06e465edf3e9..fd8590514c7e 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
@@ -171,6 +171,10 @@ nvkm_udisp_new(struct nvkm_device *device, const struct nvif_disp_impl **pimpl,
udisp->disp = disp;
udisp->impl = nvkm_udisp_impl;
+ if (disp->func->user.caps.oclass) {
+ udisp->impl.caps.oclass = disp->func->user.caps.oclass;
+ }
+
list_for_each_entry(conn, &disp->conns, head)
udisp->impl.conn.mask |= BIT(conn->index);
@@ -180,6 +184,22 @@ nvkm_udisp_new(struct nvkm_device *device, const struct nvif_disp_impl **pimpl,
list_for_each_entry(head, &disp->heads, head)
udisp->impl.head.mask |= BIT(head->id);
+ if (disp->func->user.core.oclass) {
+ udisp->impl.chan.core.oclass = disp->func->user.core.oclass;
+ udisp->impl.chan.curs.oclass = disp->func->user.curs.oclass;
+
+ if (!disp->func->user.wndw.oclass) {
+ /* EVO */
+ udisp->impl.chan.base.oclass = disp->func->user.base.oclass;
+ udisp->impl.chan.ovly.oclass = disp->func->user.ovly.oclass;
+ udisp->impl.chan.oimm.oclass = disp->func->user.oimm.oclass;
+ } else {
+ /* NVDisplay (GV100-) */
+ udisp->impl.chan.wndw.oclass = disp->func->user.wndw.oclass;
+ udisp->impl.chan.wimm.oclass = disp->func->user.wimm.oclass;
+ }
+ }
+
*pimpl = &udisp->impl;
*ppriv = udisp;
*pobject = &udisp->object;
--
2.41.0
next prev parent reply other threads:[~2024-04-16 23:42 UTC|newest]
Thread overview: 163+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-16 23:37 [PATCH 000/156] drm/nouveau: replace "ioctl" interface between drm/nvkm Ben Skeggs
2024-04-16 23:37 ` [PATCH 001/156] drm/nouveau: add nouveau_drm.device/mmu Ben Skeggs
2024-04-16 23:37 ` [PATCH 002/156] drm/nouveau: alias nouveau_drm.client to nouveau_drm.cli Ben Skeggs
2024-04-16 23:37 ` [PATCH 003/156] drm/nouveau: pass drm to nouveau_mem_new(), instead of cli Ben Skeggs
2024-04-16 23:37 ` [PATCH 004/156] drm/nouveau: pass drm to nv50_dmac_create(), rather than device+disp Ben Skeggs
2024-04-17 6:27 ` Philipp Stanner
2024-04-16 23:37 ` [PATCH 005/156] drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device Ben Skeggs
2024-04-16 23:37 ` [PATCH 006/156] drm/nouveau: remove nouveau_chan.device Ben Skeggs
2024-04-16 23:37 ` [PATCH 007/156] drm/nouveau: remove chan->drm Ben Skeggs
2024-04-16 23:37 ` [PATCH 008/156] drm/nouveau: replace some void casts with chan->cli Ben Skeggs
2024-04-16 23:37 ` [PATCH 009/156] drm/nouveau: remove nouveau_drm.master Ben Skeggs
2024-04-16 23:37 ` [PATCH 010/156] drm/nouveau: always map device Ben Skeggs
2024-04-16 23:37 ` [PATCH 011/156] drm/nouveau: add nouveau_cli to nouveau_abi16 Ben Skeggs
2024-04-16 23:37 ` [PATCH 012/156] drm/nouveau: handle limited nvif in abi16 Ben Skeggs
2024-04-16 23:37 ` [PATCH 013/156] drm/nouveau: remove abi16->device Ben Skeggs
2024-04-16 23:37 ` [PATCH 014/156] drm/nouveau: remove abi16->handles Ben Skeggs
2024-04-16 23:37 ` [PATCH 015/156] drm/nouveau: store nvkm_device pointer in nouveau_drm Ben Skeggs
2024-04-16 23:37 ` [PATCH 016/156] drm/nouveau: create pci device once Ben Skeggs
2024-04-16 23:37 ` [PATCH 017/156] drm/nouveau: remove push pointer from nouveau_channel Ben Skeggs
2024-04-16 23:37 ` [PATCH 018/156] drm/nouveau/kms: remove a few unused struct members and fn decls Ben Skeggs
2024-04-16 23:37 ` [PATCH 019/156] drm/nouveau/kms: remove push pointer from nv50_dmac Ben Skeggs
2024-04-16 23:37 ` [PATCH 020/156] drm/nouveau/kms: move hw ring tracking vars into nvif_push Ben Skeggs
2024-04-16 23:37 ` [PATCH 021/156] drm/nouveau/kms: move dmac sync/vram ctxdmas to core+wndws Ben Skeggs
2024-04-16 23:37 ` [PATCH 022/156] drm/nouveau/nvkm: remove detect/mmio/subdev_mask from device args Ben Skeggs
2024-04-16 23:37 ` [PATCH 023/156] drm/nouveau/nvkm: move nouveau_nvif.c to nvkm/core/driver.c Ben Skeggs
2024-04-16 23:37 ` [PATCH 024/156] drm/nouveau/nvkm: move nvkm/engine/device/ to nvkm/device/ Ben Skeggs
2024-04-16 23:37 ` [PATCH 025/156] drm/nouveau/nvkm: remove perfmon Ben Skeggs
2024-04-16 23:37 ` [PATCH 026/156] drm/nouveau/nvkm: remove nvkm_client_search() Ben Skeggs
2024-04-16 23:37 ` [PATCH 027/156] drm/nouveau/nvif: remove support for userspace backends Ben Skeggs
2024-04-16 23:37 ` [PATCH 028/156] drm/nouveau/nvif: remove route/token Ben Skeggs
2024-04-16 23:37 ` [PATCH 029/156] drm/nouveau/nvif: remove nvxx_object() Ben Skeggs
2024-04-16 23:37 ` [PATCH 030/156] drm/nouveau/nvif: remove nvxx_client() Ben Skeggs
2024-04-16 23:37 ` [PATCH 031/156] drm/nouveau/nvif: remove driver keep/fini Ben Skeggs
2024-04-16 23:37 ` [PATCH 032/156] drm/nouveau/nvif: remove client version Ben Skeggs
2024-04-16 23:37 ` [PATCH 033/156] drm/nouveau/nvif: remove client devlist Ben Skeggs
2024-04-16 23:38 ` [PATCH 034/156] drm/nouveau/nvif: remove client fini Ben Skeggs
2024-04-16 23:38 ` [PATCH 035/156] drm/nouveau/nvif: remove device args Ben Skeggs
2024-04-16 23:38 ` [PATCH 036/156] drm/nouveau/nvif: remove device rd/wr Ben Skeggs
2024-04-16 23:38 ` [PATCH 037/156] drm/nouveau/nvif: remove disp chan rd/wr Ben Skeggs
2024-04-16 23:38 ` [PATCH 038/156] drm/nouveau/nvkm: rename struct nvkm_uevent Ben Skeggs
2024-04-16 23:38 ` [PATCH 039/156] drm/nouveau/nvkm: remove nvkm_client() Ben Skeggs
2024-04-16 23:38 ` [PATCH 040/156] drm/nouveau/nvkm: rename struct nvkm_udevice Ben Skeggs
2024-04-16 23:38 ` [PATCH 041/156] drm/nouveau/nvkm: rename struct nvkm_control Ben Skeggs
2024-04-16 23:38 ` [PATCH 042/156] drm/nouveau/nvkm: rename struct nvkm_uvfn Ben Skeggs
2024-04-16 23:38 ` [PATCH 043/156] drm/nouveau/nvkm: rename struct nvkm_ummu Ben Skeggs
2024-04-16 23:38 ` [PATCH 044/156] drm/nouveau/nvkm: rename struct nvkm_umem Ben Skeggs
2024-04-16 23:38 ` [PATCH 045/156] drm/nouveau/nvkm: rename struct nvkm_uvmm Ben Skeggs
2024-04-16 23:38 ` [PATCH 046/156] drm/nouveau/nvkm: detach user handling from nvkm_fault_buffer Ben Skeggs
2024-04-16 23:38 ` [PATCH 047/156] drm/nouveau/nvkm: detach user handling from nvkm_disp Ben Skeggs
2024-04-16 23:38 ` [PATCH 048/156] drm/nouveau/nvkm: detach user handling from nvkm_conn Ben Skeggs
2024-04-16 23:38 ` [PATCH 049/156] drm/nouveau/nvkm: detach user handling from nvkm_outp Ben Skeggs
2024-04-16 23:38 ` [PATCH 050/156] drm/nouveau/nvkm: detach user handling from nvkm_uhead Ben Skeggs
2024-04-16 23:38 ` [PATCH 051/156] drm/nouveau/nvkm: detach user handling from nvkm_disp_chan Ben Skeggs
2024-04-16 23:38 ` [PATCH 052/156] drm/nouveau/nvkm: rename struct nvkm_ucgrp Ben Skeggs
2024-04-16 23:38 ` [PATCH 053/156] drm/nouveau/nvkm: rename struct nvkm_uchan Ben Skeggs
2024-04-16 23:38 ` [PATCH 054/156] drm/nouveau/nvkm: move umem list to mmu Ben Skeggs
2024-04-16 23:38 ` [PATCH 055/156] drm/nouveau/disp: simplify hw user definition Ben Skeggs
2024-04-16 23:38 ` [PATCH 056/156] drm/nouveau/nvif: output oclass id in object dbg messages Ben Skeggs
2024-04-16 23:38 ` [PATCH 057/156] drm/nouveau/nvif: add alternate version of nvif_object_ctor() Ben Skeggs
2024-04-16 23:38 ` [PATCH 058/156] drm/nouveau/nvif: add alternate version of nvif_event_ctor() Ben Skeggs
2024-04-16 23:38 ` [PATCH 059/156] drm/nouveau/nvif: move nvif<->nvkm interface definitions to driverif.h Ben Skeggs
2024-04-16 23:38 ` [PATCH 060/156] drm/nouveau/nvif: rework "new driver" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 061/156] drm/nouveau/nvkm: remove device list Ben Skeggs
2024-04-16 23:38 ` [PATCH 062/156] drm/nouveau/nvif: rework driver "new client" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 063/156] drm/nouveau/nvif: rework client "new device" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 064/156] drm/nouveau/nvif: remove client from object rb Ben Skeggs
2024-04-16 23:38 ` [PATCH 065/156] drm/nouveau/nvif: rework device "sclass" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 066/156] drm/nouveau/nvif: rework device "map" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 067/156] drm/nouveau/nvif: rework device "info v0" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 068/156] drm/nouveau/nvif: rework device "info v1" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 069/156] drm/nouveau/nvif: rework device "time" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 070/156] drm/nouveau/nvif: rework device "new ctrl" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 071/156] drm/nouveau/nvif: rework ctrl "pstate info" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 072/156] drm/nouveau/nvif: rework ctrl "pstate attr" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 073/156] drm/nouveau/nvif: rework ctrl "pstate user" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 074/156] drm/nouveau/nvif: remove ctrl from object rb Ben Skeggs
2024-04-16 23:38 ` [PATCH 075/156] drm/nouveau/nvif: rework device "new usermode" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 076/156] drm/nouveau/nvif: rework usermode "map" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 077/156] drm/nouveau/nvif: remove usermode from object rb Ben Skeggs
2024-04-16 23:38 ` [PATCH 078/156] drm/nouveau/nvif: rework device "new mmu" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 079/156] drm/nouveau/nvif: rework mmu "sclass" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 080/156] drm/nouveau/nvif: rework mmu "heap" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 081/156] drm/nouveau/nvif: rework mmu "type" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 082/156] drm/nouveau/nvif: rework mmu "kind" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 083/156] drm/nouveau/nvif: rework mmu "new mem" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 084/156] drm/nouveau/nvif: rework mem "map"/"unmap" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 085/156] drm/nouveau/nvif: rework mmu "new vmm" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 086/156] drm/nouveau/nvif: remove mmu from object rb Ben Skeggs
2024-04-16 23:38 ` [PATCH 087/156] drm/nouveau/nvif: rework vmm "page" api Ben Skeggs
2024-04-16 23:38 ` [PATCH 088/156] drm/nouveau/nvif: rework vmm "get"/"put" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 089/156] drm/nouveau/nvif: rework vmm "map"/"unmap" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 090/156] drm/nouveau/nvif: rework vmm "pfnmap"/"pfnclr" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 091/156] drm/nouveau/nvif: rework vmm "raw get"/"raw put" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 092/156] drm/nouveau/nvif: rework vmm "raw map"/"raw unmap" apis Ben Skeggs
2024-04-16 23:38 ` [PATCH 093/156] drm/nouveau/nvif: rework vmm "raw sparse" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 094/156] drm/nouveau/nvif: rework vmm "fault replay"/"fault cancel" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 095/156] drm/nouveau/nvif: rework device "new fault buffer" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 096/156] drm/nouveau/nvif: rework fault buffer "map" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 097/156] drm/nouveau/nvif: rework fault buffer "new event" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 098/156] drm/nouveau/nvif: remove fault buffer from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 099/156] drm/nouveau/nvif: rework device "new disp" api Ben Skeggs
2024-04-16 23:39 ` Ben Skeggs [this message]
2024-04-16 23:39 ` [PATCH 101/156] drm/nouveau/nvif: rework disp "new caps" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 102/156] drm/nouveau/nvif: rework disp "new conn" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 103/156] drm/nouveau/nvif: rework conn "new event" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 104/156] drm/nouveau/nvif: remove conn from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 105/156] drm/nouveau/nvif: rework disp "new outp" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 106/156] drm/nouveau/nvif: rework outp "detect" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 107/156] drm/nouveau/nvif: rework outp "edid get" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 108/156] drm/nouveau/nvif: rework outp "load detect" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 109/156] drm/nouveau/nvif: rework outp "inherit" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 110/156] drm/nouveau/nvif: rework outp "acquire" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 111/156] drm/nouveau/nvif: rework outp "release" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 112/156] drm/nouveau/nvif: rework outp "bl get"/"bl set" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 113/156] drm/nouveau/nvif: rework outp "lvds config" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 114/156] drm/nouveau/nvif: rework outp "hdmi " Ben Skeggs
2024-04-16 23:39 ` [PATCH 115/156] drm/nouveau/nvif: rework outp "infoframe" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 116/156] drm/nouveau/nvif: rework outp "hda eld" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 117/156] drm/nouveau/nvif: rework outp "dp aux pwr" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 118/156] drm/nouveau/nvif: rework outp "dp aux xfer" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 119/156] drm/nouveau/nvif: rework outp "dp rates" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 120/156] drm/nouveau/nvif: rework outp "dp train" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 121/156] drm/nouveau/nvif: rework outp "dp drive" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 122/156] drm/nouveau/nvif: rework outp "dp sst" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 123/156] drm/nouveau/nvif: rework outp "dp mst id get"/"dp mst id put" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 124/156] drm/nouveau/nvif: rework outp "dp mst vcpi" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 125/156] drm/nouveau/nvif: remove outp from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 126/156] drm/nouveau/nvif: rework disp "new head" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 127/156] drm/nouveau/nvif: rework head "scanoutpos" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 128/156] drm/nouveau/nvif: rework head "new event" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 129/156] drm/nouveau/nvif: remove head from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 130/156] drm/nouveau/nvif: rework disp "new chan" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 131/156] drm/nouveau/nvif: remove disp from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 132/156] drm/nouveau/nvif: rework disp chan "new ctxdma" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 133/156] drm/nouveau/nvif: remove disp chans from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 134/156] drm/nouveau/nvif: rework device "new cgrp" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 135/156] drm/nouveau/nvif: rework device "new ctxdma" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 136/156] drm/nouveau/nvif: rework device/cgrp "new chan" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 137/156] drm/nouveau/nvif: remove mem from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 138/156] drm/nouveau/nvif: remove vmm " Ben Skeggs
2024-04-16 23:39 ` [PATCH 139/156] drm/nouveau/nvif: remove ctxdma " Ben Skeggs
2024-04-16 23:39 ` [PATCH 140/156] drm/nouveau/nvif: remove device " Ben Skeggs
2024-04-16 23:39 ` [PATCH 141/156] drm/nouveau/nvif: rework chan "map" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 142/156] drm/nouveau/nvif: rework chan "sclass" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 143/156] drm/nouveau/nvif: rework chan "new event" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 144/156] drm/nouveau/nvif: rework chan "new ctxdma" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 145/156] drm/nouveau/nvif: rework chan "new engobj" apis Ben Skeggs
2024-04-16 23:39 ` [PATCH 146/156] drm/nouveau/nvif: remove chan from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 147/156] drm/nouveau/nvif: rework engobj "mthd" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 148/156] drm/nouveau/nvif: rework engobj "new event" api Ben Skeggs
2024-04-16 23:39 ` [PATCH 149/156] drm/nouveau/nvif: remove engobj from object rb Ben Skeggs
2024-04-16 23:39 ` [PATCH 150/156] drm/nouveau/nvkm: switch nvkm_object to non-irqsafe spinlock Ben Skeggs
2024-04-16 23:39 ` [PATCH 151/156] drm/nouveau: remove client_mutex Ben Skeggs
2024-04-16 23:39 ` [PATCH 152/156] drm/nouveau: move nvxx_* definitions to nouveau_drv.h Ben Skeggs
2024-04-16 23:39 ` [PATCH 153/156] drm/nouveau: pass nouveau_drm to nvxx_* Ben Skeggs
2024-04-16 23:40 ` [PATCH 154/156] drm/nouveau: remove remaining usage of nvif_device.info Ben Skeggs
2024-04-16 23:40 ` [PATCH 155/156] drm/nouveau: remove remaining usage of nvif_device.object.map Ben Skeggs
2024-04-16 23:40 ` [PATCH 156/156] drm/nouveau: remove remaining usage of nouveau_drm.client Ben Skeggs
2024-04-17 4:15 ` [PATCH 000/156] drm/nouveau: replace "ioctl" interface between drm/nvkm Dave Airlie
2024-04-18 12:52 ` Ben Skeggs
2024-04-17 22:24 ` Danilo Krummrich
2024-04-18 14:03 ` Ben Skeggs
2024-04-22 9:28 ` Danilo Krummrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240416234002.19509-101-bskeggs@nvidia.com \
--to=bskeggs@nvidia.com \
--cc=nouveau@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).