Re: [PATCH v3 0/4] drm/log: Introduce a new boot logger to draw the kmsg on the screen

2024-10-04 Thread Caleb Connolly
better done in userspace. I tried this out on the OnePlus 6 (Qualcomm SDM845/freedreno) and it looks great :D Here's a demo for kicks: https://people.linaro.org/~caleb.connolly/drm_log_oneplus6.mp4 Tested-by: Caleb Connolly # freedreno/dsi Kind regards, If you're curious on ho

Re: [PATCH v3] misc: fastrpc: Add support for multiple PD from one process

2024-08-20 Thread Caleb Connolly
On 20/08/2024 07:18, Ekansh Gupta wrote: On 8/19/2024 4:35 PM, Caleb Connolly wrote: Hi Ekansh, On 08/08/2024 12:42, Ekansh Gupta wrote: Memory intensive applications(which requires more tha 4GB) that wants to offload tasks to DSP might have to split the tasks to multiple user PD to make

Re: [PATCH v3] misc: fastrpc: Add support for multiple PD from one process

2024-08-19 Thread Caleb Connolly
Hi Ekansh, On 08/08/2024 12:42, Ekansh Gupta wrote: Memory intensive applications(which requires more tha 4GB) that wants to offload tasks to DSP might have to split the tasks to multiple user PD to make the resources available. For every call to DSP, fastrpc driver passes the process tgid whic

Re: [PATCH v1] misc: fastrpc: Trigger a panic using BUG_ON in device release

2024-08-19 Thread Caleb Connolly
Hi Abishek, On 30/07/2024 09:09, Abhishek Singh wrote: The user process on ARM closes the device node while closing the session, triggers a remote call to terminate the PD running on the DSP. If the DSP is in an unstable state and cannot process the remote request from the HLOS, glink fails to d

Re: [PATCH v2 4/8] drm: mipi: add mipi_dsi_generic_write_multi_type()

2024-07-16 Thread Caleb Connolly
Hi Jessica, On 12/07/2024 23:39, Jessica Zhang wrote: On 6/30/2024 11:36 AM, Caleb Connolly wrote: Some panels like the Samsung AMB655X use long write commands for all non-standard messages and do not work when trying to use the appropriate command type. Support these panels by introducing

Re: [PATCH v2 6/8] drm/panel: add driver for samsung amb655x

2024-07-02 Thread Caleb Connolly
On 01/07/2024 22:32, Dmitry Baryshkov wrote: On Sun, Jun 30, 2024 at 08:36:29PM GMT, Caleb Connolly wrote: This is a 1080x2400 120hz panel used on the OnePlus 8T. It uses DSC but with many non-standard DCS commands. The only user of this panel (the OnePlus 8T) has a bug somewhere in the DSI

[PATCH v2 7/8] Input: touchscreen: add Synaptics TCM oncell S3908

2024-06-30 Thread Caleb Connolly
unsupported. Co-developed-by: Frieder Hannenheim Signed-off-by: Frieder Hannenheim Signed-off-by: Caleb Connolly --- MAINTAINERS | 7 + drivers/input/touchscreen/Kconfig| 11 + drivers/input/touchscreen/Makefile | 1 + drivers

[PATCH v2 8/8] arm64: dts: qcom: add OnePlus 8T (kebab)

2024-06-30 Thread Caleb Connolly
Initial support for USB, UFS, touchscreen, panel, wifi, and bluetooth. Co-developed-by: Frieder Hannenheim Signed-off-by: Frieder Hannenheim Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../arm64/boot/dts/qcom/sm8250-oneplus-common.dtsi | 909

[PATCH v2 6/8] drm/panel: add driver for samsung amb655x

2024-06-30 Thread Caleb Connolly
IO is made optional so it can be left unused on that device. Signed-off-by: Caleb Connolly --- MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-sa

[PATCH v2 2/8] dt-bindings: input: touchscreen: document synaptics TCM oncell

2024-06-30 Thread Caleb Connolly
Document the Synaptics TCM oncell series of touchscreens, starting with the s3908. Signed-off-by: Caleb Connolly --- .../input/touchscreen/syna,tcm-oncell.yaml | 68 ++ 1 file changed, 68 insertions(+) diff --git a/Documentation/devicetree/bindings/input

[PATCH v2 5/8] drm/mipi-dsi: add set column/page multi helpers

2024-06-30 Thread Caleb Connolly
Introduce mipi_dsi_dcs_set_column_address_multi() and mipi_dsi_dcs_set_page_address_multi() helpers. Signed-off-by: Caleb Connolly --- include/drm/drm_mipi_dsi.h | 16 1 file changed, 16 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index

[PATCH v2 0/8] qcom: initial support for the OnePlus 8T

2024-06-30 Thread Caleb Connolly
ce condition during probe - Handle big endian hosts correctly - Removed unused macros and generally clean up - Link to v1: https://lore.kernel.org/r/20240624-oneplus8-v1-0-388eecf2d...@postmarketos.org --- Caleb Connolly (8): dt-bindings: panel: document Samsung AMB655X

[PATCH v2 1/8] dt-bindings: panel: document Samsung AMB655X

2024-06-30 Thread Caleb Connolly
Describe the Samsung AMB655X panel. It has three supplies. Signed-off-by: Caleb Connolly --- .../bindings/display/panel/samsung,amb655x.yaml| 63 ++ 1 file changed, 63 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,amb655x.yaml b

[PATCH v2 4/8] drm: mipi: add mipi_dsi_generic_write_multi_type()

2024-06-30 Thread Caleb Connolly
Some panels like the Samsung AMB655X use long write commands for all non-standard messages and do not work when trying to use the appropriate command type. Support these panels by introducing a new helper to send commands of a specific type, overriding the normal rules. Signed-off-by: Caleb

[PATCH v2 3/8] dt-bindings: arm: qcom: add OnePlus 8 series

2024-06-30 Thread Caleb Connolly
Add bindings for the OnePlus 8, 8 Pro, and 8T devices. Acked-by: Krzysztof Kozlowski Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/arm/qcom.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation

Re: [PATCH 7/7] arm64: dts: qcom: add OnePlus 8T (kebab)

2024-06-27 Thread Caleb Connolly
On 26/06/2024 06:16, Bjorn Andersson wrote: On Mon, Jun 24, 2024 at 03:30:31AM GMT, Caleb Connolly wrote: Initial support for USB, UFS, touchscreen, panel, wifi, and bluetooth. Nice. diff --git a/arch/arm64/boot/dts/qcom/sm8250-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250

Re: [PATCH 6/7] Input: touchscreen: add Synaptics TCM oncell S3908

2024-06-27 Thread Caleb Connolly
On 24/06/2024 09:42, Dmitry Torokhov wrote: Hi Caleb, On Mon, Jun 24, 2024 at 03:30:30AM +0200, Caleb Connolly wrote: The TCM oncell is the next generation of Synaptics touchscreen ICs. These run a very featured firmware with a reasonably well defined API. It is however entirely

Re: [PATCH 1/7] dt-bindings: panel: document Samsung AMB655X

2024-06-27 Thread Caleb Connolly
On 28/06/2024 00:12, Rob Herring wrote: On Mon, Jun 24, 2024 at 03:30:25AM +0200, Caleb Connolly wrote: Describe the Samsung AMB655X panel. It has three supplies. Signed-off-by: Caleb Connolly --- .../bindings/display/panel/samsung,amb655x.yaml| 59 ++ 1 file

Re: [PATCH 0/7] qcom: initial support for the OnePlus 8T

2024-06-24 Thread Caleb Connolly
On 24/06/2024 07:18, Dmitry Baryshkov wrote: On Mon, Jun 24, 2024 at 03:30:24AM GMT, Caleb Connolly wrote: Add bindings for the SM8250 OnePlus devices, a common devicetree, touchscreen and display drivers, and a dts for the OnePlus 8T (kebab). The OnePlus 8 series is made up of 3 flagship

[PATCH 2/7] dt-bindings: input: touchscreen: document synaptics TCM oncell

2024-06-24 Thread Caleb Connolly
Document the Synaptics TCM oncell series of touchscreens, starting with the s3908. Signed-off-by: Caleb Connolly --- .../input/touchscreen/syna,tcm-oncell.yaml | 66 ++ 1 file changed, 66 insertions(+) diff --git a/Documentation/devicetree/bindings/input

Re: [PATCH 1/7] dt-bindings: panel: document Samsung AMB655X

2024-06-24 Thread Caleb Connolly
On 24/06/2024 03:30, Caleb Connolly wrote: Describe the Samsung AMB655X panel. It has three supplies. Signed-off-by: Caleb Connolly --- .../bindings/display/panel/samsung,amb655x.yaml| 59 ++ 1 file changed, 59 insertions(+) diff --git a/Documentation/devicetree

[PATCH 7/7] arm64: dts: qcom: add OnePlus 8T (kebab)

2024-06-24 Thread Caleb Connolly
Initial support for USB, UFS, touchscreen, panel, wifi, and bluetooth. Co-developed-by: Frieder Hannenheim Signed-off-by: Frieder Hannenheim Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../arm64/boot/dts/qcom/sm8250-oneplus-common.dtsi | 866

[PATCH 0/7] qcom: initial support for the OnePlus 8T

