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 11:56:04 -0400
commitf7497bbc19db4821c62b9d97b31c9086feb2d917 (patch)
treeb7a2cd163fcf68d601b3ee9bfb44c73d49dd35ee /scripts/Makefile.thinlto
parent0bef0a6c2cb3b128af313c8c30a8a9385b64f944 (diff)
downloadlinux-f7497bbc19db4821c62b9d97b31c9086feb2d917.tar.gz
linux-f7497bbc19db4821c62b9d97b31c9086feb2d917.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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions