I guess, but this is kind of implicit assumption which is not really documented and easily overlooked.
Anyway - for this code it's not directly relevant.

Andrey


On 2022-09-13 03:25, Christian König wrote:
Am 13.09.22 um 04:00 schrieb Andrey Grodzovsky:

[SNIP]

You are right for scheduler mediated submissions (executing through drm_sched_backend_ops.run_job hook) , I am talking about direct submissions without gpu scheduler (using amdgpu_job_submit_direct)

Andrey

Direct submission is only used while initially testing the hardware, during a GPU reset/recovery or for handling page faults with the SDMA.

In other words when we know that we have exclusive access to the hardware.

Christian.

Reply via email to