]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move entity selection and job init earlier during CS
authorChristian König <christian.koenig@amd.com>
Mon, 5 Sep 2022 07:22:29 +0000 (09:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:18:23 +0000 (15:18 -0400)
commitfdb6024ac612010025f00942124508e4293e6bfe
tree3c5ed60eec62f12c01b9de391a63e8bdaa871473
parent62691f27c114d8b3785ffb2b16ab506e31df6f17
drm/amdgpu: move entity selection and job init earlier during CS

Initialize the entity for the CS and scheduler job much earlier.

v2: fix job initialisation order and use correct scheduler instance

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h