diff mbox series

drm/panel: simple: Fix Powertip PH800480T013 bpc specifier

Message ID 20230530193329.653526-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series drm/panel: simple: Fix Powertip PH800480T013 bpc specifier | expand

Commit Message

Marek Vasut May 30, 2023, 7:33 p.m. UTC
This panel is 8 bits per channel DPI panel, add the missing .bpc
specifier otherwise the kernel is complaining about it as follows:
"
panel-simple panel: Expected bpc in {6,8} but got: 0
"

Fixes: d69de69f2be1 ("drm/panel: simple: Add Powertip PH800480T013 panel")
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@gmail.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: dri-devel@lists.freedesktop.org
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Neil Armstrong May 31, 2023, 9:14 a.m. UTC | #1
On 30/05/2023 21:33, Marek Vasut wrote:
> This panel is 8 bits per channel DPI panel, add the missing .bpc
> specifier otherwise the kernel is complaining about it as follows:
> "
> panel-simple panel: Expected bpc in {6,8} but got: 0
> "
> 
> Fixes: d69de69f2be1 ("drm/panel: simple: Add Powertip PH800480T013 panel")
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: dri-devel@lists.freedesktop.org
> ---
>   drivers/gpu/drm/panel/panel-simple.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 108ebe95590bc..02e3ddf58af07 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3327,6 +3327,7 @@ static const struct drm_display_mode powertip_ph800480t013_idf02_mode = {
>   static const struct panel_desc powertip_ph800480t013_idf02  = {
>   	.modes = &powertip_ph800480t013_idf02_mode,
>   	.num_modes = 1,
> +	.bpc = 8,
>   	.size = {
>   		.width = 152,
>   		.height = 91,

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 108ebe95590bc..02e3ddf58af07 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3327,6 +3327,7 @@  static const struct drm_display_mode powertip_ph800480t013_idf02_mode = {
 static const struct panel_desc powertip_ph800480t013_idf02  = {
 	.modes = &powertip_ph800480t013_idf02_mode,
 	.num_modes = 1,
+	.bpc = 8,
 	.size = {
 		.width = 152,
 		.height = 91,