drm/amdgpu: move get_gpu_clock_counter into the gfx struct
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:01:42 +0000 (15:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:01:42 +0000 (15:01 -0400)
commitb95e31fddabbc38f96c8e991dd7132cea252bf7d
tree493024925a553c9e66848759068a4e633ce45ace
parent4b7d97ac835ee96e46538a1fea38021988440301
drm/amdgpu: move get_gpu_clock_counter into the gfx struct

It's gfx IP specific, not asic specific, so move to a
gfx callback.

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h
drivers/gpu/drm/amd/amdgpu/vi.c