diff options
author | Stanislaw Gruszka <[email protected]> | 2023-03-23 13:54:57 +0100 |
---|---|---|
committer | Jacek Lawrynowicz <[email protected]> | 2023-03-24 10:50:26 +0100 |
commit | 4522ad764d7e99a79de817fcbc682ebcc75d01fe (patch) | |
tree | 80df813eac9c272432c598e27622c5744ae8df27 /tools | |
parent | 1a70ca89d59c7c8af006d29b965a95ede0abb0da (diff) |
accel/ivpu: Do not access HW registers after unbind
We should not access hardware after we unbind from the bus.
Use drm_dev_enter() / drm_dev_exit() to mark code sections where
hardware is accessed (and not already protected by other locks)
and drm_dev_unplug() to mark device is gone.
Fixes: 35b137630f08 ("accel/ivpu: Introduce a new DRM driver for Intel VPU")
Signed-off-by: Stanislaw Gruszka <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions