summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-10-23 10:38:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-10-23 10:38:52 -0400
commit49abb26651167c892393cd9f2ad23df429645ed9 (patch)
tree8d91c023ee035368e036ae3662d382609dcdacf5 /drivers/gpu/drm/radeon/radeon.h
parent5c92d87d30b23844e6998d8318e4c19ee3a907ac (diff)
downloadop-kernel-dev-49abb26651167c892393cd9f2ad23df429645ed9.zip
op-kernel-dev-49abb26651167c892393cd9f2ad23df429645ed9.tar.gz
drm/radeon: don't try to recreate sysfs entries on resume
Fixes a harmless error message caused by: 51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index f03b7eb..b6cbd81 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1658,6 +1658,7 @@ struct radeon_pm {
u8 fan_max_rpm;
/* dpm */
bool dpm_enabled;
+ bool sysfs_initialized;
struct radeon_dpm dpm;
};
OpenPOWER on IntegriCloud