]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7a68a1b3782d43d27dd2b13dd643996d10ef402
treedab4c2aa91e786ebf1031b69eae61ef26ab4c90e
parent09a332657bf91785a721652fb1f9dfe503f543ce
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