aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-10-19 19:49:11 +0000
committerAlex Deucher <[email protected]>2015-10-19 19:53:54 +0000
commit27100735adbcb872854674bed1d000825f9954ac (patch)
tree8ab5461d7721c5923aab4a3aecf530038fd1100a /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/radeon/dpm: don't add pwm attributes if DPM is disabled (diff)
downloadkernel-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