AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: fix huge page handling on Vega10
@ 2018-11-12 17:09 Christian König
       [not found] ` <20181112170942.10674-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Christian König @ 2018-11-12 17:09 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

We accidentially set the huge flag on the parent instead of the childs.
This caused some VM faults under memory pressure.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 352b30409060..dad0e2342df9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
 			continue;
 		}
 
-		/* First check if the entry is already handled */
-		if (cursor.pfn < frag_start) {
-			cursor.entry->huge = true;
-			amdgpu_vm_pt_next(adev, &cursor);
-			continue;
-		}
-
 		/* If it isn't already handled it can't be a huge page */
 		if (cursor.entry->huge) {
 			/* Add the entry to the relocated list to update it. */
@@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
 			}
 		} while (frag_start < entry_end);
 
-		if (frag >= shift)
+		if (amdgpu_vm_pt_descendant(adev, &cursor)) {
+			/* Mark all child entries as huge */
+			while (cursor.pfn < frag_start) {
+				cursor.entry->huge = true;
+				amdgpu_vm_pt_next(adev, &cursor);
+			}
+
+		} else if (frag >= shift) {
+			/* or just move on to the next on the same level. */
 			amdgpu_vm_pt_next(adev, &cursor);
+		}
 	}
 
 	return 0;
-- 
2.14.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found] ` <20181112170942.10674-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
@ 2018-11-12 17:16   ` Alex Deucher
       [not found]     ` <CADnq5_MORq4h3zMq_YF+_8HjMyqn61AweLxwYfr+oo4kfkxdfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2018-11-12 23:50   ` Kuehling, Felix
  1 sibling, 1 reply; 7+ messages in thread
From: Alex Deucher @ 2018-11-12 17:16 UTC (permalink / raw)
  To: Christian König; +Cc: amd-gfx list

On Mon, Nov 12, 2018 at 12:09 PM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> We accidentially set the huge flag on the parent instead of the childs.
> This caused some VM faults under memory pressure.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>

Acked-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>  1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index 352b30409060..dad0e2342df9 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>                         continue;
>                 }
>
> -               /* First check if the entry is already handled */
> -               if (cursor.pfn < frag_start) {
> -                       cursor.entry->huge = true;
> -                       amdgpu_vm_pt_next(adev, &cursor);
> -                       continue;
> -               }
> -
>                 /* If it isn't already handled it can't be a huge page */
>                 if (cursor.entry->huge) {
>                         /* Add the entry to the relocated list to update it. */
> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>                         }
>                 } while (frag_start < entry_end);
>
> -               if (frag >= shift)
> +               if (amdgpu_vm_pt_descendant(adev, &cursor)) {
> +                       /* Mark all child entries as huge */
> +                       while (cursor.pfn < frag_start) {
> +                               cursor.entry->huge = true;
> +                               amdgpu_vm_pt_next(adev, &cursor);
> +                       }
> +
> +               } else if (frag >= shift) {
> +                       /* or just move on to the next on the same level. */
>                         amdgpu_vm_pt_next(adev, &cursor);
> +               }
>         }
>
>         return 0;
> --
> 2.14.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found]     ` <CADnq5_MORq4h3zMq_YF+_8HjMyqn61AweLxwYfr+oo4kfkxdfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-11-12 21:45       ` Samuel Pitoiset
       [not found]         ` <f460f333-e31c-2347-4d96-dd04d7416451-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Samuel Pitoiset @ 2018-11-12 21:45 UTC (permalink / raw)
  To: Alex Deucher, Christian König; +Cc: amd-gfx list



On 11/12/18 6:16 PM, Alex Deucher wrote:
> On Mon, Nov 12, 2018 at 12:09 PM Christian König
> <ckoenig.leichtzumerken@gmail.com> wrote:
>>
>> We accidentially set the huge flag on the parent instead of the childs.
>> This caused some VM faults under memory pressure.
>>
>> Signed-off-by: Christian König <christian.koenig@amd.com>

Yes, this fixes GPU hangs with F12017 and RoTR with RADV.

Thanks for the fix Christian!

