diff options
| author | Alex Deucher <[email protected]> | 2015-10-19 19:49:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-10-19 19:53:54 +0000 |
| commit | 27100735adbcb872854674bed1d000825f9954ac (patch) | |
| tree | 8ab5461d7721c5923aab4a3aecf530038fd1100a /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/radeon/dpm: don't add pwm attributes if DPM is disabled (diff) | |
| download | kernel-27100735adbcb872854674bed1d000825f9954ac.tar.gz kernel-27100735adbcb872854674bed1d000825f9954ac.zip | |
drm/amdgpu/dpm: don't add pwm attributes if DPM is disabled
PWM fan control is only available with DPM. There is no non-DPM
support on amdgpu, so we should never get a crash here because
the sysfs nodes would never be created in the first place. Add the
check just in case to be on the safe side.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
