]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup CS init/fini and pass1
authorChristian König <christian.koenig@amd.com>
Wed, 7 Sep 2022 09:37:06 +0000 (11:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:01 +0000 (14:33 -0400)
commit1f303b0e48c3940d25fc9a9eb35a1ba8ff9f4aff
treefc70d710e41496a179358fc5a6e375ae25b928d6
parente6e37fd08b81c29f0fd48e129a3c245acdb119dc
drm/amdgpu: cleanup CS init/fini and pass1

Cleanup the coding style and function names to represent the data
they process. Only initialize and cleanup the CS structure in
init/fini.

Check the size of the IB chunk in pass1.

v2: fix job initialisation order and use correct scheduler instance
v3: try to move all functional changes into a separate patch.
v4: move reordering and pass2 out of this patch as well

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