drm/client: Wire up sysrq for all clients and update drm_log
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- fix placeholder functions
- fix grammar in commit descriptions
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/client: Pass force parameter to client restoredrivers/ drivers/ drivers/ +4 more | +22 | 0 replies | |
| 2/3 | drm/client: Support emergency restore via sysrq for all clientsdrivers/ drivers/ drivers/ +4 more | +91 | 1 reply | |
| 3/3 | drm/client: log: Implement struct drm_client_funcs.restoredrivers/ | +13 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jocelyn Falempe |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] drm/client: Wire up sysrq for all clients and update drm_log
DRM's fbdev emulation has long supported SysRq+v to bring up the framebuffer console for emergency output. Wire up sysrq for all DRM clients and make it work with drm_log.
Patch 1 and 2 set up DRM client functionality for sysrq. The patches adopt existing conventions from fbdev emulation, so that there's no visible change to users. Invoke SysRq+v to bring up the in-kernel DRM client.
Patch 3 adds restore functionality to drm_log. This enables SysRq, but also brings back drm_log when user space releases control of the display.
Tested on amdgpu and bochs.
v2:
- fix placeholder functions
- fix grammar in commit descriptions
Thomas Zimmermann (3):
drm/client: Pass force parameter to client restore drm/client: Support emergency restore via sysrq for all clients drm/client: log: Implement struct drm_client_funcs.restore
drivers/gpu/drm/Makefile | 3 +- drivers/gpu/drm/clients/drm_fbdev_client.c | 6 +- drivers/gpu/drm/clients/drm_log.c | 13 ++++ drivers/gpu/drm/drm_client.c | 1 + drivers/gpu/drm/drm_client_event.c | 4 +- drivers/gpu/drm/drm_client_sysrq.c | 65 ++++++++++++++++++++ drivers/gpu/drm/drm_drv.c | 3 + drivers/gpu/drm/drm_fb_helper.c | 69 +++------------------- drivers/gpu/drm/drm_file.c | 2 +- drivers/gpu/drm/drm_internal.h | 11 ++++ include/drm/drm_client.h | 8 ++- include/drm/drm_client_event.h | 4 +- include/drm/drm_device.h | 8 +++ include/drm/drm_fb_helper.h | 8 +-- 14 files changed, 126 insertions(+), 79 deletions(-) create mode 100644 drivers/gpu/drm/drm_client_sysrq.c
Signature · 1 line
2.51.1