drm/nouveau: Add drm_panic support for nv50+
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesIn review
- v32 patches 8 repliesSuperseded
- v23 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
* Refactor and move the tiling code from nouveau_display.c to dispnv50/tile.h, so that in can be re-used by drm_panic. (Lyude)
* Refactor get_scanout_buffer() to use the new dispnv50/tile.h
* use drm_warn() instead of pr_warn() in get_scanout_buffer
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/panic: Add ABGR2101010 supportdrivers/ | +10 | 0 replies | |
| 2/3 | drm/nouveau/disp: Move tiling functions to dispnv50/tile.hdrivers/ drivers/ | +73 | 0 replies | |
| 3/3 | drm/nouveau: Add drm_panic support for nv50+drivers/ | +127 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Javier Martinez Canillas | Lyude Paul |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | ||
| 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 v4 0/3] drm/nouveau: Add drm_panic support for nv50+
This series adds basic drm_panic support for nouveau. I've tested on GTX1650 (Turing), GeForce GT 1030 (Pascal) and Geforce 8800 GTS (Tesla), running Gnome/Wayland desktop, and in VT.
It should work on other nv50+ cards, but I didn't test them.
To test it, you need to build your kernel with CONFIG_DRM_PANIC=y, and run:
echo c > /proc/sysrq-trigger
or you can enable CONFIG_DRM_PANIC_DEBUG and run:
echo 1 > /sys/kernel/debug/dri/0/drm_panic_plane_0
v2:
* Rebase and drop already merged patches.
* Rework the tiling algorithm, using "swizzle" to compute the offset inside the block.
v3:
* Fix support for Tesla GPU, which have simpler tiling.
* Drop "add a private pointer to struct drm_scanout_buffer".
* Use nouveau_framebuffer_get_layout() to get the tiling parameters.
* Have 2 set_pixel() functions, depending on GPU family.
v4:
* Refactor and move the tiling code from nouveau_display.c to dispnv50/tile.h, so that in can be re-used by drm_panic. (Lyude)
* Refactor get_scanout_buffer() to use the new dispnv50/tile.h
* use drm_warn() instead of pr_warn() in get_scanout_buffer
Jocelyn Falempe (3):
drm/panic: Add ABGR2101010 support drm/nouveau/disp: Move tiling functions to dispnv50/tile.h drm/nouveau: Add drm_panic support for nv50+
drivers/gpu/drm/drm_panic.c | 10 ++ drivers/gpu/drm/nouveau/dispnv50/tile.h | 63 +++++++++++ drivers/gpu/drm/nouveau/dispnv50/wndw.c | 129 +++++++++++++++++++++- drivers/gpu/drm/nouveau/nouveau_display.c | 59 ++-------- 4 files changed, 210 insertions(+), 51 deletions(-) create mode 100644 drivers/gpu/drm/nouveau/dispnv50/tile.h
base-commit: 2320c9e6a768d135c7b0039995182bb1a4e4fd22
Signature · 1 line
2.47.0