linux/drivers/gpu/drm/amd/pm
Yiqing Yao 80b96ac9d2 drm/amd/pm: enable pm sysfs write for one VF mode
[ Upstream commit e610941c45 ]

[why]
pm sysfs should be writable in one VF mode as is in passthrough

[how]
do not remove write access on pm sysfs if device is in one VF mode

Fixes: 11c9cc95f8 ("amdgpu/pm: Make sysfs pm attributes as read-only for VFs")
Signed-off-by: Yiqing Yao <yiqing.yao@amd.com>
Reviewed-by: Monk Liu <Monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:15 +02:00
..
inc Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)" 2021-02-03 23:28:39 +01:00
powerplay drm/amd/pm: Update intermediate power state for SI 2021-09-30 10:11:01 +02:00
swsmu drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function 2022-04-08 14:40:13 +02:00
amdgpu_dpm.c
amdgpu_pm.c drm/amd/pm: enable pm sysfs write for one VF mode 2022-04-08 14:40:15 +02:00
Makefile