[PATCH] drm/stm: ltdc: add layer alpha support

2021-09-03 Thread Raphael GALLAIS-POU - foss
Android Hardware Composer supports alpha values applied to layers. Enabling non-opaque layers for the STM CRTC could help offload GPU resources for screen composition. Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH] drm/stm: ltdc: attach immutable zpos property to planes

2021-09-02 Thread Raphael GALLAIS-POU - foss
Defines plane ordering by hard-coding an immutable Z position from the first plane, used as primary layer, to the next ones as overlay in order of instantiation. This zpos is only an information as it is not possible to modify it, blending operations are still applied from the top to the bottom la

[PATCH] drm/panel: otm8009a: add a 60 fps mode

2021-09-02 Thread Raphael GALLAIS-POU - foss
This patch adds a 60 fps mode to the Orisetech OTM8009A panel. The 50 fps mode is left as preferred. Signed-off-by: Raphael Gallais-Pou --- .../gpu/drm/panel/panel-orisetech-otm8009a.c | 85 --- 1 file changed, 56 insertions(+), 29 deletions(-) diff --git a/drivers/gpu/drm/pane

[PATCH] MAINTAINERS: Add Raphael Gallais-Pou as STM32 DRM maintainer

2021-07-08 Thread Raphael GALLAIS-POU - foss
Add Raphael Gallais-Pou as STM32 DRM maintainer. Signed-off-by: Raphael Gallais-Pou --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0f1171ceaf8b..4fa3bfc00f57 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6165,6 +6165,7 @@ DRM DRIVERS FOR STM

[PATCH 2/2] drm/stm: ltdc: add crtc background color property support

2021-07-07 Thread Raphael GALLAIS-POU - foss
This patch comes from the need to display small resolution pictures with very few DDR usage. In practice, using a background color, produced by the drm CRTC, around this picture allows to fetch less data in memory than setting a full frame picture. And therefore the picture in DDR is smaller than t

[PATCH 1/2] drm: add crtc background color property

2021-07-07 Thread Raphael GALLAIS-POU - foss
Some display controllers can be programmed to present non-black colors for pixels not covered by any plane (or pixels covered by the transparent regions of higher planes). Compositors that want a UI with a solid color background can potentially save memory bandwidth by setting the CRTC background

[PATCH 0/2] Add "BACKGROUND_COLOR" drm property

2021-07-07 Thread Raphael GALLAIS-POU - foss
Hello, This series aims to add a generic background color property for CRTC as discussed in the conversation: https://patchwork.freedesktop.org/patch/439585/ This patch "drm: add crtc background color property" is strongly inspired of Matthew Roper's. Please see: https://patchwork.freedesktop.or

[PATCH] drm/stm: ltdc: improve pm_runtime to stop clocks

2021-06-29 Thread Raphael GALLAIS-POU - foss
Bugzilla ticket: https://intbugzilla.st.com/show_bug.cgi?id=60620 Gerrit patch: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/208093/ In the LTDC driver, pm_runtime_get_sync was wrongly used and caused the LTDC pixel clock to be systematically enabled in the clock summary. After one simple use

[PATCH 2/2] drm/stm: dsi: Use dev_ based logging

2021-02-22 Thread Raphael GALLAIS-POU - foss
From: Yannick Fertre Standardize on the dev_ based logging. Signed-off-by: Raphael Gallais-Pou Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 49 ++- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_

[PATCH 1/2] drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER

2021-02-22 Thread Raphael GALLAIS-POU - foss
From: Yannick Fertre Don't print error when probe deferred error is returned. Signed-off-by: Raphael Gallais-Pou Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi

[PATCH 0/2] Standardize DSI driver logging system

2021-02-22 Thread Raphael GALLAIS-POU - foss
The use of DRM logging macros was removed and dev_err_probe() replaces condition, showing errors but not EPROBE_DEFER. Yannick Fertre (2): drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER drm/stm: dsi: Use dev_ based logging drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 58 +--