فهرست منبع

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 سال پیش
والد
کامیت
f91ac470a8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);
 	struct page **p = drm_gem_get_pages(&etnaviv_obj->base);
 
 
 	if (IS_ERR(p)) {
 	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);
 		return PTR_ERR(p);
 	}
 	}