[PATCH] drm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function

Alex Deucher alexdeucher at gmail.com
Fri May 10 15:48:40 UTC 2024


Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

On Fri, May 10, 2024 at 11:12 AM Sreekant Somasekharan
<sreekant.somasekharan at amd.com> wrote:
>
> GFX1201 was missed in the commit below. Adding it in.
>
> 'Fixes: 7c06cc729edc ("drm/amdkfd: mark GFX12 system and peer
> GPU memory mappings as MTYPE_NC")'
> Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan at amd.com>
> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> index b1ec7ef844ab..28c2c1b66226 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> @@ -1250,6 +1250,7 @@ svm_range_get_pte_flags(struct kfd_node *node,
>                 }
>                 break;
>         case IP_VERSION(12, 0, 0):
> +       case IP_VERSION(12, 0, 1):
>                 if (domain == SVM_RANGE_VRAM_DOMAIN) {
>                         if (bo_node != node)
>                                 mapping_flags |= AMDGPU_VM_MTYPE_NC;
> --
> 2.34.1
>


More information about the amd-gfx mailing list