]> 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)
commit5127c1bbd4ac0bdee3a51590bdb841b9234cd13b
tree670b98cad12c5e76f3fb50a402f00d8f9597fa04
parenta92a72973b223a8c0d0707864d1f4117fbdccc88
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