[PATCH 1/7] accel/ivpu: Do not access HW registers after unbind

Jeffrey Hugo quic_jhugo at quicinc.com
Wed Mar 22 14:16:21 UTC 2023


On 3/22/2023 3:18 AM, Stanislaw Gruszka wrote:
> 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.
> 
> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>

Looks sane.

Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>


More information about the dri-devel mailing list