2024-06-24 Thread Caleb Connolly
browse the web with GPU acceleration. The touchscreen driver included here is loosely based on a previous attempt by Frieder Hannenheim which can be found below. Link: https://lore.kernel.org/lkml/20240327214643.7055-1-friederhannenh...@riseup.net/ --- Caleb Connolly (7): dt-bindings: panel

[PATCH 3/7] dt-bindings: arm: qcom: add OnePlus 8 series

2024-06-24 Thread Caleb Connolly
Add bindings for the OnePlus 8, 8 Pro, and 8T devices. Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/arm/qcom.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml

[PATCH 4/7] drm: mipi: add mipi_dsi_generic_write_multi_type()

2024-06-24 Thread Caleb Connolly
Some panels like the Samsung AMB655X use long write commands for all non-standard messages and do not work when trying to use the appropriate command type. Support these panels by introducing a new helper to send commands of a specific type, overriding the normal rules. Signed-off-by: Caleb

[PATCH 5/7] drm/panel: add driver for samsung amb655x

2024-06-24 Thread Caleb Connolly
This is a 1080x2400 120hz panel used on the OnePlus 8T. It uses DSC but uses non-standard DCS commands. Signed-off-by: Caleb Connolly --- MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile

[PATCH 1/7] dt-bindings: panel: document Samsung AMB655X

2024-06-24 Thread Caleb Connolly
Describe the Samsung AMB655X panel. It has three supplies. Signed-off-by: Caleb Connolly --- .../bindings/display/panel/samsung,amb655x.yaml| 59 ++ 1 file changed, 59 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,amb655x.yaml b

[PATCH 6/7] Input: touchscreen: add Synaptics TCM oncell S3908

2024-06-24 Thread Caleb Connolly
unsupported. Co-developed-by: Frieder Hannenheim Signed-off-by: Frieder Hannenheim Signed-off-by: Caleb Connolly --- MAINTAINERS | 7 + drivers/input/touchscreen/Kconfig| 11 + drivers/input/touchscreen/Makefile | 1 + drivers

Re: [PATCH] Revert "drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set"

2024-05-14 Thread Caleb Connolly
gnment for CMD DSI panels. Fixes: d13f638c9b88 ("drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set") Signed-off-by: Dmitry Baryshkov Hi Dmitry, This fixes the regular DRM irq errors for me! Tested-by: Caleb Connolly # sm8250 OnePlus 8 --- drivers/gpu/drm/msm/disp/dpu1/dpu_e

Re: [PATCH] drm/msm/dpu: fix vblank IRQ handling for command panels

2024-05-05 Thread Caleb Connolly
On 03/05/2024 22:59, Dmitry Baryshkov wrote: On Fri, May 03, 2024 at 11:18:52AM +0200, Luca Weiss wrote: On Sun Apr 7, 2024 at 5:15 AM CEST, Dmitry Baryshkov wrote: On Sat, 30 Mar 2024 at 18:49, Marijn Suijten wrote: On 2024-03-30 05:52:29, Dmitry Baryshkov wrote: In case of CMD DSI pane

Re: [PATCH 2/3] drm/panel: add samsung s6e3fa7 panel driver

2024-03-04 Thread Caleb Connolly
On 04/03/2024 21:41, Caleb Connolly wrote: > > > On 09/02/2024 00:16, Richard Acayan wrote: >> The S6E3FA7 display controller is enabled in every Pixel 3a (non-XL) >> variant. Add the driver for it, generated by >> linux-mdss-dsi-panel-driver-generator. >> &g

Re: [PATCH 2/3] drm/panel: add samsung s6e3fa7 panel driver

2024-03-04 Thread Caleb Connolly
t; + "Failed to get reset-gpios\n"); > + > + ctx->dsi = dsi; > + mipi_dsi_set_drvdata(dsi, ctx); > + > + dsi->lanes = 4; > + dsi->format = MIPI_DSI_FMT_RGB888; > + dsi->mode_flags = MIPI_DSI_MODE_VIDEO_BURST | T

Re: [PATCH RFC] dt-bindings: display: document display panel occlusions

2023-10-10 Thread Caleb Connolly
On 10/10/2023 23:53, Piotr Masłowski wrote: > On Tue Oct 10, 2023 at 10:36 PM CEST, Caleb Connolly wrote: > >>> So why am I writing all of this? Well, the problem I see is that any >>> shape-based approach will likely suffer from both accuracy and >>> comple

Re: [PATCH RFC] dt-bindings: display: document display panel occlusions

