commit | f2713e8c2a34711ed820a3095a7c5f4a0c85df1c | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 28 12:19:31 2017 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 29 23:55:44 2017 -0400 |
tree | fe615d9237364a68827c0635b78cba1c61d585e7 | |
parent | e5f586c763a079349398e2b0c7c271386193ac34 [diff] |
drm/amdgpu: refine the logic in amdgpu_need_post() We check the mem config register to make sure it's been programmed by the vbios to determine if we need to post so we check for a non-0 value. However, when the asic comes out of reset, we may see all ones here, so check for that too. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>