Browse Source

drm/etnaviv: reduce allocation failure message severity

The GPU userspace is expected to deal with failure to allocate memory for
the GPU buffers, there is no need to spam the log on failure.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Lucas Stach 8 years ago
parent
commit
f91ac470a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/etnaviv/etnaviv_gem.c

+ 1 - 1
drivers/gpu/drm/etnaviv/etnaviv_gem.c

@@ -68,7 +68,7 @@ static int etnaviv_gem_shmem_get_pages(struct etnaviv_gem_object *etnaviv_obj)
 	struct page **p = drm_gem_get_pages(&etnaviv_obj->base);
 
 	if (IS_ERR(p)) {
-		dev_err(dev->dev, "could not get pages: %ld\n", PTR_ERR(p));
+		dev_dbg(dev->dev, "could not get pages: %ld\n", PTR_ERR(p));
 		return PTR_ERR(p);
 	}