Displaying 9 results from an estimated 9 matches for "nvkm_disp_func".
Did you mean:
nv50_disp_func
2024 Jan 08
1
[PATCH AUTOSEL 6.1 5/5] nouveau: fix disp disabling with GSP
...7 +359,7 @@ nvkm_disp_oneinit(struct nvkm_engine *engine)
if (ret)
return ret;
- if (disp->func->oneinit) {
+ if (disp->func && disp->func->oneinit) {
ret = disp->func->oneinit(disp);
if (ret)
return ret;
@@ -461,8 +461,10 @@ nvkm_disp_new_(const struct nvkm_disp_func *func, struct nvkm_device *device,
spin_lock_init(&disp->client.lock);
ret = nvkm_engine_ctor(&nvkm_disp, device, type, inst, true, &disp->engine);
- if (ret)
+ if (ret) {
+ disp->func = NULL;
return ret;
+ }
if (func->super) {
disp->super.wq = create_sin...
2024 Jan 08
1
[PATCH AUTOSEL 6.1 5/5] nouveau: fix disp disabling with GSP
...t; - if (disp->func->oneinit) {
> + if (disp->func && disp->func->oneinit) {
> ret = disp->func->oneinit(disp);
> if (ret)
> return ret;
> @@ -461,8 +461,10 @@ nvkm_disp_new_(const struct nvkm_disp_func *func, struct nvkm_device *device,
> spin_lock_init(&disp->client.lock);
>
> ret = nvkm_engine_ctor(&nvkm_disp, device, type, inst, true, &disp->engine);
> - if (ret)
> + if (ret) {
> + disp->func = NULL;
>...
2020 Sep 23
3
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...; + *
> > + * This structure is for <some abstraction here>. It has <some assumptions
> > + * about its usage here>.
> > + */
> > struct nvkm_disp {
> > + /** @func: Chipset-specific vtable for manipulating the display. */
> > const struct nvkm_disp_func *func;
> > +
> > + /** @engine: The engine for this display. */
> > struct nvkm_engine engine;
> >
> > + /** @head: list of heads attached to this display. */
> > struct list_head head;
> > +
> > + /** @ior: List of IO resourc...
2020 Sep 23
0
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...structure is for <some abstraction here>. It has <some assumptions
> > > + * about its usage here>.
> > > + */
> > > struct nvkm_disp {
> > > + /** @func: Chipset-specific vtable for manipulating the display. */
> > > const struct nvkm_disp_func *func;
> > > +
> > > + /** @engine: The engine for this display. */
> > > struct nvkm_engine engine;
> > >
> > > + /** @head: list of heads attached to this display. */
> > > struct list_head head;
> > > +
> >...
2020 Sep 24
0
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...here>. It has <some assumptions
> >>>> + * about its usage here>.
> >>>> + */
> >>>> struct nvkm_disp {
> >>>> + /** @func: Chipset-specific vtable for manipulating the display. */
> >>>> const struct nvkm_disp_func *func;
> >>>> +
> >>>> + /** @engine: The engine for this display. */
> >>>> struct nvkm_engine engine;
> >>>>
> >>>> + /** @head: list of heads attached to this display. */
> >>>> stru...
2020 Sep 24
4
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...for <some abstraction here>. It has <some assumptions
>>>> + * about its usage here>.
>>>> + */
>>>> struct nvkm_disp {
>>>> + /** @func: Chipset-specific vtable for manipulating the display. */
>>>> const struct nvkm_disp_func *func;
>>>> +
>>>> + /** @engine: The engine for this display. */
>>>> struct nvkm_engine engine;
>>>>
>>>> + /** @head: list of heads attached to this display. */
>>>> struct list_head head;
>>>...
2020 Sep 11
6
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...nt.h>
+/**
+ * struct nvkm_disp - Represents a display engine.
+ *
+ * This structure is for <some abstraction here>. It has <some assumptions
+ * about its usage here>.
+ */
struct nvkm_disp {
+ /** @func: Chipset-specific vtable for manipulating the display. */
const struct nvkm_disp_func *func;
+
+ /** @engine: The engine for this display. */
struct nvkm_engine engine;
+ /** @head: list of heads attached to this display. */
struct list_head head;
+
+ /** @ior: List of IO resources for this display. */
struct list_head ior;
+
+ /** @outp: List of outputs for this...
2020 Sep 23
0
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...presents a display engine.
> + *
> + * This structure is for <some abstraction here>. It has <some assumptions
> + * about its usage here>.
> + */
> struct nvkm_disp {
> + /** @func: Chipset-specific vtable for manipulating the display. */
> const struct nvkm_disp_func *func;
> +
> + /** @engine: The engine for this display. */
> struct nvkm_engine engine;
>
> + /** @head: list of heads attached to this display. */
> struct list_head head;
> +
> + /** @ior: List of IO resources for this display. */
> str...
2023 Dec 22
11
nouveau GSP fixes
This is a collection of nouveau debug prints, memory leak, a very
annoying race condition causing system hangs with prime scenarios,
and a fix from Lyude to get the panel on my laptop working.
I'd like to get these into 6.7,
Dave.