diff options
author | Sean Anderson <[email protected]> | 2024-08-09 15:35:53 -0400 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2024-10-30 14:17:33 +0200 |
commit | 2e07c88914fc5289c21820b1aa94f058feb38197 (patch) | |
tree | 010554118c5f613ed79ef5cb011541d98e6cafd9 /tools/perf/scripts/python/gecko.py | |
parent | e91191efe75a94ae10fac4b384962068a8151886 (diff) |
drm: zynqmp_kms: Unplug DRM device before removal
Prevent userspace accesses to the DRM device from causing
use-after-frees by unplugging the device before we remove it. This
causes any further userspace accesses to result in an error without
further calls into this driver's internals.
Fixes: d76271d22694 ("drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem")
Closes: https://lore.kernel.org/dri-devel/[email protected]/
Signed-off-by: Sean Anderson <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions