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/i915/selftests: Only query RAPL for integrated power measurements
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
i915
/
gt
/
selftest_rps.c
diff --git
a/drivers/gpu/drm/i915/gt/selftest_rps.c
b/drivers/gpu/drm/i915/gt/selftest_rps.c
index
967641f
..
adf7fdb
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/selftest_rps.c
+++ b/
drivers/gpu/drm/i915/gt/selftest_rps.c
@@
-1139,7
+1139,7
@@
int live_rps_power(void *arg)
if (!intel_rps_is_enabled(rps) || INTEL_GEN(gt->i915) < 6)
return 0;
- if (!librapl_
energy_uJ(
))
+ if (!librapl_
supported(gt->i915
))
return 0;
if (igt_spinner_init(&spin, gt))