* [PATCH] Revert "drm/udl: Add ARGB8888 as a format"
@ 2024-03-06 14:37 Douglas Anderson
2024-03-06 14:40 ` Thomas Zimmermann
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Douglas Anderson @ 2024-03-06 14:37 UTC (permalink / raw)
To: dri-devel
Cc: Maxime Ripard, Thomas Zimmermann, Douglas Anderson,
Daniel Vetter, Dave Airlie, David Airlie, Maarten Lankhorst,
Sean Paul, linux-kernel
This reverts commit 95bf25bb9ed5dedb7fb39f76489f7d6843ab0475.
Apparently there was a previous discussion about emulation of formats
and it was decided XRGB8888 was the only format to support for legacy
userspace [1]. Remove ARGB8888. Userspace needs to be fixed to accept
XRGB8888.
[1] https://lore.kernel.org/r/60dc7697-d7a0-4bf4-a22e-32f1bbb792c2@suse.de
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
drivers/gpu/drm/udl/udl_modeset.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index 0f8d3678770e..7702359c90c2 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -253,7 +253,6 @@ static int udl_handle_damage(struct drm_framebuffer *fb,
static const uint32_t udl_primary_plane_formats[] = {
DRM_FORMAT_RGB565,
DRM_FORMAT_XRGB8888,
- DRM_FORMAT_ARGB8888,
};
static const uint64_t udl_primary_plane_fmtmods[] = {
--
2.44.0.278.ge034bb2e1d-goog
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Revert "drm/udl: Add ARGB8888 as a format"
2024-03-06 14:37 [PATCH] Revert "drm/udl: Add ARGB8888 as a format" Douglas Anderson
@ 2024-03-06 14:40 ` Thomas Zimmermann
2024-03-06 14:42 ` Javier Martinez Canillas
2024-03-06 15:10 ` Doug Anderson
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Zimmermann @ 2024-03-06 14:40 UTC (permalink / raw)
To: Douglas Anderson, dri-devel
Cc: Maxime Ripard, Daniel Vetter, Dave Airlie, David Airlie,
Maarten Lankhorst, Sean Paul, linux-kernel
Am 06.03.24 um 15:37 schrieb Douglas Anderson:
> This reverts commit 95bf25bb9ed5dedb7fb39f76489f7d6843ab0475.
>
> Apparently there was a previous discussion about emulation of formats
> and it was decided XRGB8888 was the only format to support for legacy
> userspace [1]. Remove ARGB8888. Userspace needs to be fixed to accept
> XRGB8888.
>
> [1] https://lore.kernel.org/r/60dc7697-d7a0-4bf4-a22e-32f1bbb792c2@suse.de
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
>
> drivers/gpu/drm/udl/udl_modeset.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
> index 0f8d3678770e..7702359c90c2 100644
> --- a/drivers/gpu/drm/udl/udl_modeset.c
> +++ b/drivers/gpu/drm/udl/udl_modeset.c
> @@ -253,7 +253,6 @@ static int udl_handle_damage(struct drm_framebuffer *fb,
> static const uint32_t udl_primary_plane_formats[] = {
> DRM_FORMAT_RGB565,
> DRM_FORMAT_XRGB8888,
> - DRM_FORMAT_ARGB8888,
> };
>
> static const uint64_t udl_primary_plane_fmtmods[] = {
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Revert "drm/udl: Add ARGB8888 as a format"
2024-03-06 14:37 [PATCH] Revert "drm/udl: Add ARGB8888 as a format" Douglas Anderson
2024-03-06 14:40 ` Thomas Zimmermann
@ 2024-03-06 14:42 ` Javier Martinez Canillas
2024-03-06 15:10 ` Doug Anderson
2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2024-03-06 14:42 UTC (permalink / raw)
To: Douglas Anderson, dri-devel
Cc: Maxime Ripard, Thomas Zimmermann, Douglas Anderson,
Daniel Vetter, Dave Airlie, David Airlie, Maarten Lankhorst,
Sean Paul, linux-kernel
Douglas Anderson <dianders@chromium.org> writes:
Hello Doug,
> This reverts commit 95bf25bb9ed5dedb7fb39f76489f7d6843ab0475.
>
> Apparently there was a previous discussion about emulation of formats
> and it was decided XRGB8888 was the only format to support for legacy
> userspace [1]. Remove ARGB8888. Userspace needs to be fixed to accept
> XRGB8888.
>
> [1] https://lore.kernel.org/r/60dc7697-d7a0-4bf4-a22e-32f1bbb792c2@suse.de
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Revert "drm/udl: Add ARGB8888 as a format"
2024-03-06 14:37 [PATCH] Revert "drm/udl: Add ARGB8888 as a format" Douglas Anderson
2024-03-06 14:40 ` Thomas Zimmermann
2024-03-06 14:42 ` Javier Martinez Canillas
@ 2024-03-06 15:10 ` Doug Anderson
2 siblings, 0 replies; 4+ messages in thread
From: Doug Anderson @ 2024-03-06 15:10 UTC (permalink / raw)
To: dri-devel
Cc: Maxime Ripard, Thomas Zimmermann, Daniel Vetter, Dave Airlie,
David Airlie, Maarten Lankhorst, Sean Paul, linux-kernel
Hi,
On Wed, Mar 6, 2024 at 6:38 AM Douglas Anderson <dianders@chromium.org> wrote:
>
> This reverts commit 95bf25bb9ed5dedb7fb39f76489f7d6843ab0475.
>
> Apparently there was a previous discussion about emulation of formats
> and it was decided XRGB8888 was the only format to support for legacy
> userspace [1]. Remove ARGB8888. Userspace needs to be fixed to accept
> XRGB8888.
>
> [1] https://lore.kernel.org/r/60dc7697-d7a0-4bf4-a22e-32f1bbb792c2@suse.de
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> drivers/gpu/drm/udl/udl_modeset.c | 1 -
> 1 file changed, 1 deletion(-)
Pushed to drm-misc-fixes with Thomas and Javier's tags:
317f86dc1b8e Revert "drm/udl: Add ARGB8888 as a format"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-06 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 14:37 [PATCH] Revert "drm/udl: Add ARGB8888 as a format" Douglas Anderson
2024-03-06 14:40 ` Thomas Zimmermann
2024-03-06 14:42 ` Javier Martinez Canillas
2024-03-06 15:10 ` Doug Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®