drm/amdgpu: register pm sysfs for sriov (v2)
authorYintian Tao <yttao@amd.com>
Wed, 5 Jun 2019 12:40:08 +0000 (20:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Jun 2019 18:59:48 +0000 (13:59 -0500)
commite9bc1bf7916e006f62a27f400f74a6e10b874886
tree54dc6ad20a4e99f7ef0bba0b73080133d3e12bd4
parent465ab9e02aacb0588748690b27f7f3f837b74567
drm/amdgpu: register pm sysfs for sriov (v2)

we need register pm sysfs for virt in order
to support dpm level modification because
smu ip block will not be added under SRIOV

v2: whitespace fixes (Alex)

Signed-off-by: Yintian Tao <yttao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h