SMUIO is the IO subset of the SMU block. It handles a variety of functionality on the GPU including reading the ROM image and accessing the GPU clock counter. This adds support for SMUIO 14.0.2. Note that patch 1 adds register headers and is very large so it has been omitted. Hawking Zhang (4): drm/amdgpu: Add smuio v14_0_2 ip headers (v4) drm/amdgpu: Add smuio v14_0_2 ip block support drm/amdgpu: Add smuio callback to get gpu clk counter drm/amdgpu: Enable smuio v14_0_2 callbacks drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h | 1 + drivers/gpu/drm/amd/amdgpu/smuio_v14_0_2.c | 62 + drivers/gpu/drm/amd/amdgpu/smuio_v14_0_2.h | 30 + .../asic_reg/smuio/smuio_14_0_2_offset.h | 511 ++++++++ .../asic_reg/smuio/smuio_14_0_2_sh_mask.h | 1106 +++++++++++++++++ 7 files changed, 1716 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/smuio_v14_0_2.c create mode 100644 drivers/gpu/drm/amd/amdgpu/smuio_v14_0_2.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_14_0_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_14_0_2_sh_mask.h -- 2.44.0