diff options
| author | Hawking Zhang <Hawking.Zhang@amd.com> | 2025-06-15 14:21:10 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-12-10 17:39:19 -0500 |
| commit | 51b9bb61e5bbfb488b080d1e85ae681ee95a0731 (patch) | |
| tree | 830a45fe769f7f94b20575efc6cc843532ea2962 /drivers/gpu | |
| parent | 7e40fe89dd9cb40c2a05f22dbfbbd425cd59a018 (diff) | |
| download | linux-51b9bb61e5bbfb488b080d1e85ae681ee95a0731.tar.gz linux-51b9bb61e5bbfb488b080d1e85ae681ee95a0731.zip | |
drm/amdgpu: Initialize memory partition callbacks for gmc v12_1
Initialize memory partition callbacks for gmv v12_1
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c index 55f77520df2f..50208a3456a1 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c @@ -578,6 +578,8 @@ static const struct amdgpu_gmc_funcs gmc_v12_1_gmc_funcs = { .emit_pasid_mapping = gmc_v12_1_emit_pasid_mapping, .get_vm_pde = gmc_v12_1_get_vm_pde, .get_vm_pte = gmc_v12_1_get_vm_pte, + .query_mem_partition_mode = &amdgpu_gmc_query_memory_partition, + .request_mem_partition_mode = &amdgpu_gmc_request_memory_partition, }; void gmc_v12_1_set_gmc_funcs(struct amdgpu_device *adev) |
