/amdkfd: Don't drain ih1 for APU
On Tue, Aug 27, 2024 at 3:26 AM Yifan Zhang wrote:
>
> ih1 is not initialized for APUs. Don't drain it or NULL pointer error
> will be triggered.
>
> Fixes: 490fc21fe97c (drm/amdkfd: Change kfd/svm page fault drain
> handling)
On Tue, Aug 27, 2024 at 3:26 AM Yifan Zhang wrote:
>
> ih1 is not initialized for APUs. Don't drain it or NULL pointer
> error will be triggered.
>
> Fixes: 490fc21fe97c (drm/amdkfd: Change kfd/svm page fault drain handling)
> Signed-off-by: Yifan Zhang
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_svm
ih1 is not initialized for APUs. Don't drain it or NULL pointer
error will be triggered.
Fixes: 490fc21fe97c (drm/amdkfd: Change kfd/svm page fault drain handling)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(