]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/psp: move psp version specific function pointers to early_init
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 May 2019 02:45:06 +0000 (21:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 May 2019 22:47:04 +0000 (17:47 -0500)
commit44e7ef52f640d9cd328884d47088d1ecdbc563b0
tree7eae3ffcf11e073f29b7c55c0f7fbb143b55d70f
parent6b22a34e4bf89ebf3b1bcf2ca117e5ed7e022a5f
drm/amdgpu/psp: move psp version specific function pointers to early_init

In case we need to use them for GPU reset prior initializing the
asic.  Fixes a crash if the driver attempts to reset the GPU at driver
load time.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c