[PATCH v2] drm/gem-cma-helper: Change the level of the allocation failure message

Eric Anholt eric at anholt.net
Thu Oct 5 17:10:31 UTC 2017


Boris Brezillon <boris.brezillon at free-electrons.com> writes:

> 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 at free-electrons.com>
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171005/515ece80/attachment.sig>


More information about the dri-devel mailing list