> 
> Acked-by: Alex Deucher <alexander.deucher@amd.com>
> 
>> ---
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>>   1 file changed, 10 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> index 352b30409060..dad0e2342df9 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>>                          continue;
>>                  }
>>
>> -               /* First check if the entry is already handled */
>> -               if (cursor.pfn < frag_start) {
>> -                       cursor.entry->huge = true;
>> -                       amdgpu_vm_pt_next(adev, &cursor);
>> -                       continue;
>> -               }
>> -
>>                  /* If it isn't already handled it can't be a huge page */
>>                  if (cursor.entry->huge) {
>>                          /* Add the entry to the relocated list to update it. */
>> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>>                          }
>>                  } while (frag_start < entry_end);
>>
>> -               if (frag >= shift)
>> +               if (amdgpu_vm_pt_descendant(adev, &cursor)) {
>> +                       /* Mark all child entries as huge */
>> +                       while (cursor.pfn < frag_start) {
>> +                               cursor.entry->huge = true;
>> +                               amdgpu_vm_pt_next(adev, &cursor);
>> +                       }
>> +
>> +               } else if (frag >= shift) {
>> +                       /* or just move on to the next on the same level. */
>>                          amdgpu_vm_pt_next(adev, &cursor);
>> +               }
>>          }
>>
>>          return 0;
>> --
>> 2.14.1
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found] ` <20181112170942.10674-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
  2018-11-12 17:16   ` Alex Deucher
@ 2018-11-12 23:50   ` Kuehling, Felix
       [not found]     ` <076d08d0-bdf8-4c59-88aa-0d45383e66cb-5C7GfCeVMHo@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Kuehling, Felix @ 2018-11-12 23:50 UTC (permalink / raw)
  To: Christian König,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

On 2018-11-12 12:09 p.m., Christian König wrote:
> We accidentially set the huge flag on the parent instead of the childs.
> This caused some VM faults under memory pressure.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

I got a bit confused when re-reading this code. Maybe part of it is that
cursor.entry is not really an entry (as in PTE), but a page table.
cursor.pfn identifies the entry within the table. Maybe renaming
cursor.entry to something like cursor.table would make it slightly more
intuitive.

Regards,
  Felix


>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>  1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index 352b30409060..dad0e2342df9 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>  			continue;
>  		}
>  
> -		/* First check if the entry is already handled */
> -		if (cursor.pfn < frag_start) {
> -			cursor.entry->huge = true;
> -			amdgpu_vm_pt_next(adev, &cursor);
> -			continue;
> -		}
> -
>  		/* If it isn't already handled it can't be a huge page */
>  		if (cursor.entry->huge) {
>  			/* Add the entry to the relocated list to update it. */
> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>  			}
>  		} while (frag_start < entry_end);
>  
> -		if (frag >= shift)
> +		if (amdgpu_vm_pt_descendant(adev, &cursor)) {
> +			/* Mark all child entries as huge */
> +			while (cursor.pfn < frag_start) {
> +				cursor.entry->huge = true;
> +				amdgpu_vm_pt_next(adev, &cursor);
> +			}
> +
> +		} else if (frag >= shift) {
> +			/* or just move on to the next on the same level. */
>  			amdgpu_vm_pt_next(adev, &cursor);
> +		}
>  	}
>  
>  	return 0;
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found]     ` <076d08d0-bdf8-4c59-88aa-0d45383e66cb-5C7GfCeVMHo@public.gmane.org>
@ 2018-11-13  7:47       ` Christian König
  0 siblings, 0 replies; 7+ messages in thread
From: Christian König @ 2018-11-13  7:47 UTC (permalink / raw)
  To: Kuehling, Felix,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Am 13.11.18 um 00:50 schrieb Kuehling, Felix:
> On 2018-11-12 12:09 p.m., Christian König wrote:
>> We accidentially set the huge flag on the parent instead of the childs.
>> This caused some VM faults under memory pressure.
> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
>
> I got a bit confused when re-reading this code. Maybe part of it is that
> cursor.entry is not really an entry (as in PTE), but a page table.
> cursor.pfn identifies the entry within the table. Maybe renaming
> cursor.entry to something like cursor.table would make it slightly more
> intuitive.

Good point and suggestion how to improve the naming. Going to make that 
change when I improve things further towards recoverable page faults.

Christian.

