drm/msm: split locking and pinning BO's
Split up locking and pinning buffers in the submit path. This is needed because we'll want to insert fencing in between the two steps. This makes things end up looking more similar to etnaviv submit code (which was originally modelled on the msm code but has already added 'struct fence' support). Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
@@ -100,7 +100,7 @@ struct msm_gem_submit {
|
||||
struct list_head bo_list;
|
||||
struct ww_acquire_ctx ticket;
|
||||
uint32_t fence;
|
||||
bool valid;
|
||||
bool valid; /* true if no cmdstream patching needed */
|
||||
unsigned int nr_cmds;
|
||||
unsigned int nr_bos;
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user