[PATCH] drm: panel: simple: Fix bpc for LG LB070WV8 panel
Sam Ravnborg
sam at ravnborg.org
Sun Jul 12 10:49:03 UTC 2020
On Sun, Jul 12, 2020 at 01:53:17AM +0300, Laurent Pinchart wrote:
> The LG LB070WV8 panel incorrectly reports a 16 bits per component value,
> while the panel uses 8 bits per component. Fix it.
>
> Fixes: dd0150026901 ("drm/panel: simple: Add support for LG LB070WV8 800x480 7" panel")
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
Applied to drm-misc-next.
Considered if this was -fixes material but the checks was only recently
introduced. So I assume the display drivers using this panel do not yet use
bpc. So it ended up in -next and not -fixes.
Sam
> ---
> 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 3a35f74d6cb7..dfb62821932a 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2365,7 +2365,7 @@ static const struct drm_display_mode lg_lb070wv8_mode = {
> static const struct panel_desc lg_lb070wv8 = {
> .modes = &lg_lb070wv8_mode,
> .num_modes = 1,
> - .bpc = 16,
> + .bpc = 8,
> .size = {
> .width = 151,
> .height = 91,
> --
> Regards,
>
> Laurent Pinchart
More information about the dri-devel
mailing list