Re: [Freedreno] [PATCH v12 07/13] drm/msm: Add a context pointer to the submitqueue

2020-08-13 Thread Rob Clark
On Mon, Aug 10, 2020 at 3:27 PM Jordan Crouse wrote: > > Each submitqueue is attached to a context. Add a pointer to the > context to the submitqueue at create time and refcount it so > that it stays around through the life of the queue. > > GPU submissions can access the active context via the su

Re: [Freedreno] [PATCH v12 07/13] drm/msm: Add a context pointer to the submitqueue

2020-08-13 Thread Rob Clark
On Mon, Aug 10, 2020 at 3:27 PM Jordan Crouse wrote: > > Each submitqueue is attached to a context. Add a pointer to the > context to the submitqueue at create time and refcount it so > that it stays around through the life of the queue. > > GPU submissions can access the active context via the su

[PATCH v12 07/13] drm/msm: Add a context pointer to the submitqueue

2020-08-10 Thread Jordan Crouse
Each submitqueue is attached to a context. Add a pointer to the context to the submitqueue at create time and refcount it so that it stays around through the life of the queue. GPU submissions can access the active context via the submitqueue instead of requiring it to be passed around from functi