[PATCH v2 1/4] dt-bindings: display/msm/gmu: Add SDM670 compatible

2024-08-06 Thread Richard Acayan
The Snapdragon 670 has a GMU. Add its compatible. Signed-off-by: Richard Acayan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/display/msm/gmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation

[PATCH v2 4/4] arm64: dts: qcom: sdm670-google-sargo: enable gpu

2024-08-06 Thread Richard Acayan
Enable the A615 GPU and GMU for the Pixel 3a. It has zap firmware, so add that in as well. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch

[PATCH v2 3/4] arm64: dts: qcom: sdm670: add gpu

2024-08-06 Thread Richard Acayan
The Snapdragon 670 has the Adreno A615 GPU. Add it along with its device tree dependencies. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 180 +++ 1 file changed, 180 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch

[PATCH v2 2/4] drm/msm/adreno: add a615 support

2024-08-06 Thread Richard Acayan
The Adreno A615 is used in SDM670. Add an entry to support it. Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno

[PATCH v2 0/4] drm/msm/adreno: Add A615 GPU for SDM670 and Pixel 3a

2024-08-06 Thread Richard Acayan
This adds support for the speed-binned A615 GPU on SDM670. Changes since v1 (20240730013844.41951-6-mailingrad...@gmail.com): - add Acked-by tag (1/4) - add OPPs exclusive to some speed bins (3/4) - enable GMU by default (3/4) Richard Acayan (4): dt-bindings: display/msm/gmu: Add SDM670

Re: [PATCH 3/4] arm64: dts: qcom: sdm670: add gpu

2024-08-02 Thread Richard Acayan
On Mon, Jul 29, 2024 at 09:38:48PM -0400, Richard Acayan wrote: > The Snapdragon 670 has the Adreno A615 GPU. Add it along with its device > tree dependencies. > > Signed-off-by: Richard Acayan > --- > arch/arm64/boot/dts/qcom/sdm670.dtsi | 168 +++ >

[PATCH 1/4] dt-bindings: display/msm/gmu: Add SDM670 compatible

2024-07-29 Thread Richard Acayan
The Snapdragon 670 has a GMU. Add its compatible. Signed-off-by: Richard Acayan --- Documentation/devicetree/bindings/display/msm/gmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm

[PATCH 4/4] arm64: dts: qcom: sdm670-google-common: enable gpu

2024-07-29 Thread Richard Acayan
Enable the A615 GPU and GMU for the Pixel 3a. It has zap firmware, so add that in as well. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b

[PATCH 3/4] arm64: dts: qcom: sdm670: add gpu

2024-07-29 Thread Richard Acayan
The Snapdragon 670 has the Adreno A615 GPU. Add it along with its device tree dependencies. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 168 +++ 1 file changed, 168 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch

[PATCH 2/4] drm/msm/adreno: add a615 support

2024-07-29 Thread Richard Acayan
The Adreno A615 is used in SDM670. Add an entry to support it along with the speed bins. Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers

[PATCH 0/4] drm/msm/adreno: Add A615 GPU for SDM670 and Pixel 3a

2024-07-29 Thread Richard Acayan
This adds support for the speed-binned A615 GPU on SDM670. Richard Acayan (4): dt-bindings: display/msm/gmu: Add SDM670 compatible drm/msm/adreno: add a615 support arm64: dts: qcom: sdm670: add gpu arm64: dts: qcom: sdm670-google-common: enable gpu .../devicetree/bindings/display/msm

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

2024-02-09 Thread Richard Acayan
On Thu, Feb 08, 2024 at 05:34:57PM -0800, Jessica Zhang wrote: > On 2/8/2024 4:16 PM, 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. &

[PATCH 1/3] dt-bindings: display: panel-simple-dsi: add s6e3fa7 ams559nk06 compat

2024-02-08 Thread Richard Acayan
The Samsung S6E3FA7 display controller and AMS559NK06 panel are used for the display in Pixel 3a devices. Add the compatible for it. Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH 3/3] arm64: dts: qcom: sdm670-google-sargo: add panel

2024-02-08 Thread Richard Acayan
Add the panel used in the Google Pixel 3a. Signed-off-by: Richard Acayan --- .../boot/dts/qcom/sdm670-google-sargo.dts | 64 +++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/boot/dts/qcom/sdm670-google

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

2024-02-08 Thread Richard Acayan
-cmd.dtsi Link: https://github.com/msm8953-mainline/linux/blob/v6.6.12-r0/drivers/gpu/drm/panel/panel-samsung-s6e3fa7.c Link: https://www.ifixit.com/Guide/Image/meta/muyjtLQTHu6MDkhK Signed-off-by: Richard Acayan --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel

