Jelajahi Sumber

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 tahun lalu
induk
melakukan
f91ac470a8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
 	}