Displaying 2 results from an estimated 2 matches for "disable_mask".
2014 Jan 10
2
[PATCH 1/3] drm/nouveau: provide a way for devinit to mark engines as disabled
...parent,
if (ret)
return ret;
- if ( parent &&
- !nouveau_boolopt(nv_device(parent)->cfgopt, iname, enable)) {
- if (!enable)
- nv_warn(engine, "disabled, %s=1 to enable\n", iname);
- return -ENODEV;
+ if (parent) {
+ device = nv_device(parent);
+ if (device->disable_mask & (1ULL << (oclass->handle & 0xff))) {
+ if (nouveau_boolopt(device->cfgopt, iname, false)) {
+ nv_warn(engine, "hardware is marked as disabled, but obeying explicit enable\n");
+ } else {
+ nv_info(engine, "hardware is marked as disabled\n");
+...
2014 Jan 09
0
[Bug 58378] [NV86] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version
...: error:
'NVDEV_ENGINE_VIC' undeclared (first use in this function)
but "fixed" it for me by commenting out the lines for a 0xaf card (I have a
0x86 type anyway, so this code does not apply to me):
+ case 0xaf:
+ /* if (!(r154c & 0x40)) */
+ /* device->disable_mask |= 1ULL << NVDEV_ENGINE_VIC; */
+ /* fallthrough */
BR,
Andreas
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/201...