summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorVitaly Prosyak <vitaly.prosyak@amd.com>2023-01-20 14:03:45 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-02-03 15:41:27 -0500
commit11cc4652e99f5529a9785b64f78fe005d8782b47 (patch)
tree46ccc043cbf869890c0cdd34e8b8057e5f7cb90b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentfebb414745d98f0a6f14d7fd53f1965a455e19d5 (diff)
drm/amdgpu: always sending PSP messages LOAD_ASD and UNLOAD_TA
We allow sending PSP messages LOAD_ASD and UNLOAD_TA without acquiring a lock in drm_dev_enter during driver unload because we must call drm_dev_unplug as the beginning of unload driver sequence. Added WARNING if other PSP messages are sent without a lock. After this commit, the following commands would work -sudo modprobe -r amdgpu -sudo modprobe amdgpu Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Reviewed-by Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions