Loading drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c +2 −2 Original line number Diff line number Diff line Loading @@ -253,8 +253,8 @@ nv50_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, priv->r100c08 = dma_map_page(nv_device_base(device), priv->r100c08_page, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); if (!priv->r100c08) nv_warn(priv, "failed 0x100c08 page map\n"); if (dma_mapping_error(nv_device_base(device), priv->r100c08)) return -EFAULT; } else { nv_warn(priv, "failed 0x100c08 page alloc\n"); } Loading drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ nvc0_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, priv->r100c10 = dma_map_page(nv_device_base(device), priv->r100c10_page, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); if (!priv->r100c10) if (dma_mapping_error(nv_device_base(device), priv->r100c10)) return -EFAULT; } Loading Loading
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c +2 −2 Original line number Diff line number Diff line Loading @@ -253,8 +253,8 @@ nv50_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, priv->r100c08 = dma_map_page(nv_device_base(device), priv->r100c08_page, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); if (!priv->r100c08) nv_warn(priv, "failed 0x100c08 page map\n"); if (dma_mapping_error(nv_device_base(device), priv->r100c08)) return -EFAULT; } else { nv_warn(priv, "failed 0x100c08 page alloc\n"); } Loading
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ nvc0_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, priv->r100c10 = dma_map_page(nv_device_base(device), priv->r100c10_page, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); if (!priv->r100c10) if (dma_mapping_error(nv_device_base(device), priv->r100c10)) return -EFAULT; } Loading