2023-10-10 Thread Caleb Connolly
On 10/10/2023 21:01, Piotr Masłowski wrote: > Hi Caleb, > > Thanks for posting this. I've been meaning to chime in on the discussion > about notches and co. for months now, so this makes a perfect opportunity > to finally do so. > > On Mon Oct 9, 2023 at 7:32 PM

Re: [PATCH RFC] dt-bindings: display: document display panel occlusions

2023-10-10 Thread Caleb Connolly
On 10/10/2023 17:52, Rob Herring wrote: > On Mon, Oct 09, 2023 at 06:32:50PM +0100, Caleb Connolly wrote: >> Some display panels found in modern phones and laptops feature >> non-standard display shapes with features like rounded corners, notches >> (sections of the dis

[PATCH RFC] dt-bindings: display: document display panel occlusions

2023-10-09 Thread Caleb Connolly
(this directly affects how usable this edge of the screen is). [1]: https://lore.kernel.org/dri-devel/f8747f99-0695-5be0-841f-4f72ba5d5...@connolly.tech/ [2]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/87 [3]: https://gitlab.gnome.org/World/Phosh/gmobile Signed-off-by: Caleb

Re: [PATCH v5 2/2] arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved

2023-07-14 Thread Caleb Connolly
On 13/07/2023 17:52, Amit Pundir wrote: > Adding a reserved memory region for the framebuffer memory > (the splash memory region set up by the bootloader). > > Signed-off-by: Amit Pundir Reviewed-by: Caleb Connolly > --- > v5: Re-sending with updated dt-bindings pa

[PATCH] drm/panel: move some dsi commands from unprepare to disable

2023-06-12 Thread Caleb Connolly
The commit 007ac0262b0d ("drm/msm/dsi: switch to DRM_PANEL_BRIDGE") breaks panels which send DSI commands in their .unprepare callbacks. Migrate to using .disable for that for some SDM845 panels. Co-developed-by: Joel Selvaraj Signed-off-by: Joel Selvaraj Signed-off-by: Caleb Connolly

Re: [PATCH RFC 01/10] drm/panel: Clean up SOFEF00 config dependencies

2023-05-28 Thread Caleb Connolly
MODE_HELPERS. In addition it > uses devm_gpiod_get() and related functions from GPIOLIB. > > Fixes: 5933baa36e26 ("drm/panel/samsung-sofef00: Add panel for OnePlus 6/T > devices") > Signed-off-by: Marijn Suijten Reviewed-by: Caleb Connolly > --- > drivers/gpu/dr

Re: [RFC PATCH v2 2/2] drm/panel: sofef00: Use 16-bit panel brightness

2023-01-13 Thread Caleb Connolly
t brightness instead of doing special processing > of the brightness values. > > Signed-off-by: Richard Acayan Awesome! Thanks for this series, glad to know this isn't a weird panel quirk aha. This works fine on the OnePlus 6 (the user of this panel), so for both patches:

Re: [PATCH v2.5] drm/msm/dsi: switch to DRM_PANEL_BRIDGE

2022-11-11 Thread Caleb Connolly
Hi, This patch has caused a regression on 6.1-rc for some devices that use DSI panels. The new behaviour results in the DSI controller being switched off before the panel unprepare hook is called. As a result, panel drivers which call mipi_dsi_dcs_write() or similar in unprepare() fail. I'v

Re: [Freedreno] [PATCH v3 06/10] drm/msm/dsi: Migrate to drm_dsc_compute_rc_parameters()

2022-10-17 Thread Caleb Connolly
On 17/10/2022 09:59, Marijn Suijten wrote: > On 2022-10-13 09:02:44, Abhinav Kumar wrote: >> On 10/13/2022 2:36 AM, Marijn Suijten wrote: >>> On 2022-10-12 16:03:06, Abhinav Kumar wrote: [..] But I would like to hold back this change till Vinod clarifies because Vinod had mentione

Re: [PATCH 2/2] drivers: gpu: drm: remove support for sofef00 driver on s6e3fc2x01 panel

2022-09-24 Thread Caleb Connolly
On 24/09/2022 21:36, Nia Espera wrote: > Removes functionality from sofef00 panel driver which allowed it to > drive the s6e3fc2x01 panel > > Signed-off-by: Nia Espera Reviewed-by: Caleb Connolly > --- > drivers/gpu/drm/panel/Kconfig | 6 +++--- >

Re: [PATCH 1/2] drivers: gpu: drm: add driver for samsung s6e3fc2x01 cmd mode panel

2022-09-24 Thread Caleb Connolly
support for this panel in it's own driver rather than the somewhat hacky solution I submitted originally. There is just one note below, but otherwise: Reviewed-by: Caleb Connolly > --- > MAINTAINERS | 5 + > drivers/gpu/drm/panel/Kconfig

Re: [PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-07 Thread Caleb Connolly
GPI DMA on the PocoPhone F1 and Pixel 3! > > Signed-off-by: Robin Reckmann Reviewed-by: Caleb > Connolly > --- > drivers/i2c/busses/i2c-qcom-geni.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-qcom-geni.c > b/drivers/i

Re: [PATCH 2/4] arm64: dts: qcom: add sdm845-google-blueline (Pixel 3)

2022-07-18 Thread Caleb Connolly
On 18/07/2022 23:13, Dmitry Baryshkov wrote: > On 19/07/2022 00:30, Caleb Connolly wrote: >> From: Amit Pundir >> >> This adds an initial dts for the Blueline (Pixel 3). Supported >> functionality includes display, Debug UART, UFS, USB-C (peripheral), W

[PATCH 3/4] dt-bindings: panel: Add LG SW43408 MIPI-DSI panel

2022-07-18 Thread Caleb Connolly
From: Sumit Semwal LG SW43408 is 1080x2160, 4-lane MIPI-DSI panel. Signed-off-by: Vinod Koul Signed-off-by: Sumit Semwal [caleb: convert to yaml] Signed-off-by: Caleb Connolly --- .../bindings/display/panel/lg,43408.yaml | 41 +++ .../display/panel/panel-simple-dsi.yaml

[PATCH 4/4] drm: panel: Add lg sw43408 panel driver

2022-07-18 Thread Caleb Connolly
panel. The disable/unprepare functions only put the panel to sleep mode and disable the backlight. Signed-off-by: Sumit Semwal [vinod: Add DSC support] Signed-off-by: Vinod Koul [caleb: cleanup and support turning off the panel] Signed-off-by: Caleb Connolly --- MAINTA

[PATCH 1/4] Documentation: dt-bindings: arm: qcom: add google, blueline

2022-07-18 Thread Caleb Connolly
Document the bindings for the Pixel 3 Based on https://lore.kernel.org/all/20220521164550.91115-7-krzysztof.kozlow...@linaro.org/ Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 0/4] Initial support for the Pixel 3

2022-07-18 Thread Caleb Connolly
to fail The touchscreen uses some HEFTY downstream driver, hopefully we'll come up with an upstreamable solution for it soon and make this a bit more usable. Amit Pundir (1): arm64: dts: qcom: add sdm845-google-blueline (Pixel 3) Caleb Connolly (1): Documentation: dt-bindings: arm: qcom

[PATCH 2/4] arm64: dts: qcom: add sdm845-google-blueline (Pixel 3)

2022-07-18 Thread Caleb Connolly
reserved-memory for modem/wifi] Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sdm845-google-blueline.dts | 652 ++ 2 files changed, 653 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sdm845-google-blueline.dts

[PATCH 0/4] Initial support for the Pixel 3

2022-07-18 Thread Caleb Connolly
to fail The touchscreen uses some HEFTY downstream driver, hopefully we'll come up with an upstreamable solution for it soon and make this a bit more usable. Amit Pundir (1): arm64: dts: qcom: add sdm845-google-blueline (Pixel 3) Caleb Connolly (1): Documentation: dt-bindings: arm: qcom

[PATCH 1/4] Documentation: dt-bindings: arm: qcom: add google, blueline

2022-07-18 Thread Caleb Connolly
Document the bindings for the Pixel 3 Based on https://lore.kernel.org/all/20220521164550.91115-7-krzysztof.kozlow...@linaro.org/ Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 6/6] arm64: dts: qcom: sdm845: add device tree for SHIFT6mq

2022-01-23 Thread Caleb Connolly
From: Alexander Martinz Add initial support for the SHIFT SHIFT6mq (axolotl) based on the sdm845-mtp DT. Currently supported features: * Buttons (power, volume) * Bluetooth, DSPs and modem * Display and GPU * Touch * UART * USB peripheral mode * WLAN Co-developed-by: Caleb Connolly Signed-off

[PATCH 5/6] dt-bindings: vendor-prefixes: add vendor prefix for SHIFT

2022-01-23 Thread Caleb Connolly
Add SHIFT vendor prefix, SHIFT make various devices such as the SHIF6mq phone. Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH 4/6] drm/panel: visionox-rm69299: support the variant found in the SHIFT6mq

2022-01-23 Thread Caleb Connolly
Add support for another variant of the rm69299 panel. This panel is 1080x2160 and is found in the shift-axolotl (SHIFT6mq). Signed-off-by: Caleb Connolly --- .../gpu/drm/panel/panel-visionox-rm69299.c| 281 ++ 1 file changed, 221 insertions(+), 60 deletions(-) diff --git a

[PATCH 3/6] dt-bindings: display: visionox-rm69299: document new compatible string

2022-01-23 Thread Caleb Connolly
Document a new compatible string for the second panel variant. Signed-off-by: Caleb Connolly --- .../devicetree/bindings/display/panel/visionox,rm69299.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/visionox,rm69299

[PATCH 2/6] input: touchscreen: add focaltech FTS driver

2022-01-23 Thread Caleb Connolly
: Caleb Connolly --- drivers/input/touchscreen/Kconfig | 9 + drivers/input/touchscreen/Makefile| 1 + drivers/input/touchscreen/focaltech_fts.c | 870 ++ 3 files changed, 880 insertions(+) create mode 100644 drivers/input/touchscreen/focaltech_fts.c diff

[PATCH 1/6] dt-bindings: input: touchscreen: add bindings for focaltech, fts

2022-01-23 Thread Caleb Connolly
Add devicetree bindings for the Focaltech FTS touchscreen drivers. Signed-off-by: Caleb Connolly --- .../input/touchscreen/focaltech,fts.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/focaltech

[PATCH 0/6] Add support for the SHIFT SHIFT6mq

2022-01-23 Thread Caleb Connolly
rking: * Display / GPU / touch * WIFI * Modem (sms and mobile data are supported with ModemManager) - Caleb Alexander Martinz (1): arm64: dts: qcom: sdm845: add device tree for SHIFT6mq Caleb Connolly (5): dt-bindings: input: touchscreen: add bindings for focaltech,fts input: touchscreen

Re: [PATCH] drm/msm/devfreq: Restrict idle clamping to a618 for now

2021-10-18 Thread Caleb Connolly
s proper idling on a630, but that can wait for 5.16. Tested-by: Caleb Connolly thanks -john -- Kind Regards, Caleb (they/them)

Re: [PATCH 2/2] drm/msm/devfreq: Add 1ms delay before clamping freq

2021-10-16 Thread Caleb Connolly
On 28/09/2021 00:04, Rob Clark wrote: From: Rob Clark Add a short delay before clamping to idle frequency on active->idle transition. It takes ~0.5ms to increase the freq again on the next idle->active transition, so this helps avoid extra freq transitions on workloads that bounce between CP

Re: [PATCH v4 00/24] drm/bridge: Make panel and bridge probe order consistent

2021-09-30 Thread Caleb Connolly
Hi, On 30/09/2021 20:49, Amit Pundir wrote: On Thu, 30 Sept 2021 at 04:50, Rob Clark wrote: On Wed, Sep 29, 2021 at 2:51 PM John Stultz wrote: On Wed, Sep 29, 2021 at 2:32 PM John Stultz wrote: On Wed, Sep 29, 2021 at 2:27 PM John Stultz wrote: On Fri, Sep 10, 2021 at 3:12 AM Maxime Ri

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-09-10 Thread Caleb Connolly
On 10/09/2021 18:18, Rob Clark wrote: On Tue, Sep 7, 2021 at 7:20 PM Bjorn Andersson wrote: On Mon 09 Aug 10:26 PDT 2021, Akhil P Oommen wrote: On 8/9/2021 9:48 PM, Caleb Connolly wrote: On 09/08/2021 17:12, Rob Clark wrote: On Mon, Aug 9, 2021 at 7:52 AM Akhil P Oommen wrote

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-09-08 Thread Caleb Connolly
On 08/09/2021 03:21, Bjorn Andersson wrote: On Mon 09 Aug 10:26 PDT 2021, Akhil P Oommen wrote: On 8/9/2021 9:48 PM, Caleb Connolly wrote: On 09/08/2021 17:12, Rob Clark wrote: On Mon, Aug 9, 2021 at 7:52 AM Akhil P Oommen wrote: [..] I am a bit confused. We don't define a

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-08-09 Thread Caleb Connolly
On 09/08/2021 18:58, Rob Clark wrote: On Mon, Aug 9, 2021 at 10:28 AM Akhil P Oommen wrote: On 8/9/2021 9:48 PM, Caleb Connolly wrote: On 09/08/2021 17:12, Rob Clark wrote: On Mon, Aug 9, 2021 at 7:52 AM Akhil P Oommen wrote: On 8/8/2021 10:22 PM, Rob Clark wrote: On Sun, Aug 8

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-08-09 Thread Caleb Connolly
On 09/08/2021 17:12, Rob Clark wrote: On Mon, Aug 9, 2021 at 7:52 AM Akhil P Oommen wrote: On 8/8/2021 10:22 PM, Rob Clark wrote: On Sun, Aug 8, 2021 at 7:33 AM Caleb Connolly wrote: On 07/08/2021 21:04, Rob Clark wrote: On Sat, Aug 7, 2021 at 12:21 PM Caleb Connolly wrote: Hi

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-08-08 Thread Caleb Connolly
On 07/08/2021 21:04, Rob Clark wrote: On Sat, Aug 7, 2021 at 12:21 PM Caleb Connolly wrote: Hi Rob, Akhil, On 29/07/2021 21:53, Rob Clark wrote: On Thu, Jul 29, 2021 at 1:28 PM Caleb Connolly wrote: On 29/07/2021 21:24, Rob Clark wrote: On Thu, Jul 29, 2021 at 1:06 PM Caleb

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-08-07 Thread Caleb Connolly
Hi Rob, Akhil, On 29/07/2021 21:53, Rob Clark wrote: On Thu, Jul 29, 2021 at 1:28 PM Caleb Connolly wrote: On 29/07/2021 21:24, Rob Clark wrote: On Thu, Jul 29, 2021 at 1:06 PM Caleb Connolly wrote: Hi Rob, I've done some more testing! It looks like before that patch (&qu

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-07-29 Thread Caleb Connolly
On 29/07/2021 21:24, Rob Clark wrote: On Thu, Jul 29, 2021 at 1:06 PM Caleb Connolly wrote: Hi Rob, I've done some more testing! It looks like before that patch ("drm/msm: Devfreq tuning") the GPU would never get above the second frequency in the OPP table (342MHz) (a

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-07-29 Thread Caleb Connolly
t revert to previous devfreq behavior on a630 until the issue is understood. Reported-by: Caleb Connolly Fixes: 9bc95570175a ("drm/msm: Devfreq tuning") Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 3 +++ drivers/gpu/drm/msm/msm_gpu.h | 2 ++ drivers

Re: [early pull] drm/msm: drm-msm-next-2021-07-28 for v5.15

2021-07-28 Thread Caleb Connolly
Hi Rob, This series causes a fatal crash on my Oneplus 6, the device goes to Qualcomm crashdump mode shortly after reaching UI with the following errors: https://paste.ubuntu.com/p/HvjmzZYtgw/ I did a git bisect and the patch ("drm/msm: Devfreq tuning") seems to be the cause of the crash, re

Re: [early pull] drm/msm: drm-msm-next-2021-07-28 for v5.15

2021-07-28 Thread Caleb Connolly
r if the PocoPhone F1 has the same problem... BR, -R On Wed, Jul 28, 2021 at 5:35 PM Caleb Connolly wrote: Hi Rob, This series causes a fatal crash on my Oneplus 6, the device goes to Qualcomm crashdump mode shortly after reaching UI with the following errors: https://paste.ubuntu.com/p/Hvjmz

Re: [PATCH 3/5] drm/panel/samsung-sofef00: make gpio optional

2021-07-20 Thread Caleb Connolly
Hi Bjorn, On 20/07/2021 17:03, Bjorn Andersson wrote: > On Tue 20 Jul 10:33 CDT 2021, Caleb Connolly wrote: > >> The OnePlus 6T panel fails to initialise if it has been reset, >> workaround this by allowing panels to not specify a reset GPIO. >> >>

[PATCH 5/5] arm64: dts: qcom: sdm845-oneplus: add ipa firmware names

2021-07-20 Thread Caleb Connolly
Add the correct patch to the ipa firmware now that custom paths are supported. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts

[PATCH 2/5] dts: arm64: sdm845-oneplus-common: enable debug UART

2021-07-20 Thread Caleb Connolly
-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index eb6b1d15293d..e81f5cc9f26d 100644 --- a

[PATCH 0/5] OnePlus 6 fixes

2021-07-20 Thread Caleb Connolly
t GPIO handling") https://lore.kernel.org/linux-arm-msm/20210502014146.85642-3-ca...@connolly.tech/ Caleb Connolly (5): arm64: dts: qcom: sdm845-oneplus: fix reserved-mem dts: arm64: sdm845-oneplus-common: enable debug UART drm/panel/samsung-sofef00: make gpio optional arm64: dts:

[PATCH 4/5] arm64: dts: qcom: sdm845-oneplus-fajita: remove panel reset gpio

2021-07-20 Thread Caleb Connolly
Don't specify the reset GPIO for the OnePlus 6T, the panel in the 6T will refuse to initialise if it has been reset so use this as a workaround. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 +--- arch/arm64/boot/dts/qcom/sdm845-on

[PATCH 3/5] drm/panel/samsung-sofef00: make gpio optional

2021-07-20 Thread Caleb Connolly
The OnePlus 6T panel fails to initialise if it has been reset, workaround this by allowing panels to not specify a reset GPIO. Signed-off-by: Caleb Connolly --- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH 1/5] arm64: dts: qcom: sdm845-oneplus: fix reserved-mem

