mbox series

[0/3] drm/ingenic: Add support for delta-RGB panels

Message ID 20201119155559.14112-1-paul@crapouillou.net (mailing list archive)
Headers show
Series drm/ingenic: Add support for delta-RGB panels | expand

Message

Paul Cercueil Nov. 19, 2020, 3:55 p.m. UTC
Hi,

This patchset adds support for delta-RGB panels to the ingenic-drm
driver. Delta-RGB panels have diamond-pattern subpixel layout, and
expect odd lines to have RGB subpixel ordering, and even lines to have
GBR subpixel ordering.

Such panel is used in the YLM (aka. Anbernic) RG-99, RG-300, RG-280M
and RG-280V handheld gaming consoles.

Cheers,
-Paul

Paul Cercueil (3):
  drm/ingenic: Compute timings according to adjusted_mode->crtc_*
  drm/ingenic: Properly compute timings when using a 3x8-bit panel
  drm/ingenic: Add support for serial 8-bit delta-RGB panels

 drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 40 ++++++++++++++++-------
 drivers/gpu/drm/ingenic/ingenic-drm.h     | 14 ++++++++
 2 files changed, 43 insertions(+), 11 deletions(-)

Comments

Sam Ravnborg Nov. 29, 2020, 9:59 p.m. UTC | #1
Hi Paul.

On Thu, Nov 19, 2020 at 03:55:56PM +0000, Paul Cercueil wrote:
> Hi,
> 
> This patchset adds support for delta-RGB panels to the ingenic-drm
> driver. Delta-RGB panels have diamond-pattern subpixel layout, and
> expect odd lines to have RGB subpixel ordering, and even lines to have
> GBR subpixel ordering.
> 
> Such panel is used in the YLM (aka. Anbernic) RG-99, RG-300, RG-280M
> and RG-280V handheld gaming consoles.
> 
> Cheers,
> -Paul
> 
> Paul Cercueil (3):
>   drm/ingenic: Compute timings according to adjusted_mode->crtc_*
>   drm/ingenic: Properly compute timings when using a 3x8-bit panel
>   drm/ingenic: Add support for serial 8-bit delta-RGB panels

Strange panel, at least strange bit order.
Patches looks good and are all:
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>