drm/gem-cma-helper: Change the level of the allocation failure message
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 5 Oct 2017 11:29:17 +0000 (13:29 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 16 Oct 2017 13:19:57 +0000 (15:19 +0200)
commite0ad7c0f37478853f12a723f46f87cd672ca9d67
treeefd03a996d7f595471be555410f92cd36dd0347d
parent2e20c9ddae0b3770abca4b9b1a5243d6841bdd84
drm/gem-cma-helper: Change the level of the allocation failure message

drm_gem_cma_create() prints an error message when dma_alloc_wc() fails to
allocate the amount of memory we requested. This can lead to annoying
error messages when CMA is only one possible source of memory for the BO
allocation. Turn this error message into a debug one.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20171005112917.15949-1-boris.brezillon@free-electrons.com
drivers/gpu/drm/drm_gem_cma_helper.c