summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJesse Zhang <Jesse.Zhang@amd.com>2026-09-30 14:21:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-07 12:58:23 -0400
commit7f7c88dbf4d543f6703e53bdeed380e886733167 (patch)
tree0b1c321a4a61f28793ab5968f407cb14551eee4d /scripts/Makefile.thinlto
parent7744262f5d63f9faa4d59dec127ae1c8b2d56495 (diff)
downloadlinux-next-7f7c88dbf4d543f6703e53bdeed380e886733167.tar.gz
linux-next-7f7c88dbf4d543f6703e53bdeed380e886733167.zip
drm/amdgpu/userq: only accept doorbell BOs as queue doorbell
amdgpu_userq_get_doorbell_index() pins any BO passed as doorbell_handle into the doorbell domain. For a regular BO, TTM moves it with ttm_bo_move_null() and its contents are lost. Since an importer on the same device gets the exporter's GEM object, a client can do this to a buffer another client shared with it. Reject BOs that were not created in the doorbell domain. v2: drop the error message, use a local abo variable (Christian) Fixes: f09c1e6077ab ("drm/amdgpu: generate doorbell index for userqueue") Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit f7497bbc19db4821c62b9d97b31c9086feb2d917) Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions