diff options
| author | Andrey Grodzovsky <[email protected]> | 2021-05-12 14:26:41 +0000 |
|---|---|---|
| committer | Andrey Grodzovsky <[email protected]> | 2021-05-20 03:50:28 +0000 |
| commit | f89f8c6bafd0692d3afd21488d012ceb1baf6df6 (patch) | |
| tree | a6f34cf205887bef775c4aad48536e0760181a17 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amdgpu: Convert driver sysfs attributes to static attributes (diff) | |
| download | kernel-f89f8c6bafd0692d3afd21488d012ceb1baf6df6.tar.gz kernel-f89f8c6bafd0692d3afd21488d012ceb1baf6df6.zip | |
drm/amdgpu: Guard against write accesses after device removal
This should prevent writing to memory or IO ranges possibly
already allocated for other uses after our device is removed.
v5:
Protect more places wher memcopy_to/form_io takes place
Protect IB submissions
v6: Switch to !drm_dev_enter instead of scoping entire code
with brackets.
v7:
Drop guard of HW ring commands emission protection since they
are in GART and not in MMIO.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
