[PATCH] drm/msm: Don't split an IB at the end of ring buffer.

2014-11-18 Thread kiran.pad...@smartplayin.com
Hi Ganesan, On Thursday, October 30, 2014 10:33pm, "Ganesan, Aravind" said: > Splitting the command sequence for an IB1 submission at the end of > the ring buffer can hang the GPU. To fix this, if there isn't > enough contiguous space at the end to fit the full command sequence, > insert NOPs

[PATCH] drm/msm: Don't split an IB at the end of ring buffer.

2014-10-30 Thread Ganesan, Aravind
Splitting the command sequence for an IB1 submission at the end of the ring buffer can hang the GPU. To fix this, if there isn't enough contiguous space at the end to fit the full command sequence, insert NOPs at the end, and write the sequence at the start, as space becomes available. Signed-off