* [PATCH] drm/amdgpu: Add JPEG IP block to SRIOV reinit
@ 2023-03-28 4:06 Yifan Zha
2023-03-28 7:00 ` Chen, Horace
0 siblings, 1 reply; 2+ messages in thread
From: Yifan Zha @ 2023-03-28 4:06 UTC (permalink / raw)
To: amd-gfx, Alexander.Deucher, Horace.Chen, Hawking.Zhang, haijun.chang
Cc: Yifan Zha
[Why]
Reset(mode1) failed as JPRG IP did not reinit under sriov.
[How]
Add JPEG IP block to sriov reinit function.
Signed-off-by: Yifan Zha <Yifan.Zha@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 065f5396d0ce..3b6b85d9e0be 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -3183,7 +3183,8 @@ static int amdgpu_device_ip_reinit_late_sriov(struct amdgpu_device *adev)
AMD_IP_BLOCK_TYPE_MES,
AMD_IP_BLOCK_TYPE_UVD,
AMD_IP_BLOCK_TYPE_VCE,
- AMD_IP_BLOCK_TYPE_VCN
+ AMD_IP_BLOCK_TYPE_VCN,
+ AMD_IP_BLOCK_TYPE_JPEG
};
for (i = 0; i < ARRAY_SIZE(ip_order); i++) {
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] drm/amdgpu: Add JPEG IP block to SRIOV reinit
2023-03-28 4:06 [PATCH] drm/amdgpu: Add JPEG IP block to SRIOV reinit Yifan Zha
@ 2023-03-28 7:00 ` Chen, Horace
0 siblings, 0 replies; 2+ messages in thread
From: Chen, Horace @ 2023-03-28 7:00 UTC (permalink / raw)
To: Zha, YiFan(Even),
amd-gfx, Deucher, Alexander, Zhang, Hawking, Chang, HaiJun
Cc: Zha, YiFan(Even)
[AMD Official Use Only - General]
Reviewed-by: Horace Chen <Horace.Chen@amd.com>
-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Yifan Zha
Sent: Tuesday, March 28, 2023 12:07 PM
To: amd-gfx@lists.freedesktop.org; Deucher, Alexander <Alexander.Deucher@amd.com>; Chen, Horace <Horace.Chen@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>; Chang, HaiJun <HaiJun.Chang@amd.com>
Cc: Zha, YiFan(Even) <Yifan.Zha@amd.com>
Subject: [PATCH] drm/amdgpu: Add JPEG IP block to SRIOV reinit
[Why]
Reset(mode1) failed as JPRG IP did not reinit under sriov.
[How]
Add JPEG IP block to sriov reinit function.
Signed-off-by: Yifan Zha <Yifan.Zha@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 065f5396d0ce..3b6b85d9e0be 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -3183,7 +3183,8 @@ static int amdgpu_device_ip_reinit_late_sriov(struct amdgpu_device *adev)
AMD_IP_BLOCK_TYPE_MES,
AMD_IP_BLOCK_TYPE_UVD,
AMD_IP_BLOCK_TYPE_VCE,
- AMD_IP_BLOCK_TYPE_VCN
+ AMD_IP_BLOCK_TYPE_VCN,
+ AMD_IP_BLOCK_TYPE_JPEG
};
for (i = 0; i < ARRAY_SIZE(ip_order); i++) {
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-28 7:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 4:06 [PATCH] drm/amdgpu: Add JPEG IP block to SRIOV reinit Yifan Zha
2023-03-28 7:00 ` Chen, Horace
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.