From: Danylo Piliaiev Date: Tue, 28 Apr 2020 11:51:26 +0000 (+0300) Subject: iris/bufmgr: Check if iris_bo_gem_mmap failed X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=8f0d3874411ec3c0dcb1171cad5930db70fb48b4;hp=8f0d3874411ec3c0dcb1171cad5930db70fb48b4 iris/bufmgr: Check if iris_bo_gem_mmap failed After refactoring of iris_bo_map_cpu and iris_bo_map_wc - immediate return of NULL on failure to mmap a buffer was lost. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2855 Fixes: 5bc3f52dd8c2b5acaae959ccae2e1fb7c769bb22 Signed-off-by: Danylo Piliaiev Reviewed-by: Lionel Landwerlin Part-of: ---