mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
drm/i915: Remove warning from the rps worker
In commit4e5c8a99e1
("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:4e5c8a99e1
("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
This commit is contained in:
parent
6341eb6f39
commit
a837a06863
1 changed files with 0 additions and 2 deletions
|
@ -882,8 +882,6 @@ void intel_rps_park(struct intel_rps *rps)
|
||||||
if (!intel_rps_is_enabled(rps))
|
if (!intel_rps_is_enabled(rps))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GEM_BUG_ON(atomic_read(&rps->num_waiters));
|
|
||||||
|
|
||||||
if (!intel_rps_clear_active(rps))
|
if (!intel_rps_clear_active(rps))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue