diff mbox series

[3/3] drm/simpledrm: Enable XRGB2101010 format

Message ID 20211117145829.204360-4-marcan@marcan.st (mailing list archive)
State New, archived
Headers show
Series drm/simpledrm: Apple M1 / DT platform support fixes | expand

Commit Message

Hector Martin Nov. 17, 2021, 2:58 p.m. UTC
This is the format used by the bootloader framebuffer on Apple ARM64
platforms, and is already supported by simplefb. This avoids regressing
on these platforms when simpledrm is enabled and replaces simplefb.

Signed-off-by: Hector Martin <marcan@marcan.st>
---
 drivers/gpu/drm/tiny/simpledrm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Zimmermann Nov. 18, 2021, 9:16 a.m. UTC | #1
Hi

Am 17.11.21 um 15:58 schrieb Hector Martin:
> This is the format used by the bootloader framebuffer on Apple ARM64
> platforms, and is already supported by simplefb. This avoids regressing
> on these platforms when simpledrm is enabled and replaces simplefb.
> 
> Signed-off-by: Hector Martin <marcan@marcan.st>

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

> ---
>   drivers/gpu/drm/tiny/simpledrm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
> index 2c84f2ea1fa2..b4b69f3a7e79 100644
> --- a/drivers/gpu/drm/tiny/simpledrm.c
> +++ b/drivers/gpu/drm/tiny/simpledrm.c
> @@ -571,7 +571,7 @@ static const uint32_t simpledrm_default_formats[] = {
>   	//DRM_FORMAT_XRGB1555,
>   	//DRM_FORMAT_ARGB1555,
>   	DRM_FORMAT_RGB888,
> -	//DRM_FORMAT_XRGB2101010,
> +	DRM_FORMAT_XRGB2101010,
>   	//DRM_FORMAT_ARGB2101010,
>   };
>   
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
index 2c84f2ea1fa2..b4b69f3a7e79 100644
--- a/drivers/gpu/drm/tiny/simpledrm.c
+++ b/drivers/gpu/drm/tiny/simpledrm.c
@@ -571,7 +571,7 @@  static const uint32_t simpledrm_default_formats[] = {
 	//DRM_FORMAT_XRGB1555,
 	//DRM_FORMAT_ARGB1555,
 	DRM_FORMAT_RGB888,
-	//DRM_FORMAT_XRGB2101010,
+	DRM_FORMAT_XRGB2101010,
 	//DRM_FORMAT_ARGB2101010,
 };