intel: return error status from drm_intel_gem_bo_map
authorKeith Packard <keithp@keithp.com>
Sat, 13 Dec 2008 19:06:11 +0000 (11:06 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 17 Dec 2008 18:28:25 +0000 (10:28 -0800)
commitbd14b2cf7551826c6437bbf1d8409cebd45615a5
treec4d1070eaba166ef219591ffbb1bae09eda52899
parentb13f4e1a32ab98fa719a3233cad59ff4d49cfb38
intel: return error status from drm_intel_gem_bo_map

Applications may actually care if the mapping operation failed, so when
it happens, return an error indication. errno is probably trashed by
fprintf though.

Signed-off-by: Keith Packard <keithp@keithp.com>
libdrm/intel/intel_bufmgr_gem.c