[PATCH] rc6 enabled

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue Jun 22 12:58:56 UTC 2021


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 drivers/gpu/drm/i915/gt/intel_rc6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_rc6.c b/drivers/gpu/drm/i915/gt/intel_rc6.c
index 259d7eb4e165..bddf4724ff96 100644
--- a/drivers/gpu/drm/i915/gt/intel_rc6.c
+++ b/drivers/gpu/drm/i915/gt/intel_rc6.c
@@ -717,7 +717,7 @@ u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, const i915_reg_t reg)
 	unsigned int i;
 	u32 mul, div;
 
-	if (!rc6->supported)
+	if (!rc6->enabled)
 		return 0;
 
 	/*
-- 
2.30.2



More information about the Intel-gfx-trybot mailing list