Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



test this patch can fix my boot and suspend problem.

2021-10-11 18:03 GMT+08:00, Zhang, Yifan <Yifan1.Zhang@xxxxxxx>:
> [Public]
>
> Hi youling,
>
> Would you pls try this patch ?
>
> BRs,
> Yifan
>
> -----Original Message-----
> From: youling 257 <youling257@xxxxxxxxx>
> Sent: Monday, October 11, 2021 2:18 PM
> To: Zhang, Yifan <Yifan1.Zhang@xxxxxxx>
> Cc: Kuehling, Felix <Felix.Kuehling@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init
>
> drm/amdgpu: init iommu after amdkfd device init but CONFIG_AMD_IOMMU=y
> CONFIG_AMD_IOMMU_V2=y
> [    0.203386] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@xxxxxxx>
> [    0.203387] AMD-Vi: AMD IOMMUv2 functionality not available on this
> system
> [    7.622052] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
> [    7.622128] kfd kfd: amdgpu: error getting iommu info. is the iommu
> enabled?
> [    7.622129] kfd kfd: amdgpu: Error initializing iommuv2
> [    7.622430] kfd kfd: amdgpu: device 1002:15d8 NOT added due to errors
>
> 2021-10-11 14:13 GMT+08:00, youling257 <youling257@xxxxxxxxx>:
>> my kernel config CONFIG_AMD_IOMMU=y CONFIG_AMD_IOMMU_V2=y.
>> linux kernel 5.15rc2 "drm/amdgpu: move iommu_resume before ip
>> init/resume"
>> cause my amd 3400g suspend to disk resume failed, have to press power
>> button to force shutdown.
>> linux kernel 5.15rc5 "drm/amdgpu: init iommu after amdkfd device init"
>> cause my amd 3400g blackscreen when boot enter my userspace.
>> i need revert "drm/amdgpu: init iommu after amdkfd device init" and
>> "drm/amdgpu: move iommu_resume before ip init/resume" for my
>> userspace, running androidx86 with mesa21.3 on amdgpu.
>>
>



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux