[v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-04-25 Thread Rajeev Nandan
Add bindings for DisplayPort aux backlight driver. Changes in v2: - New Signed-off-by: Rajeev Nandan --- .../bindings/leds/backlight/dp-aux-backlight.yaml | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/dp-aux-

[v3 2/2] backlight: Add DisplayPort aux backlight driver

2021-04-25 Thread Rajeev Nandan
Add backlight driver for the panels supporting backlight control using DPCD registers on the DisplayPort aux channel. Changes in v2: - New (most of the code reused from drm_dp_aux_backlight.c of v1) Changes in v3: - Add missing ';' to fix module compilation (kernel test bot) Signed-off-by: Rajee

[v3 0/2] drm: Add support for backlight control of eDP panel on ti-sn65dsi86 bridge

2021-04-25 Thread Rajeev Nandan
The backlight level of an eDP panel can be controlled through the AUX channel using DPCD registers of the panel. The capability for the Source device to adjust backlight characteristics within the panel, using the Sink device DPCD registers is indicated by the TCON_BACKLIGHT_ADJUSTMENT_CAPABLE bit

Re: [PATCH 1/2] drm/mediatek: set panel orientation before drm_dev_register().

2021-04-25 Thread Hsin-Yi Wang
On Fri, Apr 23, 2021 at 9:53 PM Sean Paul wrote: > > On Fri, Apr 9, 2021 at 12:53 AM Hsin-Yi Wang wrote: > > > > drm_dev_register() sets connector->registration_state to > > DRM_CONNECTOR_REGISTERED and dev->registered to true. If > > drm_connector_set_panel_orientation() is first called after >

[PATCH v2 2/2] arm64: dts: mt8183: Add panel rotation

2021-04-25 Thread Hsin-Yi Wang
krane, kakadu, and kodama boards have a default panel rotation. Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi inde

[PATCH v2 1/2] gpu: drm: init set panel orientation property earlier

2021-04-25 Thread Hsin-Yi Wang
drm_dev_register() sets connector->registration_state to DRM_CONNECTOR_REGISTERED and dev->registered to true. If drm_connector_set_panel_orientation() is first called after drm_dev_register(), it will fail several checks and results in following warning. Create panel orientation property in drm_c

[PATCH] video/logo: CONFIG_LOGO conflicts with FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER

2021-04-25 Thread Bertrand Jacquin
When FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is enabled, logo are not being displayed --- drivers/video/logo/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/logo/Kconfig b/drivers/video/logo/Kconfig index 6d6f8c08792d..fe07dfb59d3d 100644 --- a/drivers/

[PATCH 1/2] drm/msm: pass dump state as a function argument

2021-04-25 Thread Dmitry Baryshkov
Instead of always getting the disp_state from drm device, pass it as an argument. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 + drivers/gpu/drm/msm/disp/msm_disp_snapshot.h| 8 .../gpu/drm/msm/disp/msm_disp_snapshot_util.c | 17 ++

[PATCH 2/2] drm/msm: make msm_disp_state transient data struct

2021-04-25 Thread Dmitry Baryshkov
Instead of allocating snapshotting structure at the driver probe time and later handling concurrent access, actual state, etc, make msm_disp_state transient struct. Allocate one when snapshotting happens and free it after coredump data is read by userspace. Signed-off-by: Dmitry Baryshkov --- dr

[PATCH 0/2] drm/msm: rework display snapshotting

2021-04-25 Thread Dmitry Baryshkov
Rework display subsystem snapshotting by making msm_disp_state transient data struct. This simplifies handling of data. Dependencies: https://lore.kernel.org/linux-arm-msm/1618606645-19695-1-git-send-email-abhin...@codeaurora.org/ D

[PATCH v5 6/6] drm/sprd: add Unisoc's drm mipi dsi&dphy driver

2021-04-25 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. v1: - Remove dphy and dsi graph binding, merge the dphy driver into the dsi. v2: - Use drm

[PATCH v5 5/6] dt-bindings: display: add Unisoc's mipi dsi controller bindings

2021-04-25 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Controller support for Unisoc's display subsystem. v5: - Remove panel_in port for dsi node. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd,sharkl3-dsi-host.yaml | 88 +++ 1 fil

[PATCH v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-04-25 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. v2: - Use drm_xxx to replace all DRM_XXX. - Use kzalloc to replace devm_kzalloc for sprd_dpu structure init. v3: - Remove dpu_layer stuff l

[PATCH v5 3/6] dt-bindings: display: add Unisoc's dpu bindings

2021-04-25 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd,s

[PATCH v5 2/6] drm/sprd: add Unisoc's drm kms master

2021-04-25 Thread Kevin Tang
Adds drm support for the Unisoc's display subsystem. This is drm kms driver, this driver provides support for the application framework in Android, Yocto and more. Application framework can access Unisoc's display internal peripherals through libdrm or libkms, it's test ok by modetest (DRM/KMS te

[PATCH v5 1/6] dt-bindings: display: add Unisoc's drm master bindings

2021-04-25 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical inte

[PATCH v5 0/6] Add Unisoc's drm kms module

2021-04-25 Thread Kevin Tang
ChangeList: RFC v1: 1. only upstream modeset and atomic at first commit. 2. remove some unused code; 3. use alpha and blend_mode properties; 3. add yaml support; 4. remove auto-adaptive panel driver; 5. bugfix RFC v2: 1. add sprd crtc and plane module for KMS, preparing for multi crtc&encoder 2. r

Re: [PATCH] drm/vkms: update the current status of todo list

2021-04-25 Thread Simon Ser
On Saturday, April 24th, 2021 at 3:57 PM, Melissa Wen wrote: > -- Real overlay planes, not just cursor. Maybe we should mention "multiple overlay planes" as a good task? Thanks, Simon ___ dri-devel mailing list dri-devel@lists.freedesktop.org https:

Re: [PATCH v5] dma-buf: Add DmaBufTotal counter in meminfo

2021-04-25 Thread Peter.Enderborg
On 4/25/21 9:33 AM, Mike Rapoport wrote: > On Thu, Apr 22, 2021 at 02:08:51PM +, peter.enderb...@sony.com wrote: >> On 4/22/21 10:06 AM, Mike Rapoport wrote: >>> So the flow is like this: >>> >>> * a user has a problem and reports it to an application developer; at best >>> the user runs simp

Re: [PATCH v5] dma-buf: Add DmaBufTotal counter in meminfo

2021-04-25 Thread Mike Rapoport
On Thu, Apr 22, 2021 at 02:08:51PM +, peter.enderb...@sony.com wrote: > On 4/22/21 10:06 AM, Mike Rapoport wrote: > > So the flow is like this: > > > > * a user has a problem and reports it to an application developer; at best > > the user runs simple and limited app to collect some data > >