drm/amdgpu/atombios: add function for whether we need asic_init
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2017 21:21:42 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:05 +0000 (11:06 -0400)
commit4426826c02dc367ec3c245ef5c5ca4dcdb45b4c8
treedab4c2aa91e786ebf1031b69eae61ef26ab4c90e
parentd05da0e24bb584baf634489810561fc3d2a83bf3
drm/amdgpu/atombios: add function for whether we need asic_init

Check the atom scratch registers to see if asic_init is complete
or not.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h