summaryrefslogtreecommitdiff
path: root/scripts/kconfig/tests/warn_changed_input/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-06-16 02:03:00 +0545
committerLizhi Hou <lizhi.hou@amd.com>2026-06-16 13:22:55 -0700
commit7caf2a2351d4053075670ff3e26a6815da0a9e1e (patch)
tree3ec4bf1cacc73d723d5984ad0a3d9f66abce29ee /scripts/kconfig/tests/warn_changed_input/git@git.tavy.me:linux.git
parent90c0486a82e27393f9eaf3bb350f51a0bd38cb6b (diff)
accel/amdxdna: Use caller client for debug BO sync
amdxdna_drm_sync_bo_ioctl() looks up args->handle in the ioctl caller's drm_file. For SYNC_DIRECT_FROM_DEVICE, it then calls amdxdna_hwctx_sync_debug_bo(), but passes abo->client. amdxdna_hwctx_sync_debug_bo() uses the passed client both as the handle namespace for debug_bo_hdl and as the owner of the hardware context xarray. Those must match the file that supplied args->handle. The BO's stored client pointer is object state, not the ioctl context. Pass filp->driver_priv instead, matching the original handle lookup. Fixes: 7ea046838021 ("accel/amdxdna: Support firmware debug buffer") Cc: stable@vger.kernel.org # v6.19+ Signed-off-by: Shuvam Pandey <shuvampandey1@gmail.com> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/178155468039.81818.12173237984867749651@gmail.com
Diffstat (limited to 'scripts/kconfig/tests/warn_changed_input/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions