Skip to content
Commit 56be6503 authored by Noralf Trønnes's avatar Noralf Trønnes
Browse files

drm/drv: Hold ref on parent device during drm_device lifetime



This makes it safe to access drm_device->dev after the parent device has
been removed/unplugged.

Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190225144232.20761-2-noralf@tronnes.org
parent a7db690c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment