[PATCH 3/9] drm/verisilicon: Add basic drm driver

2023-06-02 Thread Keith Zhao
Add a basic platform driver of the DRM driver for JH7110 SoC. Signed-off-by: Keith Zhao --- MAINTAINERS | 2 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/verisilicon/Kconfig | 13 ++ drivers/gpu/drm/ver

[PATCH 0/9] Add DRM driver for StarFive SoC JH7110

2023-06-02 Thread Keith Zhao
Hi, This series is a DRM driver for StarFive SoC JH7110, which includes a display controller driver for Verisilicon DC8200 and an HMDI driver. We use GEM framework for buffer management and allocate memory by using DMA APIs. The JH7110 display subsystem includes a display controller Verisilicon

[PATCH 7/9] drm/verisilicon: Add drm plane funcs

2023-06-02 Thread Keith Zhao
Implement plane functions for the DRM driver. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_plane.c | 440 + drivers/gpu/drm/verisilicon/vs_plane.h | 74 + 3 files changed, 516 insertions(+), 1 deletion(

[PATCH 4/9] drm/verisilicon: Add gem driver for JH7110 SoC

2023-06-02 Thread Keith Zhao
This patch implements gem related APIs for JH7100 SoC. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_drv.c | 6 + drivers/gpu/drm/verisilicon/vs_gem.c | 372 +++ drivers/gpu/drm/verisilicon/vs_gem.h | 72 +++

[PATCH 6/9] drm/verisilicon: Add drm crtc funcs

2023-06-02 Thread Keith Zhao
Add crtc driver which implements crtc related operation functions. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 1 + drivers/gpu/drm/verisilicon/vs_crtc.c | 388 ++ drivers/gpu/drm/verisilicon/vs_crtc.h | 74 + drivers/gpu/drm/verisilicon/v

RE: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-02 Thread Biju Das
Hi All, > Subject: RE: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API > > Hi Laurent, > > Thanks for the feedback. > > > Subject: Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device > > API > > > > On Wed, May 31, 2023 at 12:53:18PM +, Biju Das wrote: > > > > Subject: Re:

[PATCH 6/6] drm/stm: add an option to change FB bpp

2023-06-02 Thread Dario Binacchi
Boards that use the STM32F{4,7} series have limited amounts of RAM. The added parameter allows users to size, within certain limits, the memory footprint required by the framebuffer. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/stm/drv.c | 8 +++- 1 file changed, 7 insertions(+), 1 de

[PATCH 4/6] dt-bindings: display: simple: add Rocktech RK043FN48H

2023-06-02 Thread Dario Binacchi
Add compatible to panel-simple for Rocktech Displays Limited RK043FN48H 4.3" 480x272 LCD-TFT panel. Signed-off-by: Dario Binacchi --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/p

Re: [PATCH 00/53] drm: Convert to platform remove callback returning void

2023-06-02 Thread Uwe Kleine-König
Hello, On Sun, May 07, 2023 at 06:25:23PM +0200, Uwe Kleine-König wrote: > this patch series adapts the platform drivers below drivers/gpu/drm > to use the .remove_new() callback. Compared to the traditional .remove() > callback .remove_new() returns no value. This is a good thing because > the dr

[PATCH 5.4/5.10 1/1] drm/atomic: Don't pollute crtc_state->mode_blob with error pointers

2023-06-02 Thread Fedor Pchelkin
From: Ville Syrjälä commit 439cf34c8e0a8a33d8c15a31be1b7423426bc765 upstream. Make sure we don't assign an error pointer to crtc_state->mode_blob as that will break all kinds of places that assume either NULL or a valid pointer (eg. drm_property_blob_put()). Cc: sta...@vger.kernel.org Reported-

[PATCH 0/6] Add display support on the stm32f746-disco board

2023-06-02 Thread Dario Binacchi
The series adds support for the display on the stm32f746-disco board, along with a generic patch that adds the "bpp" parameter to the stm-drm module. The intention is to allow users to size, within certain limits, the memory footprint required by the framebuffer. Dario Binacchi (6): ARM: dts: s

[PATCH 5.4/5.10 0/1] drm/atomic: Don't pollute crtc_state->mode_blob with error pointers

2023-06-02 Thread Fedor Pchelkin
general protection fault in drm_mode_object_put() is hit on 5.4/5.10 if drm_property_create_blob() fails for some reason and state->mode_blob is assigned an error pointer which is not treated correctly in some places as mentioned in patch description. The following patch fixes the issue and can be

[PATCH 5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel

2023-06-02 Thread Dario Binacchi
Add support for Rocktech RK043FN48H 4.3" (480x272) LCD-TFT panel. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c

<    1   2