Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. adreno_ringbuffer_waitspace(struct adreno_ringbuffer *rb, unsigned int numcmds,
  2.               int wptr_ahead)
  3. {
  4.  
  5. if ((rb->wptr + numcmds) > (rb->sizedwords -
  6.                 GSL_RB_NOP_SIZEDWORDS))
  7.             adreno_ringbuffer_waitspace(rb, numcmds, 1);
  8.     } else {
  9.         /* wptr behind rptr */
  10.         if ((rb->wptr + numcmds) >= rb->rptr)
  11.             adreno_ringbuffer_waitspace(rb, numcmds, 0);
  12.         /* check for remaining space */
  13.         /* reserve dwords for nop packet */
  14.         if ((rb->wptr + numcmds) > (rb->sizedwords -
  15.                 GSL_RB_NOP_SIZEDWORDS))
  16.             adreno_ringbuffer_waitspace(rb, numcmds, 1);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top