Loading drivers/gpu/drm/nouveau/core/core/printk.c +6 −4 Original line number Diff line number Diff line Loading @@ -64,11 +64,13 @@ nv_printk_(struct nouveau_object *object, int level, const char *fmt, ...) struct nouveau_object *subdev; char obuf[64], *ofmt = ""; if (object->engine == NULL) { subdev = object; while (subdev && !nv_iclass(subdev, NV_SUBDEV_CLASS)) subdev = subdev->parent; if (!subdev) } else { subdev = object->engine; } device = subdev; if (device->parent) Loading drivers/gpu/drm/nouveau/core/engine/device/base.c +4 −3 Original line number Diff line number Diff line Loading @@ -512,9 +512,10 @@ struct nouveau_device * nv_device(void *obj) { struct nouveau_object *device = nv_object(obj); if (device->engine == NULL) { while (device && device->parent) device = device->parent; if (!nv_iclass(device, NV_ENGINE_CLASS)) { } else { device = nv_object(obj)->engine; if (device && device->parent) device = device->parent; Loading Loading
drivers/gpu/drm/nouveau/core/core/printk.c +6 −4 Original line number Diff line number Diff line Loading @@ -64,11 +64,13 @@ nv_printk_(struct nouveau_object *object, int level, const char *fmt, ...) struct nouveau_object *subdev; char obuf[64], *ofmt = ""; if (object->engine == NULL) { subdev = object; while (subdev && !nv_iclass(subdev, NV_SUBDEV_CLASS)) subdev = subdev->parent; if (!subdev) } else { subdev = object->engine; } device = subdev; if (device->parent) Loading
drivers/gpu/drm/nouveau/core/engine/device/base.c +4 −3 Original line number Diff line number Diff line Loading @@ -512,9 +512,10 @@ struct nouveau_device * nv_device(void *obj) { struct nouveau_object *device = nv_object(obj); if (device->engine == NULL) { while (device && device->parent) device = device->parent; if (!nv_iclass(device, NV_ENGINE_CLASS)) { } else { device = nv_object(obj)->engine; if (device && device->parent) device = device->parent; Loading