]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Remove warning from the rps worker
authorTejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Tue, 14 Sep 2021 09:04:12 +0000 (14:34 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 24 Sep 2021 14:54:19 +0000 (07:54 -0700)
In commit 3626304b895e ("drm/i915: Drop i915_request.lock requirement
for intel_rps_boost()"), we decoupled the rps worker from the pm so
that we could avoid the synchronization penalty which makes the
assertion liable to run too early. Which makes warning invalid hence
removed.

Fixes: 3626304b895e ("drm/i915: Drop i915_request.lock requirement for intel_rps_boost()")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914090412.1393498-1-tejaskumarx.surendrakumar.upadhyay@intel.com
drivers/gpu/drm/i915/gt/intel_rps.c

index e1a198bbd135227d0627d5d383b841c01ce495ec..172de6c9f94943845240630decf7942ae4835293 100644 (file)
@@ -882,8 +882,6 @@ void intel_rps_park(struct intel_rps *rps)
        if (!intel_rps_is_enabled(rps))
                return;
 
-       GEM_BUG_ON(atomic_read(&rps->num_waiters));
-
        if (!intel_rps_clear_active(rps))
                return;