]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup unnecessary virt sriov check in amdgpu attribute
authorKevin Wang <kevin1.wang@amd.com>
Thu, 7 May 2020 04:39:18 +0000 (12:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:37:19 +0000 (12:37 -0400)
commitb760219028eae9bedfcbc51c557461f417924f60
tree670b98cad12c5e76f3fb50a402f00d8f9597fa04
parentaef2ac7a11165cf6686383c1f05b1a36006869f7
drm/amdgpu: cleanup unnecessary virt sriov check in amdgpu attribute

the amdgpu device attribute node will be created accordding to sriov vf
mode at runtime.
cleanup unnecessary sriov check in attribute operation function.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c