drm/amdgpu: not remove sysfs if not create sysfs
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / amdgpu / amdgpu.h
index 145a2ef..2e5b2f4 100644 (file)
@@ -989,6 +989,9 @@ struct amdgpu_device {
        int                             pstate;
        /* enable runtime pm on the device */
        bool                            runpm;
+
+       bool                            pm_sysfs_en;
+       bool                            ucode_sysfs_en;
 };
 
 static inline struct amdgpu_device *amdgpu_ttm_adev(struct ttm_bo_device *bdev)