Merge tag 'bitmap-for-5.19-rc1' of https://github.com/norov/linux
[platform/kernel/linux-starfive.git] / drivers / gpu / drm / i915 / i915_pmu.c
index 7299ed9..958b371 100644 (file)
@@ -148,10 +148,7 @@ static u64 __get_rc6(struct intel_gt *gt)
        struct drm_i915_private *i915 = gt->i915;
        u64 val;
 
-       val = intel_rc6_residency_ns(&gt->rc6,
-                                    IS_VALLEYVIEW(i915) ?
-                                    VLV_GT_RENDER_RC6 :
-                                    GEN6_GT_GFX_RC6);
+       val = intel_rc6_residency_ns(&gt->rc6, GEN6_GT_GFX_RC6);
 
        if (HAS_RC6p(i915))
                val += intel_rc6_residency_ns(&gt->rc6, GEN6_GT_GFX_RC6p);