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>
Showing
- configure.ac 1 addition, 1 deletionconfigure.ac
- libdrm/intel/intel_bufmgr.c 9 additions, 0 deletionslibdrm/intel/intel_bufmgr.c
- libdrm/intel/intel_bufmgr_gem.c 9 additions, 8 deletionslibdrm/intel/intel_bufmgr_gem.c
- libdrm/intel/intel_bufmgr_priv.h 13 additions, 0 deletionslibdrm/intel/intel_bufmgr_priv.h
Loading
Please register or sign in to comment