drm/amdgpu: remove detect_hw_virtualization interface
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Mon, 9 Jan 2017 03:53:14 +0000 (11:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:05 +0000 (11:13 -0500)
commitc8394f38fa2362385fd34f7034a2276b458c640e
tree4db252af5784403a7619a28e96f91da2a700ad72
parent91caa081378c612030bfa9762fd7d88036508238
drm/amdgpu: remove detect_hw_virtualization interface

Call detection function driectly, so remove the interface.

V2: ci and si also need to call the detect function.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/si.c