]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/client: bo->client does not need bos_lock
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Wed, 5 Feb 2025 05:10:42 +0000 (10:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:19 +0000 (14:01 +0100)
commit6c04fdb58f43549d4f31f24071d604ed6d06343e
tree215009c85c713483833321fabacdab6bc4604dab
parentb12c991c6acb713d963a07f41dc69258688924e0
drm/xe/client: bo->client does not need bos_lock

[ Upstream commit fc876c9524e2a9f816f51d533ed31df789cff65a ]

bos_lock is to protect list of bos used by client, it is
not required to protect bo->client so bring it outside of
bos_lock.

Fixes: b27970f3e11c ("drm/xe: Add tracking support for bos per client")
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250205051042.1991192-1-tejas.upadhyay@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
(cherry picked from commit f74fd53ba34551b7626193fb70c17226f06e9bf1)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_drm_client.c