[AMD Official Use Only - General]

Reviewed-by: Hawking Zhang <[email protected]>

Regards,
Hawking
-----Original Message-----
From: Gao, Likun <[email protected]>
Sent: Friday, April 21, 2023 13:38
To: amd-gfx list <[email protected]>
Cc: Zhang, Hawking <[email protected]>; Xu, Feifei <[email protected]>
Subject: [PATCH] drm/amdgpu: support psp vbflash sysfs for MP0 13_0_10

[AMD Official Use Only - General]

From: Likun Gao <[email protected]>

Add support for PSP vbflash sysfs interface with MP0 version v13.0.10.

Signed-off-by: Likun Gao <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index a39d4ddf7743..3e900af06c23 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -3619,6 +3619,7 @@ int amdgpu_psp_sysfs_init(struct amdgpu_device *adev)
        switch (adev->ip_versions[MP0_HWIP][0]) {
        case IP_VERSION(13, 0, 0):
        case IP_VERSION(13, 0, 7):
+       case IP_VERSION(13, 0, 10):
                if (!psp->adev) {
                        psp->adev = adev;
                        psp_v13_0_set_psp_funcs(psp);
--
2.34.1

Reply via email to