drm/amdgpu: fix vega10 graphic hang issue in S3 test
authorKen Wang <Ken.Wang@amd.com>
Tue, 15 Aug 2017 09:16:08 +0000 (17:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Aug 2017 16:02:11 +0000 (12:02 -0400)
commitd5de797ff1c91157ddefd7102aaf5f87ff222746
tree11ab80bc244bab62ba3819c58b5e82cd036ef0e4
parent33476319c0e8b3543c27d883e7a478ceb8648f80
drm/amdgpu: fix vega10 graphic hang issue in S3 test

mmVGT_INDEX_TYPE has no default value, need to make sure
it's initialized when gfx is initialized.

Signed-off-by: Ken Wang <Ken.Wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15d.h