OSDN Git Service

drm/amd/include: Add mmhub 9.4 reg offsets and shift-mask
authorLeo Li <sunpeng.li@amd.com>
Thu, 22 Nov 2018 14:39:17 +0000 (09:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Dec 2018 22:49:50 +0000 (17:49 -0500)
commitd4295e12796e747f9a624a56cd54de51fb2b3bdd
treef6f462031852ecc37aa0abf4b5f68a6196194e14
parent223577753b54acf0033de9585340909a0ef05e68
drm/amd/include: Add mmhub 9.4 reg offsets and shift-mask

In particular, we need the mmMC_VM_XGMI_LFB_CNTL register, for
determining if xGMI is enabled on VG20. This will be used by DC to
determine the correct spread spectrum adjustment for display and audio
clocks.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_offset.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h [new file with mode: 0644]