Displaying 12 results from an estimated 12 matches for "nvkm_object_func".
Did you mean:
nvkm_object_fini
2017 May 04
1
[bug report] drm/nouveau/object: merge with handle
..." from
Aug 20, 2015, leads to the following static checker warning:
drivers/gpu/drm/nouveau/nvkm/core/object.c:298 nvkm_object_ctor()
warn: 'object->engine' is an error pointer or valid
drivers/gpu/drm/nouveau/nvkm/core/object.c
283 void
284 nvkm_object_ctor(const struct nvkm_object_func *func,
285 const struct nvkm_oclass *oclass, struct nvkm_object *object)
286 {
287 object->func = func;
288 object->client = oclass->client;
289 object->engine = nvkm_engine_ref(oclass->engine);
290 object->o...
2020 Apr 22
2
[PATCH hmm 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...m:
> + * .ioctl = nvkm_client_ioctl
> + * nvkm_ioctl()
> + * nvkm_ioctl_path()
> + * nvkm_ioctl_v0[type].func(..)
> + * nvkm_ioctl_mthd()
> + * nvkm_object_mthd()
> + * struct nvkm_object_func nvkm_uvmm:
> + * .mthd = nvkm_uvmm_mthd
> + * nvkm_uvmm_mthd()
> + * nvkm_uvmm_mthd_pfnmap()
> + * nvkm_vmm_pfn_map()
> + * nvkm_vmm_ptes_get_map()
> + *...
2019 Nov 08
1
[PATCH] RFC: drm/nouveau: Make BAR1 support optional
..._chan_dtor(struct nvkm_object *object)
return data;
}
+static void *
+nvkm_fifo_chan_dtor(struct nvkm_object *object)
+{
+ struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object);
+
+ if (chan->user)
+ iounmap(chan->user);
+
+ return __nvkm_fifo_chan_dtor(object);
+}
+
static const struct nvkm_object_func
nvkm_fifo_chan_func = {
.dtor = nvkm_fifo_chan_dtor,
@@ -349,12 +357,98 @@ nvkm_fifo_chan_func = {
.sclass = nvkm_fifo_chan_child_get,
};
+static void *
+nvkm_fifo_chan_mem_dtor(struct nvkm_object *object)
+{
+ return __nvkm_fifo_chan_dtor(object);
+}
+
+static int
+nvkm_fifo_chan_mem_map(s...
2020 Apr 22
0
[PATCH hmm 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...l = nvkm_client_ioctl
> > + * nvkm_ioctl()
> > + * nvkm_ioctl_path()
> > + * nvkm_ioctl_v0[type].func(..)
> > + * nvkm_ioctl_mthd()
> > + * nvkm_object_mthd()
> > + * struct nvkm_object_func nvkm_uvmm:
> > + * .mthd = nvkm_uvmm_mthd
> > + * nvkm_uvmm_mthd()
> > + * nvkm_uvmm_mthd_pfnmap()
> > + * nvkm_vmm_pfn_map()
> > + * nvkm_vmm_ptes_get_map()
>...
2020 May 02
1
[PATCH hmm v2 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...ctl()
> client->driver->ioctl()
> struct nvif_driver nvif_driver_nvkm:
> .ioctl = nvkm_client_ioctl
> nvkm_ioctl()
> nvkm_ioctl_path()
> nvkm_ioctl_v0[type].func(..)
> nvkm_ioctl_mthd()
> nvkm_object_mthd()
> struct nvkm_object_func nvkm_uvmm:
> .mthd = nvkm_uvmm_mthd
> nvkm_uvmm_mthd()
> nvkm_uvmm_mthd_pfnmap()
> nvkm_vmm_pfn_map()
> nvkm_vmm_ptes_get_map()
> func == gp100_vmm_pgt_pfn
> struct nvkm_vmm_desc_func gp100_vmm_desc_spt:
> .pfn = gp100_vmm_pgt...
2020 Apr 22
11
[PATCH hmm 0/5] Adjust hmm_range_fault() API
From: Jason Gunthorpe <jgg at mellanox.com>
The API is a bit complicated for the uses we actually have, and
disucssions for simplifying have come up a number of times.
This small series removes the customizable pfn format and simplifies the
return code of hmm_range_fault()
All the drivers are adjusted to process in the simplified format.
I would appreciated tested-by's for the two
2020 Apr 22
0
[PATCH hmm 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...struct nvif_driver nvif_driver_nvkm:
+ * .ioctl = nvkm_client_ioctl
+ * nvkm_ioctl()
+ * nvkm_ioctl_path()
+ * nvkm_ioctl_v0[type].func(..)
+ * nvkm_ioctl_mthd()
+ * nvkm_object_mthd()
+ * struct nvkm_object_func nvkm_uvmm:
+ * .mthd = nvkm_uvmm_mthd
+ * nvkm_uvmm_mthd()
+ * nvkm_uvmm_mthd_pfnmap()
+ * nvkm_vmm_pfn_map()
+ * nvkm_vmm_ptes_get_map()
+ * func == gp100_vmm_pgt_pfn...
2020 May 01
0
[PATCH hmm v2 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...nouveau_range_fault()
nvif_object_ioctl()
client->driver->ioctl()
struct nvif_driver nvif_driver_nvkm:
.ioctl = nvkm_client_ioctl
nvkm_ioctl()
nvkm_ioctl_path()
nvkm_ioctl_v0[type].func(..)
nvkm_ioctl_mthd()
nvkm_object_mthd()
struct nvkm_object_func nvkm_uvmm:
.mthd = nvkm_uvmm_mthd
nvkm_uvmm_mthd()
nvkm_uvmm_mthd_pfnmap()
nvkm_vmm_pfn_map()
nvkm_vmm_ptes_get_map()
func == gp100_vmm_pgt_pfn
struct nvkm_vmm_desc_func gp100_vmm_desc_spt:
.pfn = gp100_vmm_pgt_pfn
nvkm_vmm_iter()
REF_PTES =...
2020 May 01
13
[PATCH hmm v2 0/5] Adjust hmm_range_fault() API
From: Jason Gunthorpe <jgg at mellanox.com>
The API is a bit complicated for the uses we actually have, and
disucssions for simplifying have come up a number of times.
This small series removes the customizable pfn format and simplifies the
return code of hmm_range_fault()
All the drivers are adjusted to process in the simplified format.
I would appreciated tested-by's for the two
2020 Apr 22
1
[PATCH hmm 5/5] mm/hmm: remove the customizable pfn format from hmm_range_fault
...m:
> + * .ioctl = nvkm_client_ioctl
> + * nvkm_ioctl()
> + * nvkm_ioctl_path()
> + * nvkm_ioctl_v0[type].func(..)
> + * nvkm_ioctl_mthd()
> + * nvkm_object_mthd()
> + * struct nvkm_object_func nvkm_uvmm:
> + * .mthd = nvkm_uvmm_mthd
> + * nvkm_uvmm_mthd()
> + * nvkm_uvmm_mthd_pfnmap()
> + * nvkm_vmm_pfn_map()
> + * nvkm_vmm_ptes_get_map()
> + *...
2019 Sep 23
8
[PATCH 0/8] Add workaround for fixing runpm
Changes since last sent:
* add a patch to set the device into DRM_SWITCH_POWER_CHANGING state
(can be dropped actually, I thought I was needing it, came up with a
different approach and forgot to delete it, doesn't hurt though)
* expose information about runtime suspending to nvkm so that we can run
the pcie workaround only on runtime suspend
Karol Herbst (8):
pci: disable ASPM
2018 Mar 10
17
[RFC PATCH 00/13] SVM (share virtual memory) with HMM in nouveau
From: Jérôme Glisse <jglisse at redhat.com>
(mm is cced just to allow exposure of device driver work without ccing
a long list of peoples. I do not think there is anything usefull to
discuss from mm point of view but i might be wrong, so just for the
curious :)).
git://people.freedesktop.org/~glisse/linux branch: nouveau-hmm-v00