diff options
| author | Jack Xiao <Jack.Xiao@amd.com> | 2024-08-07 11:53:35 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-13 13:04:48 -0400 |
| commit | 2029b3d7e1358bcca30f74978543ba35b4bbc43d (patch) | |
| tree | e39c69bd4dcc6b5389c18d7f8bc44f9c6283b573 /drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | |
| parent | 278e1865b7a2124ea783b75ea8b3ee0bc2da5d85 (diff) | |
| download | linux-next-2029b3d7e1358bcca30f74978543ba35b4bbc43d.tar.gz linux-next-2029b3d7e1358bcca30f74978543ba35b4bbc43d.zip | |
drm/amdgpu/mes: add multiple mes ring instances support
Add multiple mes ring instances in mes structure to support
multiple mes pipes.
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 c7d4355648ffa02a1551495b05c71ea6c884d29c)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c index 26efce9aa410..edcb5351f8cc 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c @@ -299,7 +299,7 @@ static void gmc_v12_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, /* This is necessary for SRIOV as well as for GFXOFF to function * properly under bare metal */ - if ((adev->gfx.kiq[0].ring.sched.ready || adev->mes.ring.sched.ready) && + if ((adev->gfx.kiq[0].ring.sched.ready || adev->mes.ring[0].sched.ready) && (amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev))) { struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; const unsigned eng = 17; |
