diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-23 10:45:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-23 10:45:35 -0400 |
commit | c86f5ebfbd147d1a228ab89ee1658e18939bd7ad (patch) | |
tree | b3baa841455fa6f2623cb1060b5315e55ea30fe4 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 49abb26651167c892393cd9f2ad23df429645ed9 (diff) |
drm/amdgpu: don't try to recreate sysfs entries on resume
Fixes an error on resume caused by:
fa022a9b65d2886486a022fd66b20c823cd76ad9
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 6647fb26ef25..0d13e6368b96 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1654,6 +1654,7 @@ struct amdgpu_pm { | |||
1654 | u8 fan_max_rpm; | 1654 | u8 fan_max_rpm; |
1655 | /* dpm */ | 1655 | /* dpm */ |
1656 | bool dpm_enabled; | 1656 | bool dpm_enabled; |
1657 | bool sysfs_initialized; | ||
1657 | struct amdgpu_dpm dpm; | 1658 | struct amdgpu_dpm dpm; |
1658 | const struct firmware *fw; /* SMC firmware */ | 1659 | const struct firmware *fw; /* SMC firmware */ |
1659 | uint32_t fw_version; | 1660 | uint32_t fw_version; |