[PATCH 28/29] drm/amdkfd: Refactor migrate init to support partition switch

Linux regression tracking #update (Thorsten Leemhuis) regressions at leemhuis.info
Fri Aug 11 09:02:06 UTC 2023


[TLDR: This mail in primarily relevant for Linux kernel regression
tracking. See link in footer if these mails annoy you.]

On 19.07.23 18:17, Linux regression tracking #adding (Thorsten Leemhuis)
wrote:
> On 17.07.23 15:09, Michel Dänzer wrote:
>> On 5/10/23 23:23, Alex Deucher wrote:
>>> From: Philip Yang <Philip.Yang at amd.com>
>>>
>>> Rename smv_migrate_init to a better name kgd2kfd_init_zone_device
>>> because it setup zone devive pgmap for page migration and keep it in
>>> kfd_migrate.c to access static functions svm_migrate_pgmap_ops. Call it
>>> only once in amdgpu_device_ip_init after adev ip blocks are initialized,
>>> but before amdgpu_amdkfd_device_init initialize kfd nodes which enable
>>> SVM support based on pgmap.
>>>
>>> svm_range_set_max_pages is called by kgd2kfd_device_init everytime after
>>> switching compute partition mode.
>>>
>>> Signed-off-by: Philip Yang <Philip.Yang at amd.com>
>>> Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
>>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>>
>> I bisected a regression to this commit, which broke HW acceleration on this ThinkPad E595 with Picasso APU.

#regzbot fix: drm/amdkfd: disable IOMMUv2 support for Raven
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.



More information about the amd-gfx mailing list