2021-07-20 Thread Caleb Connolly
Fix the upper guard and the "removed_region", this fixes the random crashes which used to occur in memory intensive loads. I'm not sure WHY the upper guard being 0x2000 instead of 0x1000 doesn't fix this, but it HAS to be 0x1000. Signed-off-by: Caleb Connolly Fixes: e60fd

Re: Display notch support

2021-05-03 Thread Caleb Connolly
On 28/04/2021 8:21 am, Simon Ser wrote: >> A solution to make this configuration generic and exposed by the kernel >> would standardise this across Linux > Having a KMS property for this makes sense to me. > > Chatting with Jani on IRC, it doesn't seem like there's any EDID or > DisplayID block f

[PATCH 2/4] drm: panel: sofef00: remove reset GPIO handling

2021-05-01 Thread Caleb Connolly
Resetting the panel on fajita causes it to never come back, we aren't quite sure why this is so for now lets remove reset handling as it is effectively broken. It is also not needed on enchilada. Signed-off-by: Caleb Connolly --- drivers/gpu/drm/panel/panel-samsung-sofef00.c

Display notch support

2021-04-27 Thread Caleb Connolly
With many more non-desktop form factor devices landing in the kernel, we're starting to run up against some limitations. Notably devices with display notches, cutouts and rounded corners. Given that the DRI subsystem already deals with physical display properties like panel orientation which is

[PATCH] drm/msm: always parse interconnects

2021-04-17 Thread Caleb Connolly
The WARN_ON in dpu_runtime_resume() fires constantly on non-SC7180 platforms. As SDM845 now has interconnects hooked up we should always try and parse them. Fixes: 627dc55c273d ("drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume") Signed-off-by: Caleb Connolly --

[PATCH 2/5] dt-bindings: panel-simple-dsi: add samsung panels for OnePlus 6/T

2020-11-13 Thread Caleb Connolly
Add compatibles for the samsung,sofef00 and samsung,s6e3fc2x01 panels used in the OnePlus 6 & 6T respectively. Signed-off-by: Caleb Connolly --- .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/device

[PATCH 1/5] drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices

2020-11-13 Thread Caleb Connolly
c2x01 Signed-off-by: Caleb Connolly --- Changes since v1: * Rename driver to samsung-sofef00 rather than be device specific. * Make use of drm_panel backlight, simplifying the driver. * Make reset function do a full reset, instead of simply taking the panel out of reset. * Removed get_brigh

Re: [PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel

2020-10-19 Thread Caleb Connolly
On 2020-10-09 15:05, Rob Herring wrote: > On Wed, Oct 07, 2020 at 05:49:14PM +0000, Caleb Connolly wrote: >> Document the OnePlus 6/T common panel driver, example from >> arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi >> >> Signed-off-by: Caleb Connolly >>

Re: [PATCH 1/5] drm/panel/oneplus6: Add panel-oneplus6

2020-10-19 Thread Caleb Connolly
ure has > evolved since the driver was started. > But despite the number of comments below it is all trivial and the > driver looks good in general. > > I look forward to see the next revision. > > Sam > > On Wed, Oct 07, 2020 at 05:49:08PM +, Caleb Connolly wrote:

[PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel

2020-10-08 Thread Caleb Connolly
Document the OnePlus 6/T common panel driver, example from arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi Signed-off-by: Caleb Connolly --- .../display/panel/panel-oneplus6.yaml | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 1/5] drm/panel/oneplus6: Add panel-oneplus6

2020-10-08 Thread Caleb Connolly
river that is specific to the devices. The panels are: samsung,sofef00 and samsung,s6e3fc2x01 Signed-off-by: Caleb Connolly --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-oneplus6.c

[PATCH 1/5] drm/panel/oneplus6: Add panel-oneplus6

2020-10-08 Thread Caleb Connolly
river that is specific to the devices. The panels are: samsung,sofef00 and samsung,s6e3fc2x01 Signed-off-by: Caleb Connolly --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-oneplus6.c

[PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel

2020-10-08 Thread Caleb Connolly
Document the OnePlus 6/T common panel driver, example from arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi Signed-off-by: Caleb Connolly --- .../display/panel/panel-oneplus6.yaml | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree

Re: [PATCH v16 00/20] iommu/arm-smmu + drm/msm: per-process GPU pgtables

2020-09-08 Thread Caleb Connolly
On 2020-09-01 17:46, Rob Clark wrote: > From: Rob Clark > > NOTE: I have re-ordered the series, and propose that we could merge this >series in the following order: > > 1) 01-11 - merge via drm / msm-next > 2) 12-15 - merge via iommu, no dependency on msm-next pull req >