Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Fix documentation for intel_uncore_forcewake_put__locked

intel_uncore_forcewake_put__locked() is used to release a reference.

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

authored by

Miaoqian Lin and committed by
Rodrigo Vivi
955f4d71 8ca57e4f

+2 -2
+2 -2
drivers/gpu/drm/i915/intel_uncore.c
··· 821 821 } 822 822 823 823 /** 824 - * intel_uncore_forcewake_put__locked - grab forcewake domain references 824 + * intel_uncore_forcewake_put__locked - release forcewake domain references 825 825 * @uncore: the intel_uncore structure 826 - * @fw_domains: forcewake domains to get reference on 826 + * @fw_domains: forcewake domains to put references 827 827 * 828 828 * See intel_uncore_forcewake_put(). This variant places the onus 829 829 * on the caller to explicitly handle the dev_priv->uncore.lock spinlock.