All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: Update psp fw attestation support list
@ 2021-06-07  3:12 Clements, John
  2021-06-07  3:24 ` Zhu, Changfeng
  2021-06-07  4:09 ` Zhu, Changfeng
  0 siblings, 2 replies; 4+ messages in thread
From: Clements, John @ 2021-06-07  3:12 UTC (permalink / raw)
  To: amd-gfx; +Cc: Zhu, Changfeng


[-- Attachment #1.1: Type: text/plain, Size: 148 bytes --]

[AMD Official Use Only - Internal Distribution Only]

Submitting patch to disable PSP FW attestation support on APU

Thank you,
John Clements

[-- Attachment #1.2: Type: text/html, Size: 1987 bytes --]

[-- Attachment #2: 0001-drm-amdgpu-Update-psp-fw-attestation-support-list.patch --]
[-- Type: application/octet-stream, Size: 965 bytes --]

From 9ffdb1e238349b422151b26e9cc06c8b824f8010 Mon Sep 17 00:00:00 2001
From: John Clements <john.clements@amd.com>
Date: Mon, 7 Jun 2021 11:09:18 +0800
Subject: [PATCH 1/1] drm/amdgpu: Update psp fw attestation support list

Disable support on APU

Change-Id: Ideb6157c43596eea6607304fdf7d356f0767c267
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
index 8d1ad294cb02..2ca3c329de6d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
@@ -121,6 +121,9 @@ static const struct file_operations amdgpu_fw_attestation_debugfs_ops = {
 
 static int amdgpu_is_fw_attestation_supported(struct amdgpu_device *adev)
 {
+	if (adev->flags & AMD_IS_APU)
+		return 0;
+
 	if (adev->asic_type >= CHIP_SIENNA_CICHLID)
 		return 1;
 
-- 
2.17.1


[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH] drm/amdgpu: Update psp fw attestation support list
  2021-06-07  3:12 [PATCH] drm/amdgpu: Update psp fw attestation support list Clements, John
@ 2021-06-07  3:24 ` Zhu, Changfeng
  2021-06-07  3:25   ` Zhu, Changfeng
  2021-06-07  4:09 ` Zhu, Changfeng
  1 sibling, 1 reply; 4+ messages in thread
From: Zhu, Changfeng @ 2021-06-07  3:24 UTC (permalink / raw)
  To: Clements, John, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 577 bytes --]

Hi John,

I think it's better to replace
if (adev->flags & AMD_IS_APU)
with
if (adev->asic_type >= CHIP_VANGOGH)

As you say, rembrandt should support this feature.

BR,
Changfeng.

From: Clements, John <John.Clements@amd.com>
Sent: Monday, June 7, 2021 11:13 AM
To: amd-gfx@lists.freedesktop.org
Cc: Zhu, Changfeng <Changfeng.Zhu@amd.com>
Subject: [PATCH] drm/amdgpu: Update psp fw attestation support list


[AMD Official Use Only - Internal Distribution Only]

Submitting patch to disable PSP FW attestation support on APU

Thank you,
John Clements

[-- Attachment #1.2: Type: text/html, Size: 3424 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] drm/amdgpu: Update psp fw attestation support list
  2021-06-07  3:24 ` Zhu, Changfeng
@ 2021-06-07  3:25   ` Zhu, Changfeng
  0 siblings, 0 replies; 4+ messages in thread
From: Zhu, Changfeng @ 2021-06-07  3:25 UTC (permalink / raw)
  To: Zhu, Changfeng, Clements, John, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1006 bytes --]

if (adev->asic_type == CHIP_VANGOGH)

BR,
Changfeng.


From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Zhu, Changfeng
Sent: Monday, June 7, 2021 11:24 AM
To: Clements, John <John.Clements@amd.com>; amd-gfx@lists.freedesktop.org
Subject: RE: [PATCH] drm/amdgpu: Update psp fw attestation support list

Hi John,

I think it's better to replace
if (adev->flags & AMD_IS_APU)
with
if (adev->asic_type >= CHIP_VANGOGH)

As you say, rembrandt should support this feature.

BR,
Changfeng.

From: Clements, John <John.Clements@amd.com<mailto:John.Clements@amd.com>>
Sent: Monday, June 7, 2021 11:13 AM
To: amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>
Cc: Zhu, Changfeng <Changfeng.Zhu@amd.com<mailto:Changfeng.Zhu@amd.com>>
Subject: [PATCH] drm/amdgpu: Update psp fw attestation support list


[AMD Official Use Only - Internal Distribution Only]

Submitting patch to disable PSP FW attestation support on APU

Thank you,
John Clements

[-- Attachment #1.2: Type: text/html, Size: 4475 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] drm/amdgpu: Update psp fw attestation support list
  2021-06-07  3:12 [PATCH] drm/amdgpu: Update psp fw attestation support list Clements, John
  2021-06-07  3:24 ` Zhu, Changfeng
@ 2021-06-07  4:09 ` Zhu, Changfeng
  1 sibling, 0 replies; 4+ messages in thread
From: Zhu, Changfeng @ 2021-06-07  4:09 UTC (permalink / raw)
  To: Clements, John, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]

Hi John,

As talked offline, the patch fine with apu at present.

Reviewed-by: Changfeng <Changfeng.Zhu@amd.com>


BR,
Changfeng.

From: Clements, John <John.Clements@amd.com>
Sent: Monday, June 7, 2021 11:13 AM
To: amd-gfx@lists.freedesktop.org
Cc: Zhu, Changfeng <Changfeng.Zhu@amd.com>
Subject: [PATCH] drm/amdgpu: Update psp fw attestation support list


[AMD Official Use Only - Internal Distribution Only]

Submitting patch to disable PSP FW attestation support on APU

Thank you,
John Clements

[-- Attachment #1.2: Type: text/html, Size: 3292 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-07  4:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07  3:12 [PATCH] drm/amdgpu: Update psp fw attestation support list Clements, John
2021-06-07  3:24 ` Zhu, Changfeng
2021-06-07  3:25   ` Zhu, Changfeng
2021-06-07  4:09 ` Zhu, Changfeng

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.