aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2025-07-24 17:33:29 +0000
committerSteven Rostedt (Google) <[email protected]>2025-07-25 13:04:14 +0000
commit3d3800b4f7f4b1472a0ec2cffd535c05603f8f60 (patch)
treef576c7270f0c602865d654f55959ef2564620ca8 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentrv: Merge struct rv_reactor_def into struct rv_reactor (diff)
downloadkernel-3d3800b4f7f4b1472a0ec2cffd535c05603f8f60.tar.gz
kernel-3d3800b4f7f4b1472a0ec2cffd535c05603f8f60.zip
rv: Remove rv_reactor's reference counter
rv_reactor has a reference counter to ensure it is not removed while monitors are still using it. However, this is futile, as __exit functions are not expected to fail and will proceed normally despite rv_unregister_reactor() returning an error. At the moment, reactors do not support being built as modules, therefore they are never removed and the reference counters are not necessary. If we support building RV reactors as modules in the future, kernel module's centralized facilities such as try_module_get(), module_put() or MODULE_SOFTDEP should be used instead of this custom implementation. Remove this reference counter. Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/bb946398436a5e17fb0f5b842ef3313c02291852.1753378331.git.namcao@linutronix.de Reviewed-by: Gabriele Monaco <[email protected]> Signed-off-by: Nam Cao <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions