All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
@ 2020-08-24  0:32 Laurent Pinchart
  2020-08-29 22:12 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2020-08-24  0:32 UTC (permalink / raw)
  To: dri-devel; +Cc: Thierry Reding, Sam Ravnborg

The OrtusTech COM43H4M85ULC panel is a 18-bit RGB panel. Commit
f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC
panel") has fixed the bus formats, but forgot to address the bpc value.
Set it to 6.

Fixes: f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 4eabfdd3be2d..723e9c879dfc 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3024,7 +3024,7 @@ static const struct drm_display_mode ortustech_com43h4m85ulc_mode  = {
 static const struct panel_desc ortustech_com43h4m85ulc = {
 	.modes = &ortustech_com43h4m85ulc_mode,
 	.num_modes = 1,
-	.bpc = 8,
+	.bpc = 6,
 	.size = {
 		.width = 56,
 		.height = 93,
-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
  2020-08-24  0:32 [PATCH] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel Laurent Pinchart
@ 2020-08-29 22:12 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2020-08-29 22:12 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Thierry Reding, dri-devel

On Mon, Aug 24, 2020 at 03:32:54AM +0300, Laurent Pinchart wrote:
> The OrtusTech COM43H4M85ULC panel is a 18-bit RGB panel. Commit
> f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC
> panel") has fixed the bus formats, but forgot to address the bpc value.
> Set it to 6.
> 
> Fixes: f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel")
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 4eabfdd3be2d..723e9c879dfc 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3024,7 +3024,7 @@ static const struct drm_display_mode ortustech_com43h4m85ulc_mode  = {
>  static const struct panel_desc ortustech_com43h4m85ulc = {
>  	.modes = &ortustech_com43h4m85ulc_mode,
>  	.num_modes = 1,
> -	.bpc = 8,
> +	.bpc = 6,
>  	.size = {
>  		.width = 56,
>  		.height = 93,

Thanks, applied to drm-misc-next.
Did not see this was material for any -fixes branch.

	Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-29 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24  0:32 [PATCH] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel Laurent Pinchart
2020-08-29 22:12 ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.