[Freedreno] [v6 2/5] drm/panel-simple: Support DP AUX backlight

2021-06-12 Thread Rajeev Nandan
If there is no backlight specified in the device tree and the panel has access to the DP AUX channel then create a DP AUX backlight if supported by the panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) This patch depends on the previous patch (2/5) of

[Freedreno] [v6 1/5] drm/panel: add basic DP AUX backlight support

2021-06-12 Thread Rajeev Nandan
Some panels support backlight control over DP AUX channel using VESA's standard backlight control interface. Using new DRM eDP backlight helpers, add support to create and register a backlight for those panels in drm_panel to simplify the panel drivers. The panel driver with access to "struct drm_

[Freedreno] [v6 3/5] drm/panel-simple: Support for delays between GPIO & regulator

2021-06-12 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- Changes in v4: - New Changes in v5: - Update description (Douglas) - Warn if "power_to_enable" or "disable_to_power

[Freedreno] [v6 5/5] drm/panel-simple: Add Samsung ATNA33XC20

2021-06-12 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) Changes in v4: - New Changes in v5: - Remove "uses_dpcd_backlight" property, not required now. (Douglas) drivers/gpu/drm/panel/panel-simple.c | 33 +++

[Freedreno] [v6 4/5] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-06-12 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson Acked-by: Rob Herring --- (no changes since v4) Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc

[Freedreno] [v6 0/5] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-06-12 Thread Rajeev Nandan
This series adds the support for the eDP panel that needs the backlight controlling over the DP AUX channel using DPCD registers of the panel as per the VESA's standard. This series also adds support for the Samsung eDP AMOLED panel that needs DP AUX to control the backlight, and introduces new de

Re: [Freedreno] [PATCH v2] drm/msm/dpu: Avoid ABBA deadlock between IRQ modules

2021-06-12 Thread Dmitry Baryshkov
On 11/06/2021 20:00, Bjorn Andersson wrote: Handling of the interrupt callback lists is done in dpu_core_irq.c, under the "cb_lock" spinlock. When these operations results in the need for enableing or disabling the IRQ in the hardware the code jumps to dpu_hw_interrupts.c, which protects its oper