drm/amdgpu: fix to miss program invalidation at resume
authorHuang Rui <ray.huang@amd.com>
Wed, 31 May 2017 14:32:35 +0000 (22:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Jun 2017 20:58:29 +0000 (16:58 -0400)
commit1e4eccdaf293695f4781ce8b08d3b542d87173c5
tree22d43c4b975fc591ff6fba01f15f31a1daa64412
parent3dff4cc4b0f99f039d41ff86c3503372f9719124
drm/amdgpu: fix to miss program invalidation at resume

This patch moves invalidation into gart enable function from hw_init.
Because we would like align the sequence calling between init and resume.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c