[PATCH 0/3] drm/panel: Pixel 3a Panel

2024-02-08 Thread Richard Acayan
This adds support for the AMS559NK06 panel with the S6E3FA7 display controller and enables the display subsystem on the Pixel 3a. Richard Acayan (3): dt-bindings: display: panel-simple-dsi: add s6e3fa7 ams559nk06 compat drm/panel: add samsung s6e3fa7 panel driver arm64: dts: qcom: sdm670

Re: [PATCH] drm/msm/mdss: specify cfg bandwidth for SDM670

2024-01-11 Thread Richard Acayan
Y_CFG 0> Furthermore, I have not yet emailed the patches that I use to test the display on SDM670, namely, the panel driver and device tree changes for the Pixel 3a. Nevertheless, this does not break anything, even with the interconnect path and everything needed to test. Tested-by: Richard Acayan > }; > > static const struct msm_mdss_data sdm845_data = { > -- > 2.39.2 >

[PATCH] fbdev/simplefb: Suppress error on missing power domains

2023-11-21 Thread Richard Acayan
fbdev/simplefb: Add support for generic power-domains") Closes: https://lore.kernel.org/linux-fbdev/ZVwFNfkqjrvhFHM0@radian Signed-off-by: Richard Acayan --- drivers/video/fbdev/simplefb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/fbdev/simplefb.c b/drivers/v

Re: [PATCH v2 2/2] fbdev/simplefb: Add support for generic power-domains

2023-11-21 Thread Richard Acayan
On Tue, Nov 21, 2023 at 10:01:18AM +0100, Hans de Goede wrote: > Hi, > > On 11/21/23 02:17, Richard Acayan wrote: >> Hello, >> >> On Wed, Nov 01, 2023 at 06:20:17PM +0100, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> The simp

Re: [PATCH v2 2/2] fbdev/simplefb: Add support for generic power-domains

2023-11-20 Thread Richard Acayan
Hello, On Wed, Nov 01, 2023 at 06:20:17PM +0100, Thierry Reding wrote: > From: Thierry Reding > > The simple-framebuffer device tree bindings document the power-domains > property, so make sure that simplefb supports it. This ensures that the > power domains remain enabled as long as simplefb is

[PATCH v4 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-16 Thread Richard Acayan
://android.googlesource.com/kernel/msm/+/368478b0ae76566927a2769a2bf24dfe7f38bb78/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h| 104 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 1 + .../gpu/drm/msm/disp

[PATCH v4 6/6] arm64: dts: qcom: sdm670: add display subsystem

2023-10-16 Thread Richard Acayan
The Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree. Reviewed-by: Dmitry Baryshkov Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 292 +++ 1 file changed, 292

[PATCH v4 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-10-16 Thread Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings

[PATCH v4 4/6] drm/msm: mdss: add support for SDM670

2023-10-16 Thread Richard Acayan
Add support for the MDSS block on the SDM670 platform. Reviewed-by: Dmitry Baryshkov Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/msm_mdss.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 2e87dd6cb17b

[PATCH v4 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-10-16 Thread Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation. Reviewed-by: Rob Herring Signed-off-by: Richard Acayan --- .../display/msm/qcom,sdm670-mdss.yaml | 292 ++ 1 file changed, 292 insertions(+) create mode 100644

[PATCH v4 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-10-16 Thread Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi

[PATCH v4 0/6] SDM670 display subsystem support

2023-10-16 Thread Richard Acayan
device tree changes. There is a separate IOMMU patch which adds the MDSS compatible to a workaround. This series depends on https://patchwork.freedesktop.org/series/119804/. Richard Acayan (6): dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible dt-bindings: display/msm: sdm845

[PATCH v3 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-09 Thread Richard Acayan
://android.googlesource.com/kernel/msm/+/368478b0ae76566927a2769a2bf24dfe7f38bb78/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h| 104 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 1 + .../gpu/drm/msm/disp

[PATCH v3 6/6] arm64: dts: qcom: sdm670: add display subsystem

2023-10-09 Thread Richard Acayan
The Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree. Reviewed-by: Dmitry Baryshkov Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 292 +++ 1 file changed, 292

[PATCH v3 4/6] drm/msm: mdss: add support for SDM670

2023-10-09 Thread Richard Acayan
Add support for the MDSS block on the SDM670 platform. Reviewed-by: Dmitry Baryshkov Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/msm_mdss.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 2e87dd6cb17b

[PATCH v3 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-10-09 Thread Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation. Signed-off-by: Richard Acayan --- .../display/msm/qcom,sdm670-mdss.yaml | 292 ++ 1 file changed, 292 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-10-09 Thread Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi

[PATCH v3 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-10-09 Thread Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings

[PATCH v3 0/6] SDM670 display subsystem support

2023-10-09 Thread Richard Acayan
/series/119804/. Richard Acayan (6): dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible dt-bindings: display/msm: sdm845-dpu: Describe SDM670 dt-bindings: display: msm: Add SDM670 MDSS drm/msm: mdss: add support for SDM670 drm/msm/dpu: Add hw revision 4.1 (SDM670) arm64

[PATCH v2 6/6] arm64: dts: qcom: sdm670: add display subsystem

2023-10-02 Thread Richard Acayan
The Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 294 +++ 1 file changed, 294 insertions(+) diff --git a/arch/arm64

[PATCH v2 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-02 Thread Richard Acayan
://android.googlesource.com/kernel/msm/+/368478b0ae76566927a2769a2bf24dfe7f38bb78/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h| 104 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 6 + .../gpu/drm/msm/disp

[PATCH v2 4/6] drm/msm: mdss: add support for SDM670

2023-10-02 Thread Richard Acayan
Add support for the MDSS block on the SDM670 platform. Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/msm_mdss.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 2e87dd6cb17b..2afb843271aa 100644 --- a

[PATCH v2 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-10-02 Thread Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation. Signed-off-by: Richard Acayan --- .../display/msm/qcom,sdm670-mdss.yaml | 287 ++ 1 file changed, 287 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-10-02 Thread Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings

[PATCH v2 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-10-02 Thread Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi

[PATCH v2 0/6] SDM670 display subsystem support

2023-10-02 Thread Richard Acayan
) This series adds support for the display subsystem on the Snapdragon 670. It is based on an earlier patch a few versions back, which had missing device tree bindings and device tree changes. There is a separate IOMMU patch which adds the MDSS compatible to a workaround. Richard Acayan (6): dt

Re: [PATCH 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-02 Thread Richard Acayan
On Mon, Sep 25, 2023 at 07:26:32PM -0400, Richard Acayan wrote: > The Snapdragon 670 uses similar clocks (with one frequency added) to the > Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU > with configuration from the Pixel 3a downstream kernel. > > Since

[PATCH 4/6] drm/msm: mdss: add support for SDM670

2023-09-25 Thread Richard Acayan
Add support for the MDSS block on the SDM670 platform. Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/msm_mdss.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 2e87dd6cb17b..2afb843271aa 100644 --- a

[PATCH 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-09-25 Thread Richard Acayan
://android.googlesource.com/kernel/msm/+/368478b0ae76566927a2769a2bf24dfe7f38bb78/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h| 105 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 6 + .../gpu/drm/msm/disp

[PATCH 6/6] arm64: dts: qcom: sdm670: add display subsystem

2023-09-25 Thread Richard Acayan
The Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 294 +++ 1 file changed, 294 insertions(+) diff --git a/arch/arm64

[PATCH 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-09-25 Thread Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller. Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/qcom,sdm845

[PATCH 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-09-25 Thread Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation. Signed-off-by: Richard Acayan --- .../display/msm/qcom,sdm670-mdss.yaml | 280 ++ 1 file changed, 280 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-09-25 Thread Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller. Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b

[PATCH 0/6] SDM670 display subsystem support

2023-09-25 Thread Richard Acayan
This series adds support for the display subsystem on the Snapdragon 670. It is based on an earlier patch a few versions back, which had missing device tree bindings and device tree changes. There is a separate IOMMU patch which adds the MDSS compatible to a workaround. Richard Acayan (6): dt

[RFC PATCH v3 3/3] drm/panel: vtdr6130: Use 16-bit brightness function

2023-01-16 Thread Richard Acayan
. Signed-off-by: Richard Acayan --- drivers/gpu/drm/panel/panel-visionox-vtdr6130.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c b/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c index f9a6abc1e121..1092075b31a5 100644

[RFC PATCH v3 1/3] drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness

2023-01-16 Thread Richard Acayan
kernel/msm/+/754affd62d0ee268c686c53169b1dbb7deac8550 [richard: fix 16-bit brightness_get] [richard: use separate functions instead of switch/case] [richard: split into 16-bit component] Signed-off-by: Richard Acayan Tested-by: Caleb Connolly --- drivers/gpu/drm/drm_mipi_

[RFC PATCH v3 2/3] drm/panel: sofef00: Use 16-bit brightness function

2023-01-16 Thread Richard Acayan
values. Signed-off-by: Richard Acayan Tested-by: Caleb Connolly --- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/drm/panel/panel-samsung-sofef00.c index

[RFC PATCH v3 0/3] drm/mipi-dsi: 16-bit Brightness Endianness Fix

2023-01-16 Thread Richard Acayan
-s6e63j0x03.c panel-sony-acx565akm.c panel-sony-tulip-truly-nt35521.c Daniel Mentz (1): drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness Richard Acayan (2): drm/panel: sofef00: Use 16-bit brightness function drm/panel: vtdr6130: Use 16-bit brightness function drivers

Re: [RFC PATCH v2 1/2] drm/dsi-mipi: Fix byte order of DCS set/get brightness

2023-01-14 Thread Richard Acayan
On Fri, Jan 13, 2023 at 08:00:05PM -0500, Richard Acayan wrote: > From: Daniel Mentz > > The MIPI DCS specification demands that brightness values are sent in > big endian byte order. It also states that one parameter (i.e. one byte) > shall be sent/received for 8 bit wide

[RFC PATCH v2 1/2] drm/dsi-mipi: Fix byte order of DCS set/get brightness

2023-01-14 Thread Richard Acayan
chard: use separate functions instead of switch/case] Signed-off-by: Richard Acayan --- drivers/gpu/drm/drm_mipi_dsi.c | 52 ++ include/drm/drm_mipi_dsi.h | 4 +++ 2 files changed, 56 insertions(+) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_

Re: [RFC PATCH] drm/dsi-mipi: Fix byte order of DCS set/get brightness

2023-01-14 Thread Richard Acayan
hat this patch originated from is EOL. This greeting is still fine because it would be great if the original author took responsibility for getting this patch applied. > > On Thu, Jan 12, 2023 at 11:18:48PM -0500, Richard Acayan wrote: >> From: Daniel Mentz >> >> The MIP

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

2023-01-14 Thread Richard Acayan
values. Signed-off-by: Richard Acayan --- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/drm/panel/panel-samsung-sofef00.c index 1a0d24595faa..014fe350bc59 100644

[RFC PATCH v2 0/2] drm/dsi-mipi: 16-bit Brightness Endianness Fix

2023-01-14 Thread Richard Acayan
drivers. I cannot test the SOFEF00 change, although I tested an equivalent change to an external S6E3FA7 driver generated with the same generator. Both setting and getting works on S6E3FA7. Daniel Mentz (1): drm/dsi-mipi: Fix byte order of DCS set/get brightness Richard Acayan (1): drm/panel

[RFC PATCH] drm/dsi-mipi: Fix byte order of DCS set/get brightness

2023-01-13 Thread Richard Acayan
brightness call by all panels on the -next tree] Signed-off-by: Richard Acayan --- drivers/gpu/drm/drm_mipi_dsi.c| 44 --- .../drm/panel/panel-asus-z00t-tm5p5-n35596.c | 4 +- .../gpu/drm/panel/panel-boe-bf060y8m-aj0.c| 4 +- drivers/gpu/drm/panel/panel-ebb

Re: [PATCH] drm/msm/dpu: add hw revision 410

2023-01-13 Thread Richard Acayan
On Thu, Jan 12, 2023 at 08:54:20PM -0500, Richard Acayan wrote: > The Snapdragon 670 uses similar clocks (with one frequency added) to the > Snapdragon 845 but reports DPU revision 4.1.0. Add support for this DPU > with configuration from the Pixel 3a downstream kernel. > >

[PATCH] drm/msm/dpu: add hw revision 410

2023-01-13 Thread Richard Acayan
/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 67 +++ 1 file changed, 67 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index

Re: [RFC PATCH] drm/dsi-mipi: Fix byte order of DCS set/get brightness

2023-01-13 Thread Richard Acayan
On Thu, Jan 12, 2023 at 11:18:48PM -0500, Richard Acayan wrote: > From: Daniel Mentz > > The MIPI DCS specification demands that brightness values are sent in > big endian byte order. It also states that one parameter (i.e. one byte) > shall be sent/received for 8 bit wide

[PATCH v2] drm/msm/dpu: add hw revision 410

2023-01-13 Thread Richard Acayan
/arch/arm64/boot/dts/qcom/sdm670-sde.dtsi Signed-off-by: Richard Acayan --- Changes since v1: - proper use of DSC_BLK() .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 67 +++ 1 file changed, 67 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers