]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable gpu-sched load balance for uvd
authorNirmoy Das <nirmoy.das@amd.com>
Sat, 29 Aug 2020 04:51:41 +0000 (06:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Sep 2020 18:46:54 +0000 (14:46 -0400)
commit8b86357e1392aace725ad0dd8505ea8b69a92d74
tree10c8ea1f2772d64300db8964929fbb79cddd2a37
parentd4ecbf33377fc95a1754ab6cb78e830c2ac75c56
drm/amdgpu: disable gpu-sched load balance for uvd

On hardware with multiple uvd instances, dependent uvd jobs
may get scheduled to different uvd instances. Because uvd_enc
jobs retain hw context, dependent jobs should always run on the
same uvd instance. This patch disables GPU scheduler's load balancer
for a context that binds jobs from the same context to a uvd
instance.

v2: Squash in uvd_enc fix

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-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_ctx.c