Commit 449a0ef5 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Rodrigo Vivi
Browse files

drm/i915: Fix documentation for intel_uncore_forcewake_put__locked



intel_uncore_forcewake_put__locked() is used to release a reference.

Fixes: a6111f7b ("drm/i915: Reduce locking in execlist command submission")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221207112909.2655251-1-linmq006@gmail.com


(cherry picked from commit 955f4d71)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 2c1da390
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -824,9 +824,9 @@ void intel_uncore_forcewake_flush(struct intel_uncore *uncore,
}

/**
 * intel_uncore_forcewake_put__locked - grab forcewake domain references
 * intel_uncore_forcewake_put__locked - release forcewake domain references
 * @uncore: the intel_uncore structure
 * @fw_domains: forcewake domains to get reference on
 * @fw_domains: forcewake domains to put references
 *
 * See intel_uncore_forcewake_put(). This variant places the onus
 * on the caller to explicitly handle the dev_priv->uncore.lock spinlock.