]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup CS pass2 v6
authorChristian König <christian.koenig@amd.com>
Thu, 24 Feb 2022 09:22:16 +0000 (10:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:18:09 +0000 (15:18 -0400)
commitaff441b608335c4534099300db427c4b9e1be39f
tree196c2ab6d41779d823bd3807d5c34c32f18d2e06
parentc4a52ca9a514e51e789f1ea9063c80ac65713bae
drm/amdgpu: cleanup CS pass2 v6

Cleanup the coding style and function names to represent the data
they process for pass2 as well.

Go over the chunks only twice now instead of multiple times.

v2: fix job initialisation order and use correct scheduler instance
v3: try to move all functional changes into a separate patch.
v4: separate reordering, pass1 and pass2 change
v5: fix va_start calculation
v6: fix user fence check

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