summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2022-09-27 17:51:33 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:48:05 -0400
commit2fa480d36eb302712e48dce4d2f6564b24426be3 (patch)
treea843488acc37b368c69b8186f185b727f3c50bdb /drivers/gpu/drm/amd/amdgpu/soc15.c
parent7d158f52bfbf82279ea8f1c3dc7a3ab3065a76e4 (diff)
downloadlinux-stable-2fa480d36eb302712e48dce4d2f6564b24426be3.tar.gz
linux-stable-2fa480d36eb302712e48dce4d2f6564b24426be3.tar.bz2
linux-stable-2fa480d36eb302712e48dce4d2f6564b24426be3.zip
drm/amdgpu: add helpers to access registers on different AIDs
SMN address which is larger than 32bit has different indications through bit[34:32] on different AIDs. v2: put smn addressing of different AIDs into asic specific place v3: change to ext_id/ext_offset naming Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 29d2e08834c7..206013d276c1 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -873,6 +873,7 @@ static const struct amdgpu_asic_funcs aqua_vanjaram_asic_funcs =
.supports_baco = &soc15_supports_baco,
.pre_asic_init = &soc15_pre_asic_init,
.query_video_codecs = &soc15_query_video_codecs,
+ .encode_ext_smn_addressing = &aqua_vanjaram_encode_ext_smn_addressing,
};
static int soc15_common_early_init(void *handle)