search for: nv_tile_gob_width_bytes

Displaying 4 results from an estimated 4 matches for "nv_tile_gob_width_bytes".

2024 Oct 22
4
[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
2024 Oct 18
2
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...ASE_HEIGHT 8 /* In pixel */ > +#define NV_TILE_GOB_SIZE 64 /* In bytes */ > +#define NV_TILE_BLK_WIDTH (NV_TILE_GOB_SIZE / 4) /* For 32 bits pixel */ This was a bit confusing to look at so I had to go and review how some of this works. I think it might be better to name this something like: NV_TILE_GOB_WIDTH_BYTES Since -technically- the size of a gob is much larger (from nouveau_display.c): if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI) gob_size = 256; else gob_size = 512; It's just you're only concerned about the width here. > + > +/* Only used by drm_panic get_...
2024 Oct 21
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...gt; +#define NV_TILE_GOB_SIZE 64 /* In bytes */ >> +#define NV_TILE_BLK_WIDTH (NV_TILE_GOB_SIZE / 4) /* For 32 bits pixel */ > > This was a bit confusing to look at so I had to go and review how some of this > works. I think it might be better to name this something like: > > NV_TILE_GOB_WIDTH_BYTES > > Since -technically- the size of a gob is much larger (from nouveau_display.c): > > if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI) > gob_size = 256; > else > gob_size = 512; > > It's just you're only concerned about the width here....
2024 Sep 13
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
Add drm_panic support, for nv50+ cards. It's enough to get the panic screen while running Gnome/Wayland on a GTX 1650. It doesn't support multi-plane or compressed format. Support for other formats and older cards will come later. Tiling is only tested on GTX1650, and might be wrong for other cards. Signed-off-by: Jocelyn Falempe <jfalempe at redhat.com> --- v2: * Rebase and drop