drm/amdgpu/mes12: adjust mes12 sw/hw init for multiple pipes
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 7 Aug 2024 06:44:07 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 17:17:36 +0000 (13:17 -0400)
commit1097727d6d0c13eca25321fff46714fc5047d6e8
tree39779a76b9b2d8d0e705e52218e50022abf5b9b2
parent3738a7f0ddb920bde538d3f78a02edbc6ad1307e
drm/amdgpu/mes12: adjust mes12 sw/hw init for multiple pipes

Adjust mes12 sw/hw initiailization for both pipe0 and pipe1
enablement. The two pipes are almost identical pipe. Pipe0
behaves like schq and pipe1 like kiq, pipe0 was mapped by pipe1.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit aa539da8aff07ab08def6490e8c9b441439e70ba)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c