[PATCH 00/17] SI support for amdgpu

Alex Deucher alexdeucher at gmail.com
Sat May 14 19:26:12 UTC 2016


This is an initial port of SI support from radeon to amdgpu. This
should be considered developer level code.  It's not ready for users.
GFX and DMA are mostly working.  DPM (power management) is implemented,
but not working yet.  UVD and VCE support have not yet been ported.
It uses the same ucode as radeon, just like CIK.

What works:
- FB console
- Unaccelerated X
- Basic OGL tests (e.g. piglit) using gbm

The code can also be found on the drm-next-4.8-wip-si branch of my fdo tree:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.8-wip-si

Alex


Ken Wang (13):
  drm/amdgpu: add SI asics types v2
  drm/amdgpu: add si header files v3
  drm/amdgpu: add graphic memory controller implementation for si v5
  drm/amdgpu: add interupt handler implementation for si v3
  drm/amdgpu: add display controller implementation for si v7
  drm/amdgpu: atombios change for dce6 to work v3
  drm/amdgpu: add graphic pipeline implementation for si v6
  drm/amdgpu: add DMA implementation for si v6
  drm/amdgpu: add si implementation v7
  drm/amdgpu: add all the components for si into Makefile/kconfig v3
  drm/amdgpu: add si ip blocks setup v3
  drm/amdgpu: add si specific logic into the device initialize function
    v2
  drm/amdgpu: add si pciids v2

Maruthi Srinivas Bayyavarapu (4):
  drm/amdgpu: add si dpm support in amdgpu_atombios
  drm/amdgpu: add SI SMC support
  drm/amdgpu: add SI DPM support (v3)
  drm/amdgpu: enable SI DPM

 drivers/gpu/drm/amd/amdgpu/Kconfig                 |    7 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |    9 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c       |  158 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h       |   16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   34 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   74 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c      |   10 +
 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c         |    8 +-
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c              | 3204 ++++++++
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.h              |   29 +
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c              | 3280 ++++++++
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.h              |   36 +
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c              | 1077 +++
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.h              |   36 +
 drivers/gpu/drm/amd/amdgpu/r600_dpm.h              |  127 +
 drivers/gpu/drm/amd/amdgpu/si.c                    | 1914 +++++
 drivers/gpu/drm/amd/amdgpu/si.h                    |   33 +
 drivers/gpu/drm/amd/amdgpu/si_dma.c                |  963 +++
 drivers/gpu/drm/amd/amdgpu/si_dma.h                |   29 +
 drivers/gpu/drm/amd/amdgpu/si_dpm.c                | 7982 ++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/si_dpm.h                | 1015 +++
 drivers/gpu/drm/amd/amdgpu/si_ih.c                 |  313 +
 drivers/gpu/drm/amd/amdgpu/si_ih.h                 |   29 +
 drivers/gpu/drm/amd/amdgpu/si_smc.c                |  280 +
 drivers/gpu/drm/amd/amdgpu/sislands_smc.h          |  423 ++
 drivers/gpu/drm/amd/include/amd_shared.h           |    7 +-
 .../drm/amd/include/asic_reg/si/clearstate_si.h    |  941 +++
 drivers/gpu/drm/amd/include/asic_reg/si/si_reg.h   |  105 +
 drivers/gpu/drm/amd/include/asic_reg/si/sid.h      | 2442 ++++++
 drivers/gpu/drm/amd/include/atombios.h             |    2 +
 31 files changed, 24578 insertions(+), 7 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v6_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/r600_dpm.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_dma.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_dma.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_dpm.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_dpm.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_ih.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_ih.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/si_smc.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/sislands_smc.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/si/clearstate_si.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/si/si_reg.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/si/sid.h

-- 
2.5.5



More information about the dri-devel mailing list