projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu: not remove sysfs if not create sysfs
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu.h
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index
145a2ef
..
2e5b2f4
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@
-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)