search for: iosys_map_set_vaddr

Displaying 7 results from an estimated 7 matches for "iosys_map_set_vaddr".

2024 Sep 13
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...ultiplane yet. */ + if (nvbo->comp || fb->format->num_planes != 1) + return -EOPNOTSUPP; + + if (nouveau_bo_map(nvbo)) { + pr_warn("nouveau bo map failed, panic won't be displayed\n"); + return -ENOMEM; + } + + if (nvbo->kmap.bo_kmap_type & TTM_BO_MAP_IOMEM_MASK) + iosys_map_set_vaddr_iomem(&sb->map[0], (void __iomem *) nvbo->kmap.virtual); + else + iosys_map_set_vaddr(&sb->map[0], nvbo->kmap.virtual); + + sb->height = fb->height; + sb->width = fb->width; + sb->pitch[0] = fb->pitches[0]; + sb->format = fb->format; + + nouveau_framebuf...
2024 Oct 18
2
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...ed/considered - Reviewed-by: Lyude Paul <lyude at redhat.com> Would be good to have james take another look at this if he's got the time, but I think this looks alright :) > + return -ENOMEM; > + } > + > + if (nvbo->kmap.bo_kmap_type & TTM_BO_MAP_IOMEM_MASK) > + iosys_map_set_vaddr_iomem(&sb->map[0], (void __iomem *) nvbo->kmap.virtual); > + else > + iosys_map_set_vaddr(&sb->map[0], nvbo->kmap.virtual); > + > + sb->height = fb->height; > + sb->width = fb->width; > + sb->pitch[0] = fb->pitches[0]; > + sb->format =...
2024 May 24
0
[PATCH 5/5] drm/nouveau: Add drm_panic support for nv50+
...t;num_planes != 1) 667 return -EOPNOTSUPP; 668 669 if (nouveau_bo_map(nvbo)) { 670 pr_warn("nouveau bo map failed, panic won't be displayed\n"); 671 return -ENOMEM; 672 } 673 674 if (nvbo->kmap.bo_kmap_type & TTM_BO_MAP_IOMEM_MASK) > 675 iosys_map_set_vaddr_iomem(&sb->map[0], nvbo->kmap.virtual); 676 else 677 iosys_map_set_vaddr(&sb->map[0], nvbo->kmap.virtual); 678 679 sb->height = fb->height; 680 sb->width = fb->width; 681 sb->pitch[0] = fb->pitches[0]; 682 sb->format = fb->for...
2024 Oct 21
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...l send a v4 later this week. > > Would be good to have james take another look at this if he's got the time, > but I think this looks alright :) > >> + return -ENOMEM; >> + } >> + >> + if (nvbo->kmap.bo_kmap_type & TTM_BO_MAP_IOMEM_MASK) >> + iosys_map_set_vaddr_iomem(&sb->map[0], (void __iomem *) nvbo->kmap.virtual); >> + else >> + iosys_map_set_vaddr(&sb->map[0], nvbo->kmap.virtual); >> + >> + sb->height = fb->height; >> + sb->width = fb->width; >> + sb->pitch[0] = fb->pitches[0];...
2024 Sep 06
3
[PATCH v2 0/3] drm/nouveau: Add drm_panic support for nv50+
This series adds basic drm_panic support for nouveau. Patches 1-2 Add missing bits in drm_panic (ABGR2101010, private data for set_pixel()) Patch 3 registers nouveau to drm_panic, and handle tiling. I've tested on a GTX1650, while running Gnome/Wayland desktop. 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,
2024 Sep 13
3
[PATCH v3 0/2] drm/nouveau: Add drm_panic support for nv50+
This series adds basic drm_panic support for nouveau. Patches 1 Add ABGR2101010 support in drm_panic. Patch 2 registers nouveau to drm_panic, and handle tiling. I've tested on a GTX1650 (Turing) and GF 8800 GT (Tesla), while 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
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