Daniel Vetter
0d49f303e8
drm: remove all control node code
...
With the ioctl and driver prep done, we can remove everything else.
Reviewed-by: Sean Paul <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Cc: Gustavo Padovan <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: Sean Paul <[email protected] >
Cc: David Airlie <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2018-05-03 21:26:32 +02:00
Noralf Trønnes
bee330f3d6
drm: Use srcu to protect drm_device.unplugged
...
Use srcu to protect drm_device.unplugged in a race free manner.
Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark
sections preventing access to device resources that are not available
after the device is gone.
Suggested-by: Daniel Vetter <[email protected] >
Signed-off-by: Noralf Trønnes <[email protected] >
Signed-off-by: Oleksandr Andrushchenko <[email protected] >
Reviewed-by: Oleksandr Andrushchenko <[email protected] >
Tested-by: Oleksandr Andrushchenko <[email protected] >
Cc: [email protected]
Reviewed-by: Daniel Vetter <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2018-03-29 13:19:20 +03:00
Noralf Trønnes
29ad20b22c
drm: Add drm_device->fb_helper pointer
...
drm_fb_helper is *the* way of doing fbdev emulation so add a pointer to
struct drm_device. This makes it possible to add callback helpers for
.last_close and .output_poll_changed further reducing fbdev emulation
footprint in drivers. The pointer is set by drm_fb_helper_init() and
cleared by drm_fb_helper_fini().
Signed-off-by: Noralf Trønnes <[email protected] >
Reviewed-by: Daniel Vetter <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-10-31 19:06:05 +01:00
Daniel Vetter
e4672e55d6
drm: Extract drm_device.h
...
I need this to untangle an include loop in the next patch.
Reviewed-by: Alex Deucher <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-08-11 10:47:17 +02:00