mirror of
https://github.com/UniXNU/NativeAdreno.git
synced 2026-11-19 22:06:49 +03:00
feat(timeline): owner pid and retire time per GPU job
Each timeline entry records the submitting process and when the driver saw the job retired, so a frame's wait for the ring and for completion can be split.
This commit is contained in:
committed by
Sharky Wang
Unverified
parent
36c4e44749
commit
88b83dd0ef
@@ -400,6 +400,7 @@ IOReturn NativeAdrenoUserClient::submit(const NativeAdrenoAbiSubmit *request,
|
||||
uint32_t fence=0;
|
||||
used_=true;
|
||||
ring_->useContext(context_);
|
||||
submit_->nextOwner(proc_selfpid());
|
||||
const IOReturn status=submit_->submit(vm_,buffers,request->buffer_count,
|
||||
queue_base_+request->queue,&fence,clock);
|
||||
if(status)return status;
|
||||
|
||||
Reference in New Issue
Block a user