|
|
Log in / Subscribe / Register

Ingenic DRM bridge_atomic_enable proposal

From:  Christophe Branchereau <cbranchereau-AT-gmail.com>
To:  Paul Cercueil <paul-AT-crapouillou.net>, David Airlie <airlied-AT-linux.ie>, Daniel Vetter <daniel-AT-ffwll.ch>, Thierry Reding <thierry.reding-AT-gmail.com>, Sam Ravnborg <sam-AT-ravnborg.org>
Subject:  [PATCH v1 0/3] Ingenic DRM bridge_atomic_enable proposal
Date:  Tue, 01 Mar 2022 16:31:19 +0100
Message-ID:  <20220301153122.20660-1-cbranchereau@gmail.com>
Cc:  linux-kernel-AT-vger.kernel.org, linux-mips-AT-vger.kernel.org, dri-devel-AT-lists.freedesktop.org
Archive-link:  Article

Hello, this is a set of patches to allow the upstreaming of the
NV3052C panel found in the Anbernic RG350M mips gaming handheld.

It was never upstreamed so far due to a longstanding graphical
bug, which I propose to solve by introducing ingenic_drm_bridge_atomic_enable
in the drm driver so the CRTC can be enabled after the panel itself slept
out, and not before as it used to.

After the drm change, 2 of the existing panels have to be modified accordingly 
to introduce missing .enable and .disable in their code.

Christophe Branchereau (3):
  drm/ingenic : add ingenic_drm_bridge_atomic_enable
  drm/panel: Add panel driver for NewVision NV3052C based LCDs
  drm/panel : innolux-ej030na and abt-y030xx067a : add .enable and
    .disable

 drivers/gpu/drm/ingenic/ingenic-drm-drv.c     |  19 +-
 drivers/gpu/drm/panel/Kconfig                 |   9 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 drivers/gpu/drm/panel/panel-abt-y030xx067a.c  |  23 +-
 drivers/gpu/drm/panel/panel-innolux-ej030na.c |  31 +-
 .../gpu/drm/panel/panel-newvision-nv3052c.c   | 504 ++++++++++++++++++
 6 files changed, 575 insertions(+), 12 deletions(-)
 create mode 100644 drivers/gpu/drm/panel/panel-newvision-nv3052c.c

-- 
2.34.1



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds