Files
linux/drivers/gpu/drm
Thomas Zimmermann bf17547893 drm/udl: Move drm_dev_{enter, exit}() into udl_get_edid_block()
Protect the code in udl_get_edid_block() with drm_dev_enter() and
drm_dev_exit(), so that all callers automatically invoke it. The
function uses hardware resources, which can be hot-unplugged at
any time. The other code in udl_connector_detect() does not use the
resources of the hardware device and therefore does not require
protection.

This change will allow to use udl_get_edid_block() in various
contexts easily.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240510154841.11370-3-tzimmermann@suse.de
2024-05-13 13:35:51 +02:00
..
2024-05-02 11:33:16 +02:00
2024-04-29 10:26:30 -03:00
2024-05-02 11:33:17 +02:00
2024-05-02 11:33:17 +02:00
2024-05-02 11:33:23 +02:00
2024-05-02 11:33:24 +02:00
2024-05-02 11:33:24 +02:00
2024-05-02 11:33:18 +02:00
2024-05-02 11:33:27 +02:00
2024-05-02 11:33:18 +02:00
2024-05-02 11:33:21 +02:00
2024-05-02 11:33:22 +02:00
2024-05-08 15:31:58 +03:00
2024-05-02 11:33:15 +02:00
2024-02-26 11:41:07 +01:00