Print this page
Published in Graphics

AMD’s Linux GPU patches seven Vega 10s

by on21 March 2017


40,000 lines of code changed

AMD has issued 100 Linux GPU patches for seven of its Vega 10 GPUs.

These 100 patches add up to 40,000 lines of code and have been sent out today for review. The idea is that AMD will use them as the basis to provide "Vega 10" support within the Linux AMDGPU DRM driver.

To be fair this is not a small task and there is some cudos for AMD for undertaking it. But the chipmaker wants to make sure that AMDGPU has Vega support and there were shedloads of changes over Polaris and other recent GPUs.

For example there is a new video BIOS interface, new hardware intellectual property, support for video decode using UVD (UVD 7.0), support for video encode using VCE (VCE 4.0), support for 3D via RadeonSI, power management, full display support using DC, and support for SR-IOV virtualization.

The 40,000 lines of code is on top of the tens of thousands of lines of code needed for DC/DAL.

Vega's display support is built on top of DC and AMD needed to get that to go to allow this new hardware support to happen.

Also seven Polaris 12 IDs were also included, but there is still no entry of Vega 11. The Vega 10 device will support:

{0x1002, 0x6860, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x6861, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x6862, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x6863, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x6867, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x686c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},
{0x1002, 0x687f, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGA10},

Polaris 12 device support includes:

{0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x6985, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x6986, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x6987, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x6995, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
{0x1002, 0x699F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},

The 100 patches up for review can be found on amd-gfx. The code will probably be included in Linux 4.12 .

Last modified on 21 March 2017
Rate this item
(0 votes)