>
> Regards,
>    Felix
>
>
>> Signed-off-by: Christian König <christian.koenig@amd.com>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>>   1 file changed, 10 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> index 352b30409060..dad0e2342df9 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>>   			continue;
>>   		}
>>   
>> -		/* First check if the entry is already handled */
>> -		if (cursor.pfn < frag_start) {
>> -			cursor.entry->huge = true;
>> -			amdgpu_vm_pt_next(adev, &cursor);
>> -			continue;
>> -		}
>> -
>>   		/* If it isn't already handled it can't be a huge page */
>>   		if (cursor.entry->huge) {
>>   			/* Add the entry to the relocated list to update it. */
>> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct amdgpu_pte_update_params *params,
>>   			}
>>   		} while (frag_start < entry_end);
>>   
>> -		if (frag >= shift)
>> +		if (amdgpu_vm_pt_descendant(adev, &cursor)) {
>> +			/* Mark all child entries as huge */
>> +			while (cursor.pfn < frag_start) {
>> +				cursor.entry->huge = true;
>> +				amdgpu_vm_pt_next(adev, &cursor);
>> +			}
>> +
>> +		} else if (frag >= shift) {
>> +			/* or just move on to the next on the same level. */
>>   			amdgpu_vm_pt_next(adev, &cursor);
>> +		}
>>   	}
>>   
>>   	return 0;

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found]         ` <f460f333-e31c-2347-4d96-dd04d7416451-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2018-11-13  8:14           ` Christian König
       [not found]             ` <34255c9f-b167-f8bc-7ce9-e1e75123cef4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Christian König @ 2018-11-13  8:14 UTC (permalink / raw)
  To: Samuel Pitoiset, Alex Deucher; +Cc: amd-gfx list

Am 12.11.18 um 22:45 schrieb Samuel Pitoiset:
>
>
> On 11/12/18 6:16 PM, Alex Deucher wrote:
>> On Mon, Nov 12, 2018 at 12:09 PM Christian König
>> <ckoenig.leichtzumerken@gmail.com> wrote:
>>>
>>> We accidentially set the huge flag on the parent instead of the childs.
>>> This caused some VM faults under memory pressure.
>>>
>>> Signed-off-by: Christian König <christian.koenig@amd.com>
>
> Yes, this fixes GPU hangs with F12017 and RoTR with RADV.
>
> Thanks for the fix Christian!

Just FYI I take sentences as this as a "Tested-by: Samuel Pitoiset 
<samuel.pitoiset@gmail.com>".

So if you don't want your mail address to show up in a kernel commit 
start better say so before Alex pushes it upstream :)

Christian.

>
>>
>> Acked-by: Alex Deucher <alexander.deucher@amd.com>
>>
>>> ---
>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>>>   1 file changed, 10 insertions(+), 8 deletions(-)
>>>
>>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 
>>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>> index 352b30409060..dad0e2342df9 100644
>>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct 
>>> amdgpu_pte_update_params *params,
>>>                          continue;
>>>                  }
>>>
>>> -               /* First check if the entry is already handled */
>>> -               if (cursor.pfn < frag_start) {
>>> -                       cursor.entry->huge = true;
>>> -                       amdgpu_vm_pt_next(adev, &cursor);
>>> -                       continue;
>>> -               }
>>> -
>>>                  /* If it isn't already handled it can't be a huge 
>>> page */
>>>                  if (cursor.entry->huge) {
>>>                          /* Add the entry to the relocated list to 
>>> update it. */
>>> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct 
>>> amdgpu_pte_update_params *params,
>>>                          }
>>>                  } while (frag_start < entry_end);
>>>
>>> -               if (frag >= shift)
>>> +               if (amdgpu_vm_pt_descendant(adev, &cursor)) {
>>> +                       /* Mark all child entries as huge */
>>> +                       while (cursor.pfn < frag_start) {
>>> +                               cursor.entry->huge = true;
>>> +                               amdgpu_vm_pt_next(adev, &cursor);
>>> +                       }
>>> +
>>> +               } else if (frag >= shift) {
>>> +                       /* or just move on to the next on the same 
>>> level. */
>>>                          amdgpu_vm_pt_next(adev, &cursor);
>>> +               }
>>>          }
>>>
>>>          return 0;
>>> -- 
>>> 2.14.1
>>>
>>> _______________________________________________
>>> amd-gfx mailing list
>>> amd-gfx@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/amdgpu: fix huge page handling on Vega10
       [not found]             ` <34255c9f-b167-f8bc-7ce9-e1e75123cef4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2018-11-13  9:08               ` Samuel Pitoiset
  0 siblings, 0 replies; 7+ messages in thread
From: Samuel Pitoiset @ 2018-11-13  9:08 UTC (permalink / raw)
  To: christian.koenig-5C7GfCeVMHo, Alex Deucher; +Cc: amd-gfx list



On 11/13/18 9:14 AM, Christian König wrote:
> Am 12.11.18 um 22:45 schrieb Samuel Pitoiset:
>>
>>
>> On 11/12/18 6:16 PM, Alex Deucher wrote:
>>> On Mon, Nov 12, 2018 at 12:09 PM Christian König
>>> <ckoenig.leichtzumerken@gmail.com> wrote:
>>>>
>>>> We accidentially set the huge flag on the parent instead of the childs.
>>>> This caused some VM faults under memory pressure.
>>>>
>>>> Signed-off-by: Christian König <christian.koenig@amd.com>
>>
>> Yes, this fixes GPU hangs with F12017 and RoTR with RADV.
>>
>> Thanks for the fix Christian!
> 
> Just FYI I take sentences as this as a "Tested-by: Samuel Pitoiset 
> <samuel.pitoiset@gmail.com>".
> 
> So if you don't want your mail address to show up in a kernel commit 
> start better say so before Alex pushes it upstream :)

Feel free to add that tag :)

> 
> Christian.
> 
>>
>>>
>>> Acked-by: Alex Deucher <alexander.deucher@amd.com>
>>>
>>>> ---
>>>>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 18 ++++++++++--------
>>>>   1 file changed, 10 insertions(+), 8 deletions(-)
>>>>
>>>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 
>>>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>>> index 352b30409060..dad0e2342df9 100644
>>>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
>>>> @@ -1632,13 +1632,6 @@ static int amdgpu_vm_update_ptes(struct 
>>>> amdgpu_pte_update_params *params,
>>>>                          continue;
>>>>                  }
>>>>
>>>> -               /* First check if the entry is already handled */
>>>> -               if (cursor.pfn < frag_start) {
>>>> -                       cursor.entry->huge = true;
>>>> -                       amdgpu_vm_pt_next(adev, &cursor);
>>>> -                       continue;
>>>> -               }
>>>> -
>>>>                  /* If it isn't already handled it can't be a huge 
>>>> page */
>>>>                  if (cursor.entry->huge) {
>>>>                          /* Add the entry to the relocated list to 
>>>> update it. */
>>>> @@ -1701,8 +1694,17 @@ static int amdgpu_vm_update_ptes(struct 
>>>> amdgpu_pte_update_params *params,
>>>>                          }
>>>>                  } while (frag_start < entry_end);
>>>>
>>>> -               if (frag >= shift)
>>>> +               if (amdgpu_vm_pt_descendant(adev, &cursor)) {
>>>> +                       /* Mark all child entries as huge */
>>>> +                       while (cursor.pfn < frag_start) {
>>>> +                               cursor.entry->huge = true;
>>>> +                               amdgpu_vm_pt_next(adev, &cursor);
>>>> +                       }
>>>> +
>>>> +               } else if (frag >= shift) {
>>>> +                       /* or just move on to the next on the same 
>>>> level. */
>>>>                          amdgpu_vm_pt_next(adev, &cursor);
>>>> +               }
>>>>          }
>>>>
>>>>          return 0;
>>>> -- 
>>>> 2.14.1
>>>>
>>>> _______________________________________________
>>>> amd-gfx mailing list
>>>> amd-gfx@lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>> _______________________________________________
>>> amd-gfx mailing list
>>> amd-gfx@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>>
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-13  9:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-12 17:09 [PATCH] drm/amdgpu: fix huge page handling on Vega10 Christian König
     [not found] ` <20181112170942.10674-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2018-11-12 17:16   ` Alex Deucher
     [not found]     ` <CADnq5_MORq4h3zMq_YF+_8HjMyqn61AweLxwYfr+oo4kfkxdfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-11-12 21:45       ` Samuel Pitoiset
     [not found]         ` <f460f333-e31c-2347-4d96-dd04d7416451-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-11-13  8:14           ` Christian König
     [not found]             ` <34255c9f-b167-f8bc-7ce9-e1e75123cef4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-11-13  9:08               ` Samuel Pitoiset
2018-11-12 23:50   ` Kuehling, Felix
     [not found]     ` <076d08d0-bdf8-4c59-88aa-0d45383e66cb-5C7GfCeVMHo@public.gmane.org>
2018-11-13  7:47       ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox