drm/amdgpu: allow direct upload save restore list for raven2
Subsystems (2)
PATCH 1/1 drm/amdgpu: allow direct upload save restore list for raven2
From: changzhu <[email protected]>
It will cause modprobe atombios stuck problem in raven2 if it doesn't allow direct upload save restore list from gfx driver.
So it needs to allow direct upload save restore list for raven2 temporarily.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +3 -1
@@ -2729,7 +2729,9 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)* And it's needed by gfxoff feature. */ if (adev->gfx.rlc.is_rlc_v2_1) { -if (adev->asic_type ==CHIP_VEGA12 ) +if (adev->asic_type ==CHIP_VEGA12 || + (adev->asic_type ==CHIP_RAVEN && + adev->rev_id >=8 ))gfx_v9_1_init_rlc_save_restore_list (adev);gfx_v9_0_enable_save_restore_machine (adev); }
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20191108015432.11840-1-changfeng.zhu-5C7GfCeVMHo@public.gmane.org
Huang, Ray
Reviewed-by Huang RuiQuoted 9 lines
-----Original Message-----
From: Zhu, Changfeng <[email protected]>
Sent: Friday, November 08, 2019 9:55 AM
To: [email protected]; Zhang, Hawking <[email protected]>; Huang, Ray <[email protected]>
Cc: Zhu, Changfeng <[email protected]>
Subject: [PATCH] drm/amdgpu: allow direct upload save restore list for raven2
Quoted 8 lines
From: changzhu <[email protected]>
It will cause modprobe atombios stuck problem in raven2 if it doesn't allow direct upload save restore list from gfx driver.
So it needs to allow direct upload save restore list for raven2 temporarily.Change-Id I1fece1b9c61f7a13eec948f34eb60a9120046bc2Signed-off-by changzhu <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +3
-1@@ -2729,7 +2729,9 @@ static void gfx_v9_0_init_pg(struct amdgpu_device*adev) * And it's needed by gfxoff feature. */ if (adev->gfx.rlc.is_rlc_v2_1) { -if (adev->asic_type ==CHIP_VEGA12 ) +if (adev->asic_type ==CHIP_VEGA12 || + (adev->asic_type ==CHIP_RAVEN && + adev->rev_id >=8 ))gfx_v9_1_init_rlc_save_restore_list (adev);gfx_v9_0_enable_save_restore_machine (adev);
Quoted 3 lines
}
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
What about picasso and raven1?
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Zhu, Changfeng <[email protected]>
Sent: Thursday, November 7, 2019 8:54 PM
To: [email protected] <[email protected]>; Zhang, Hawking <[email protected]>; Huang, Ray <[email protected]>
Cc: Zhu, Changfeng <[email protected]>
Subject: [PATCH] drm/amdgpu: allow direct upload save restore list for raven2
From: changzhu <[email protected]>
It will cause modprobe atombios stuck problem in raven2 if it doesn't allow direct upload save restore list from gfx driver.
So it needs to allow direct upload save restore list for raven2 temporarily.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +3 -1
@@ -2729,7 +2729,9 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)* And it's needed by gfxoff feature. */ if (adev->gfx.rlc.is_rlc_v2_1) { -if (adev->asic_type ==CHIP_VEGA12 ) +if (adev->asic_type ==CHIP_VEGA12 || + (adev->asic_type ==CHIP_RAVEN && + adev->rev_id >=8 ))gfx_v9_1_init_rlc_save_restore_list (adev);gfx_v9_0_enable_save_restore_machine (adev); }
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx