Skip to contentSkip to conversation

drm/amd: Restore flashing support for PSP 13.0.10

PATCH In review Mario Limonciello 2 participants 2 messages Jun 30, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd: Restore flashing support for PSP 13.0.10

This was accidentally lost by commit e6e3bee0bc9a3 ("drm/amd: Use attribute groups for PSP flashing attributes")

Fixes e6e3bee0bc9a ("drm/amd: Use attribute groups for PSP flashing attributes")
Reported-by [email protected]
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -1
index 270b5b5a3a6d1..c2508462e02f9 100644
@@ -201,7 +201,6 @@ static int psp_early_init(void *handle)
 	case IP_VERSION(13, 0, 3):
 	case IP_VERSION(13, 0, 5):
 	case IP_VERSION(13, 0, 8):
-	case IP_VERSION(13, 0, 10):
 	case IP_VERSION(13, 0, 11):
 		psp_v13_0_set_psp_funcs(psp);
 		psp->autoload_supported = true;
@@ -214,6 +213,7 @@ static int psp_early_init(void *handle)
 		break;
 	case IP_VERSION(13, 0, 0):
 	case IP_VERSION(13, 0, 7):
+	case IP_VERSION(13, 0, 10):
 		psp_v13_0_set_psp_funcs(psp);
 		psp->autoload_supported = true;
 		adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Mario Limonciello

This was accidentally lost by commit e6e3bee0bc9a3 ("drm/amd: Use attribute groups for PSP flashing attributes")

Fixes e6e3bee0bc9a ("drm/amd: Use attribute groups for PSP flashing attributes")
Reported-by [email protected]
Quoted 27 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -2
index 270b5b5a3a6d1..c2508462e02f9 100644
@@ -201,7 +201,6 @@ static int psp_early_init(void *handle)
        case IP_VERSION(13, 0, 3):
        case IP_VERSION(13, 0, 5):
        case IP_VERSION(13, 0, 8):
-       case IP_VERSION(13, 0, 10):
        case IP_VERSION(13, 0, 11):
                psp_v13_0_set_psp_funcs(psp);
                psp->autoload_supported = true;
@@ -214,6 +213,7 @@ static int psp_early_init(void *handle)
                break;
        case IP_VERSION(13, 0, 0):
        case IP_VERSION(13, 0, 7):
+       case IP_VERSION(13, 0, 10):
                psp_v13_0_set_psp_funcs(psp);
                psp->autoload_supported = true;
                adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
--

2.25.1