Displaying 7 results from an estimated 7 matches for "set_pixel".
2024 Sep 13
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...;
---
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.
* Use nouveau_framebuffer_get_layout() to get the tiling parameters.
* Have 2 set_pixel() functions, depending on GPU family.
drivers/gpu/drm/nouveau/dispnv50/wndw.c | 139 +++++++++++++++++++++++-
1 file changed, 137 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
index 7a2cceaee6e9..419c5f359711 100644
-...
2024 Oct 18
2
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...dy 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.
> * Use nouveau_framebuffer_get_layout() to get the tiling parameters.
> * Have 2 set_pixel() functions, depending on GPU family.
>
> drivers/gpu/drm/nouveau/dispnv50/wndw.c | 139 +++++++++++++++++++++++-
> 1 file changed, 137 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
> index 7a2cc...
2024 Oct 21
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...work the tiling algorithm, using "swizzle" to compute the offset
>> inside the block.
>>
>> v3:
>> * Fix support for Tesla GPU, which have simpler tiling.
>> * Use nouveau_framebuffer_get_layout() to get the tiling parameters.
>> * Have 2 set_pixel() functions, depending on GPU family.
>>
>> drivers/gpu/drm/nouveau/dispnv50/wndw.c | 139 +++++++++++++++++++++++-
>> 1 file changed, 137 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wnd...
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, and run:
echo c > /proc/sysrq-tr...
2024 Sep 13
3
[PATCH v3 0/2] drm/nouveau: Add drm_panic support for nv50+
...ng 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.
Jocelyn Falempe (2):
drm/panic: Add ABGR2101010 support
drm/nouveau: Add drm_panic support for nv50+
drivers/gpu/drm/drm_panic.c | 10 ++
drivers/gpu/drm/nouveau/dispnv50/wndw.c | 139 +++++++++++++++++++++++-
2 files changed, 147 insertion...
2024 Oct 22
4
[PATCH v4 0/3] drm/nouveau: Add drm_panic support for nv50+
...ng 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...
2024 May 24
0
[PATCH 5/5] drm/nouveau: Add drm_panic support for nv50+
...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->format;
683
684 /* If tiling is enabled, use the set_pixel() to display correctly */
685 if (fb->modifier & 0xf) {
686 sb->private = (void *) fb;
687 sb->set_pixel = nv50_set_pixel;
688 }
689 return 0;
690 }
691
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki