Displaying 3 results from an estimated 3 matches for "nvkm_disp_new_".
Did you mean:
nv50_disp_new_
2024 Jan 08
1
[PATCH AUTOSEL 6.1 5/5] nouveau: fix disp disabling with GSP
.../engine/disp/base.c
@@ -359,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) {
di...
2024 Jan 08
1
[PATCH AUTOSEL 6.1 5/5] nouveau: fix disp disabling with GSP
...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-&g...
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.