libdrm/intel: Make get_pipe_from_crtc_id per-bufmgr. Return -1 on failure.
authorKeith Packard <keithp@keithp.com>
Thu, 14 May 2009 23:58:14 +0000 (16:58 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 14 May 2009 23:58:14 +0000 (16:58 -0700)
commitf57d7f4b0b14972f92a83f155ae8033478aa7729
tree4235d7067d5438c4fbdefdfb4757ffeeee26862f
parentafd245dd7fd85cf3ffd3e6d5fe9711252aa2ed7f
libdrm/intel: Make get_pipe_from_crtc_id per-bufmgr. Return -1 on failure.

The convention is that all APIs are per-bufmgr, so make this one the same.
Then, have it return -1 on failure so that the application can know what's
going on and do something sensible.

Signed-off-by: Keith Packard <keithp@keithp.com>
configure.ac
libdrm/intel/intel_bufmgr.c
libdrm/intel/intel_bufmgr_gem.c
libdrm/intel/intel_bufmgr_priv.h