Skip to contentSkip to conversation

drm/amdgpu: Add a new device ID for Aldebaran

PATCH In review Zhigang Luo 2 participants 5 messages Apr 29, 2021 – Apr 30, 2021

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

PATCH 1/1 drm/amdgpu: Add a new device ID for Aldebaran

It is Aldebaran VF device ID, for virtualization support.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -0
index 0369d3532bf0..310e1249e64e 100644
@@ -1186,6 +1186,7 @@ static const struct pci_device_id pciidlist[] = {
 	{0x1002, 0x7408, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 	{0x1002, 0x740C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 	{0x1002, 0x740F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
+	{0x1002, 0x7410, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 
 	{0, 0, 0}
 };
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Acked-by on v1 1/1
#1 lore raw

Am 2021-04-29 um 2:33 p.m. schrieb Zhigang Luo:

Quoted 3 lines

It is Aldebaran VF device ID, for virtualization support.

This patch looks good to me.

I believe you'll also need to add an entry for the VF in kfd_supported_devices in kfd_device.c.

Regards,
  Felix

Quoted 9 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -0
index 0369d3532bf0..310e1249e64e 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c static const struct pci_device_id pciidlist[] = { · line 1192

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -0
@@ -1186,6 +1186,7 @@ static const struct pci_device_id pciidlist[] = {
 	{0x1002, 0x7408, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 	{0x1002, 0x740C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 	{0x1002, 0x740F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
+	{0x1002, 0x7410, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 
 	{0, 0, 0}
 };

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

author Acked-by Felix Kuehling
#2 lore raw

[AMD Official Use Only - Internal Distribution Only]

Thanks, Felix.
Yes, I will sent out several patches for Aldebaran virtualization support soon.

Thanks,
Zhigang

-----Original Message-----
From: Kuehling, Felix <[email protected]>
Sent: April 29, 2021 2:40 PM
To: Luo, Zhigang <[email protected]>; [email protected]
Subject: Re: [PATCH 1/1] drm/amdgpu: Add a new device ID for Aldebaran

Am 2021-04-29 um 2:33 p.m. schrieb Zhigang Luo:

Quoted 3 lines

It is Aldebaran VF device ID, for virtualization support.

This patch looks good to me.

I believe you'll also need to add an entry for the VF in kfd_supported_devices in kfd_device.c.

Regards,
Felix

Quoted 10 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -0
index 0369d3532bf0..310e1249e64e 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c static const struct pci_device_id pciidlist[] = { · line 1192

Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -0
@@ -1186,6 +1186,7 @@ static const struct pci_device_id pciidlist[] = {
 {0x1002, 0x7408, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740F, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
+{0x1002, 0x7410, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 
 {0, 0, 0}
 };

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw

It just took me two minutes to do this myself. The commit is up for review on Gerrit:
http://gerrit-git.amd.com/c/compute/ec/libhsakmt/+/518573. Please review and test this.

Regards,
  Felix

Am 2021-04-29 um 2:46 p.m. schrieb Luo, Zhigang:

Quoted 45 lines

[AMD Official Use Only - Internal Distribution Only]

Thanks, Felix.
Yes, I will sent out several patches for Aldebaran virtualization support soon.

Thanks,
Zhigang

-----Original Message-----
From: Kuehling, Felix <[email protected]>
Sent: April 29, 2021 2:40 PM
To: Luo, Zhigang <[email protected]>; [email protected]
Subject: Re: [PATCH 1/1] drm/amdgpu: Add a new device ID for Aldebaran

Am 2021-04-29 um 2:33 p.m. schrieb Zhigang Luo:

Quoted 3 lines

It is Aldebaran VF device ID, for virtualization support.

This patch looks good to me.

I believe you'll also need to add an entry for the VF in kfd_supported_devices in kfd_device.c.

Regards,
Felix

Quoted 17 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -0
index 0369d3532bf0..310e1249e64e 100644
@@ -1186,6 +1186,7 @@ static const struct pci_device_id pciidlist[] = {
 {0x1002, 0x7408, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740F, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
+{0x1002, 0x7410, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 
Quoted 2 lines
Quoted 2 lines

{0, 0, 0}
};

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#4 lore raw

[AMD Official Use Only - Internal Distribution Only]

Thanks, Felix. The change looks good for me.

--Zhigang

-----Original Message-----
From: Kuehling, Felix <[email protected]>
Sent: April 30, 2021 1:45 PM
To: Luo, Zhigang <[email protected]>; [email protected]
Subject: Re: [PATCH 1/1] drm/amdgpu: Add a new device ID for Aldebaran

It just took me two minutes to do this myself. The commit is up for review on Gerrit:
http://gerrit-git.amd.com/c/compute/ec/libhsakmt/+/518573. Please review and test this.

Regards,
Felix

Am 2021-04-29 um 2:46 p.m. schrieb Luo, Zhigang:

Quoted 47 lines

[AMD Official Use Only - Internal Distribution Only]

Thanks, Felix.
Yes, I will sent out several patches for Aldebaran virtualization support soon.

Thanks,
Zhigang

-----Original Message-----
From: Kuehling, Felix <[email protected]>
Sent: April 29, 2021 2:40 PM
To: Luo, Zhigang <[email protected]>; [email protected]
Subject: Re: [PATCH 1/1] drm/amdgpu: Add a new device ID for Aldebaran

Am 2021-04-29 um 2:33 p.m. schrieb Zhigang Luo:

Quoted 3 lines

It is Aldebaran VF device ID, for virtualization support.

This patch looks good to me.

I believe you'll also need to add an entry for the VF in kfd_supported_devices in kfd_device.c.

Regards,
Felix

Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -0
index 0369d3532bf0..310e1249e64e 100644
@@ -1186,6 +1186,7 @@ static const struct pci_device_id pciidlist[] =
 {  {0x1002, 0x7408, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740C, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
 {0x1002, 0x740F, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
+{0x1002, 0x7410, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+CHIP_ALDEBARAN|AMD_EXP_HW_SUPPORT},
Quoted 2 lines
Quoted 2 lines

{0, 0, 0}
};

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx