Displaying 6 results from an estimated 6 matches for "convert_xrgb8888_to_xrgb2101010".
Did you mean:
convert_xrgb8888_to_argb2101010
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
...MASK(31, 30) /* set alpha bits */ | pix | ((pix >> 8) & 0x00300C03);
+}
+
/*
* convert_from_xrgb8888 - convert one pixel from xrgb8888 to the desired format
* @color: input color, in xrgb8888 format
@@ -242,6 +250,8 @@ static u32 convert_from_xrgb8888(u32 color, u32 format)
return convert_xrgb8888_to_xrgb2101010(color);
case DRM_FORMAT_ARGB2101010:
return convert_xrgb8888_to_argb2101010(color);
+ case DRM_FORMAT_ABGR2101010:
+ return convert_xrgb8888_to_abgr2101010(color);
default:
WARN_ONCE(1, "Can't convert to %p4cc\n", &format);
return 0;
--
2.46.0
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
...he
driver to drivers/gpu/drm/drm_format_helper.c ?
> +
> /*
> * convert_from_xrgb8888 - convert one pixel from xrgb8888 to the desired format
> * @color: input color, in xrgb8888 format
> @@ -242,6 +250,8 @@ static u32 convert_from_xrgb8888(u32 color, u32 format)
> return convert_xrgb8888_to_xrgb2101010(color);
> case DRM_FORMAT_ARGB2101010:
> return convert_xrgb8888_to_argb2101010(color);
> + case DRM_FORMAT_ABGR2101010:
> + return convert_xrgb8888_to_abgr2101010(color);
> default:
> WARN_ONCE(1, "Can't convert to %p4cc\n", &format);
> return 0...
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
...ld re-use that ?
>
>> +
>> /*
>> * convert_from_xrgb8888 - convert one pixel from xrgb8888 to the desired format
>> * @color: input color, in xrgb8888 format
>> @@ -242,6 +250,8 @@ static u32 convert_from_xrgb8888(u32 color, u32 format)
>> return convert_xrgb8888_to_xrgb2101010(color);
>> case DRM_FORMAT_ARGB2101010:
>> return convert_xrgb8888_to_argb2101010(color);
>> + case DRM_FORMAT_ABGR2101010:
>> + return convert_xrgb8888_to_abgr2101010(color);
>> default:
>> WARN_ONCE(1, "Can't convert to %p4cc\n", &a...
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