drm/amdgpu: Clean up gmc_v9_0_gart_enable
authorOak Zeng <Oak.Zeng@amd.com>
Mon, 7 Oct 2019 20:21:03 +0000 (15:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:24:12 +0000 (19:24 -0500)
commitcb1545f7101adfd3c0e1a0efb1310b62a8f22451
treec17244804c97bf40d05e11923ef594a9996a68c6
parent6f3bf46a7e8470ef1a76d53885a7876c1025027c
drm/amdgpu: Clean up gmc_v9_0_gart_enable

Many logic in this function are HDP set up,
not gart set up. Moved those logic to gmc_v9_0_hw_init.
No functional change.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Christian konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c