Browse Source

drm/etnaviv: remove generic GPU init failure reporting

The GPU init path now reports any errors which might occur more accurately
than what is possible with the generic "something failed" message.

Remove the generic reporting, so we don't log an error into dmesg anymore
if any of the GPU cores are ignored.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Lucas Stach 9 years ago
parent
commit
c1c77b0e07
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/gpu/drm/etnaviv/etnaviv_drv.c

+ 1 - 3
drivers/gpu/drm/etnaviv/etnaviv_drv.c

@@ -91,10 +91,8 @@ static void load_gpu(struct drm_device *dev)
 			int ret;
 
 			ret = etnaviv_gpu_init(g);
-			if (ret) {
-				dev_err(g->dev, "hw init failed: %d\n", ret);
+			if (ret)
 				priv->gpu[i] = NULL;
-			}
 		}
 	}
 }