diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-06-17 12:30:50 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-07-05 16:26:38 +0200 |
commit | c1c77b0e07dc6231db3c2c7b847c514849d53b99 (patch) | |
tree | c586d7c1f666b7f09c49bad9858d736ae557dbec /drivers/gpu/drm/etnaviv | |
parent | 1409df043ab737e7fdf9d843eab359caf8685bdc (diff) | |
download | linux-c1c77b0e07dc6231db3c2c7b847c514849d53b99.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c index 3d4f56df8359..7c5a4b408961 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c +++ b/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; - } } } } |