This is the patch by Alex Deucher that is believed to fix the NULL pointer dereference. I have not tested it but the issue looks very close. It is needed anyway.
> Guchun Chen
> Regarding the NULL pointer access, it should be duplicated of #2388. And the fix is "63a9ab264a8c drm/amd/pm/smu7: move variables to where they are used" .
This is the patch by Alex Deucher that is believed to fix the NULL pointer dereference. I have not tested it but the issue looks very close. It is needed anyway.
> Guchun Chen
> Regarding the NULL pointer access, it should be duplicated of #2388. And the fix is "63a9ab264a8c drm/amd/pm/smu7: move variables to where they are used" .