search for: nouveau_device_sclass

Displaying 6 results from an estimated 6 matches for "nouveau_device_sclass".

Did you mean: nouveau_device_class
2012 Oct 07
1
[PATCH] drm/nouveau: remove >1 sclass support from nouveau_parent_create_
...drivers/gpu/drm/nouveau/core/core/client.c +++ b/drivers/gpu/drm/nouveau/core/core/client.c @@ -58,7 +58,7 @@ nouveau_client_create_(const char *name, u64 devname, const char *cfg, return -ENODEV; ret = nouveau_namedb_create_(NULL, NULL, &nouveau_client_oclass, - NV_CLIENT_CLASS, nouveau_device_sclass, + NV_CLIENT_CLASS, &nouveau_device_sclass, 0, length, pobject); client = *pobject; if (ret) diff --git a/drivers/gpu/drm/nouveau/core/core/parent.c b/drivers/gpu/drm/nouveau/core/core/parent.c index 0e7733c..1a48e58 100644 --- a/drivers/gpu/drm/nouveau/core/core/parent.c...
2014 Feb 01
0
[RFC 03/16] drm/nouveau: add platform device probing function
...pobject; + if (ret) + goto done; + + device->platformdev = pdev; + device->handle = name; + device->cfgopt = cfg; + device->dbgopt = dbg; + device->name = sname; + + nv_subdev(device)->debug = nouveau_dbgopt(device->dbgopt, "DEVICE"); + nv_engine(device)->sclass = nouveau_device_sclass; + list_add(&device->head, &nv_devices); +done: + mutex_unlock(&nv_devices_mutex); + return ret; +} diff --git a/drivers/gpu/drm/nouveau/core/include/engine/device.h b/drivers/gpu/drm/nouveau/core/include/engine/device.h index b3dd2c4..90056190 100644 --- a/drivers/gpu/drm/nouveau/co...
2014 Feb 10
0
[PATCH] drm/nouveau: support for platform devices
...+ device->platformdev = pdev; > + device->handle = name; > + device->cfgopt = cfg; > + device->dbgopt = dbg; > + device->name = sname; > + > + nv_subdev(device)->debug = nouveau_dbgopt(device->dbgopt, "DEVICE"); > + nv_engine(device)->sclass = nouveau_device_sclass; > + list_add(&device->head, &nv_devices); > +done: > + mutex_unlock(&nv_devices_mutex); > + return ret; > +} I think there's some potential for refactoring here, since the only difference that I can spot is in whether the pdev or the platformdev fields are assign...
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...pobject; + if (ret) + goto done; + + device->platformdev = pdev; + device->handle = name; + device->cfgopt = cfg; + device->dbgopt = dbg; + device->name = sname; + + nv_subdev(device)->debug = nouveau_dbgopt(device->dbgopt, "DEVICE"); + nv_engine(device)->sclass = nouveau_device_sclass; + list_add(&device->head, &nv_devices); +done: + mutex_unlock(&nv_devices_mutex); + return ret; +} diff --git a/drivers/gpu/drm/nouveau/core/engine/falcon.c b/drivers/gpu/drm/nouveau/core/engine/falcon.c index 5e077e4ed7f6..2914646c8709 100644 --- a/drivers/gpu/drm/nouveau/core/engi...
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
...ice->handle = name; >> + device->cfgopt = cfg; >> + device->dbgopt = dbg; >> + device->name = sname; >> + >> + nv_subdev(device)->debug = nouveau_dbgopt(device->dbgopt, "DEVICE"); >> + nv_engine(device)->sclass = nouveau_device_sclass; >> + list_add(&device->head, &nv_devices); >> +done: >> + mutex_unlock(&nv_devices_mutex); >> + return ret; >> +} > > I think there's some potential for refactoring here, since the only > difference that I can spot is in whether...
2014 Feb 01
28
[RFC 00/16] drm/nouveau: initial support for GK20A (Tegra K1)
Hello everyone, GK20A is the Kepler-based GPU used in the upcoming Tegra K1 chips. The following patches perform architectural changes to Nouveau that are necessary to support non-PCI GPUs and add initial support for GK20A. Although the support is still very basic and more user-space changes will be needed to make the full graphics stack run on top of it, we were able to successfully open