]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: rework ctx entity creation
authorChristian König <christian.koenig@amd.com>
Wed, 1 Aug 2018 14:00:52 +0000 (16:00 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:11 +0000 (11:11 -0500)
commitafe8948e5a30be5adf66883d3f4fa799ca51be87
tree076c814bb4d51ba7bd3283a95cddbe10ac112352
parent11aba0b5545154d3728e51e2648c08e0ef6f691d
drm/amdgpu: rework ctx entity creation

Use a fixed number of entities for each hardware IP.

The number of compute entities is reduced to four, SDMA keeps it two
entities and all other engines just expose one entity.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c