[PATCH v4 0/6] Change mmsys compatible for mt8195 mediatek-drm

2022-09-24 Thread Jason-JH . Lin
For previous MediaTek SoCs, such as MT8173, there are 2 display HW pipelines binding to 1 mmsys with the same power domain, the same clock driver and the same mediatek-drm driver. For MT8195, VDOSYS0 and VDOSYS1 are 2 display HW pipelines binding to 2 different power domains, different clock drive

[PATCH v4 6/6] soc: mediatek: remove DDP_DOMPONENT_DITHER from enum

2022-09-24 Thread Jason-JH . Lin
After mmsys and drm change DITHER enum to DDP_COMPONENT_DITHER0, mmsys header can remove the useless DDP_COMPONENT_DITHER enum. Signed-off-by: Jason-JH.Lin Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Rex-BC Chen Acked-by: Matthias Brugger --- include/linux/soc/mediatek/mtk-mmsys.h |

[PATCH v4 1/6] dt-bindings: arm: mediatek: mmsys: change compatible for MT8195

2022-09-24 Thread Jason-JH . Lin
For previous MediaTek SoCs, such as MT8173, there are 2 display HW pipelines binding to 1 mmsys with the same power domain, the same clock driver and the same mediatek-drm driver. For MT8195, VDOSYS0 and VDOSYS1 are 2 display HW pipelines binding to 2 different power domains, different clock drive

[PATCH v4 5/6] drm/mediatek: add mediatek-drm of vdosys0 support for mt8195

2022-09-24 Thread Jason-JH . Lin
Add driver data of mt8195 vdosys0 to mediatek-drm and the sub driver. Signed-off-by: Jason-JH.Lin --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 28 2 files changed, 34 insertions(+) diff --git a/drivers/gpu/drm/media

[PATCH v4 2/6] Revert "soc: mediatek: add mtk-mmsys support for mt8195 vdosys0"

2022-09-24 Thread Jason-JH . Lin
This reverts commit b804923b7ccb9c9629703364e927b48cd02a9254. Due to the compatible changing of mt8195 from "mediatek,mt8195-mmsys" to "mediatek,mt8195-vdosys0", we have to revert this patch and send a new patch with the new compatible. Signed-off-by: Jason-JH.Lin --- drivers/soc/mediatek/mt819

[PATCH v4 3/6] soc: mediatek: add mtk-mmsys support for mt8195 vdosys0

2022-09-24 Thread Jason-JH . Lin
1. Add mt8195 driver data with compatible "mediatek-mt8195-vdosys0". 2. Add mt8195 routing table settings of vdosys0. Signed-off-by: Jason-JH.Lin --- drivers/soc/mediatek/mt8195-mmsys.h | 370 drivers/soc/mediatek/mtk-mmsys.c| 11 + 2 files changed, 381 insertio

[PATCH v4 4/6] Revert "drm/mediatek: Add mediatek-drm of vdosys0 support for mt8195"

2022-09-24 Thread Jason-JH . Lin
This reverts commit 7266e90a51a32722a94daa3cb5b8fa278059e49e. Due to the compatible changing of mt8195 from "mediatek,mt8195-mmsys" to "mediatek,mt8195-vdosys0", we have to revert this patch and send a new patch with the new compatible. Signed-off-by: Jason-JH.Lin --- drivers/gpu/drm/mediatek/m

Re: [PATCH v2 14/16] kasan: Remove ksize()-related tests

2022-09-24 Thread Dmitry Vyukov
On Fri, 23 Sept 2022 at 22:28, Kees Cook wrote: > > In preparation for no longer unpoisoning in ksize(), remove the behavioral > self-tests for ksize(). > > Cc: Andrey Ryabinin > Cc: Alexander Potapenko > Cc: Andrey Konovalov > Cc: Dmitry Vyukov > Cc: Vincenzo Frascino > Cc: Andrew Morton >

[PATCH v2 1/2] dt-bindings: display/msm: Add QCM2290 DSI phy

2022-09-24 Thread Dmitry Baryshkov
From: Loic Poulain QCM2290 platform uses the 14nm DSI PHY driver. Signed-off-by: Loic Poulain [DB: changed compat to follow the agreed scheme] Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 0/2] drm/msm/dsi: Add support for DSI PHY on QCM2290

2022-09-24 Thread Dmitry Baryshkov
The QCM2290 platform uses 14nm DSI PHY. As the configuration is not fully compatible with the main qcom,dsi-phy-14nm, a separate compatible is added. V1 was not sent to freedreno@, so it nearly got missed by me. Changes since v1: - Rebased on top of msm-next, fixed DSI PHY config to follow upstr

[PATCH v2 2/2] drm/msm/dsi: Add phy configuration for QCM2290

2022-09-24 Thread Dmitry Baryshkov
From: Loic Poulain The QCM2290 SoC a the 14nm (V2.0) single DSI phy. The platform is not fully compatible with the standard 14nm PHY, so it requires a separate compatible and config entry. Signed-off-by: Loic Poulain [DB: changed compat to follow the agreed scheme, rebased and updated commit ms

[PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Dmitry Baryshkov
Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace them with generic phy@ names. Dmitry Baryshkov (9): ARM: dts: qcom-apq8064: change DSI PHY node name to generic one ARM: dts: qcom-msm8974: change DSI PHY node name to generic one arm64: dts: qcom: msm8916: change DSI PH

[PATCH 6/9] arm64: dts: qcom: sdm630: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 1b

[PATCH 4/9] arm64: dts: qcom: msm8996: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi i

[PATCH 9/9] arm64: dts: qcom: sm8250: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi inde

[PATCH 7/9] arm64: dts: qcom: sdm660: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm660.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi index 43

[PATCH 2/9] ARM: dts: qcom-msm8974: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 8baca

[PATCH 1/9] ARM: dts: qcom-apq8064: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 2 +- arch/arm/boot/dts/qcom-apq8064.dtsi| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH 3/9] arm64: dts: qcom: msm8916: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index

[PATCH 5/9] arm64: dts: qcom: sc7180: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index b8

[PATCH 8/9] arm64: dts: qcom: sdm845: change DSI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi inde

Re: [PATCH v2 03/16] skbuff: Proactively round up to kmalloc bucket size

2022-09-24 Thread Kees Cook
On Fri, Sep 23, 2022 at 01:28:09PM -0700, Kees Cook wrote: > Instead of discovering the kmalloc bucket size _after_ allocation, round > up proactively so the allocation is explicitly made for the full size, > allowing the compiler to correctly reason about the resulting size of > the buffer through

Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:00, Dmitry Baryshkov wrote: > Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace > them with generic phy@ names. > > Dmitry Baryshkov (9): > ARM: dts: qcom-apq8064: change DSI PHY node name to generic one dsi-phy is similar to other generic names (usb-phy,

Re: [PATCH v2 1/2] dt-bindings: display/msm: Add QCM2290 DSI phy

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 10:51, Dmitry Baryshkov wrote: > From: Loic Poulain > > QCM2290 platform uses the 14nm DSI PHY driver. > > Signed-off-by: Loic Poulain > [DB: changed compat to follow the agreed scheme] Bjorn asked to keep consistency in other case: https://lore.kernel.org/all/20220829210408.gxbv

Re: [PATCH v2 1/2] dt-bindings: display/msm: Add QCM2290 DSI phy

2022-09-24 Thread Dmitry Baryshkov
On 24/09/2022 12:12, Krzysztof Kozlowski wrote: On 24/09/2022 10:51, Dmitry Baryshkov wrote: From: Loic Poulain QCM2290 platform uses the 14nm DSI PHY driver. Signed-off-by: Loic Poulain [DB: changed compat to follow the agreed scheme] Bjorn asked to keep consistency in other case: https:/

Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Dmitry Baryshkov
On 24/09/2022 12:11, Krzysztof Kozlowski wrote: On 24/09/2022 11:00, Dmitry Baryshkov wrote: Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace them with generic phy@ names. Dmitry Baryshkov (9): ARM: dts: qcom-apq8064: change DSI PHY node name to generic one dsi-phy i

[PATCH] arm64: dts: qcom: sc7280: assign DSI clocks

2022-09-24 Thread Dmitry Baryshkov
The driver (and the DT schema) requires us to assign DSI clocks in the DT node, so that the clock tree is setup propertly. Fixes: 43137272f0bc ("arm64: dts: qcom: sc7280: Add DSI display nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 1 file changed, 4

Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:20, Dmitry Baryshkov wrote: > On 24/09/2022 12:11, Krzysztof Kozlowski wrote: >> On 24/09/2022 11:00, Dmitry Baryshkov wrote: >>> Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace >>> them with generic phy@ names. >>> >>> Dmitry Baryshkov (9): >>>ARM: dts:

Re: [PATCH 1/9] ARM: dts: qcom-apq8064: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 2/9] ARM: dts: qcom-msm8974: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 3/9] arm64: dts: qcom: msm8916: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 4/9] arm64: dts: qcom: msm8996: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 5/9] arm64: dts: qcom: sc7180: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 6/9] arm64: dts: qcom: sdm630: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov > --- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 7/9] arm64: dts: qcom: sdm660: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 8/9] arm64: dts: qcom: sdm845: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 9/9] arm64: dts: qcom: sm8250: change DSI PHY node name to generic one

2022-09-24 Thread Krzysztof Kozlowski
On 24/09/2022 11:01, Dmitry Baryshkov wrote: > Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'. > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

[PATCH 1/2] ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change HDMI PHY node names from custom 'hdmi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +- arch/arm/boot/dts/qcom-apq8064.dtsi| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-

[PATCH 0/2] arm: dts: qcom: rename HDMI PHY nodes

2022-09-24 Thread Dmitry Baryshkov
Historically HDMI PHY device tree nodes used the hdmi-phy@ names. Replace them with generic phy@ names. While there is no such requirement in the DT schema, it's worth doing that because: 1) The recent qcom DT files already use just phy@ for most of PHY nodes 2) The recommended list from devicet

[PATCH 2/2] arm64: dts: qcom: msm8996: change HDMI PHY node name to generic one

2022-09-24 Thread Dmitry Baryshkov
Change HDMI PHY node name from custom 'hdmi-phy' to the generic 'phy'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi inde

Re: [PATCH v5 01/15] mei: add support to GSC extended header

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:25PM -0700, Daniele Ceraolo Spurio wrote: > From: Tomas Winkler > > GSC extend header is of variable size and data > is provided in a sgl list inside the header > and not in the data buffers, need to enable the path. > > Signed-off-by: Tomas Winkler > Signed-off-by

Re: [PATCH v5 03/15] mei: adjust extended header kdocs

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:27PM -0700, Daniele Ceraolo Spurio wrote: > From: Tomas Winkler > > Fix kdoc for struct mei_ext_hdr and mei_ext_begin(). > > Signed-off-by: Tomas Winkler > Signed-off-by: Daniele Ceraolo Spurio > Cc: Greg Kroah-Hartman > --- Reviewed-by: Greg Kroah-Hartman

Re: [PATCH v5 06/15] mei: pxp: support matching with a gfx discrete card

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:30PM -0700, Daniele Ceraolo Spurio wrote: > From: Tomas Winkler > > With on-boards graphics card, both i915 and MEI > are in the same device hierarchy with the same parent, > while for discrete gfx card the MEI is its child device. > Adjust the match function for tha

[PATCH v2] drm/etnaviv: add HWDB entry for GC7000 r6203

2022-09-24 Thread Lucas Stach
From: Marco Felsch The GPU is found on the NXP i.MX8MN SoC. The feature bits are taken from the NXP downstream kernel driver 6.4.3.p2. Signed-off-by: Marco Felsch --- v2: Make match more specific, as there are some other GPUs with the same model/revision, so we should also look at the customer

Re: [PATCH v5 02/15] mei: bus: enable sending gsc commands

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:26PM -0700, Daniele Ceraolo Spurio wrote: > From: Tomas Winkler > > GSC command is and extended header containing a scatter gather > list and without a data buffer. Using MEI_CL_IO_SGL flag, > the caller send the GSC command as a data and the function internally > mo

Re: [PATCH v5 05/15] mei: pxp: add command streamer API to the PXP driver

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:29PM -0700, Daniele Ceraolo Spurio wrote: > From: Vitaly Lubart > > The discrete graphics card with GSC firmware > using command streamer API hence it requires to enhance > pxp module with the new gsc_command() handler. > > The handler is implemented via mei_pxp_gsc

Re: [PATCH v5 04/15] mei: bus: extend bus API to support command streamer API

2022-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2022 at 05:57:28PM -0700, Daniele Ceraolo Spurio wrote: > From: Vitaly Lubart > > Add mei bus API for sending gsc commands: mei_cldev_send_gsc_command() > > The GSC commands are originated in the graphics stack > and are in form of SGL DMA buffers. > The GSC commands are synchron

[PATCH v3 2/2] drm/msm/dsi: Add phy configuration for QCM2290

2022-09-24 Thread Dmitry Baryshkov
From: Loic Poulain The QCM2290 SoC a the 14nm (V2.0) single DSI phy. The platform is not fully compatible with the standard 14nm PHY, so it requires a separate compatible and config entry. Signed-off-by: Loic Poulain [DB: rebased and updated commit msg] Signed-off-by: Dmitry Baryshkov --- dri

[PATCH v3 0/2] drm/msm/dsi: Add support for DSI PHY on QCM2290

2022-09-24 Thread Dmitry Baryshkov
The QCM2290 platform uses 14nm DSI PHY. As the configuration is not fully compatible with the main qcom,dsi-phy-14nm, a separate compatible is added. Changes since v2: - Changed compatible back to qcom,dsi-phy-14nm-2290 Changes since v1: - Rebased on top of msm-next, fixed DSI PHY config to fol

[PATCH v3 1/2] dt-bindings: display/msm: Add QCM2290 DSI phy

2022-09-24 Thread Dmitry Baryshkov
From: Loic Poulain QCM2290 platform uses the 14nm DSI PHY driver. Signed-off-by: Loic Poulain Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/d

[PATCH v8 00/12] dt-bindings: display/msm: rework MDSS and DPU bindings

2022-09-24 Thread Dmitry Baryshkov
Create separate YAML schema for MDSS devicesd$ (both for MDP5 and DPU devices). Cleanup DPU schema files, so that they do not contain schema for both MDSS and DPU nodes. Apply misc small fixes to the DPU schema afterwards. Add schema for the MDSS and DPU on sm8250 platform. Soft dependency on [1]

[PATCH v8 03/12] dt-bindings: display/msm: add interconnects property to qcom, mdss-smd845

2022-09-24 Thread Dmitry Baryshkov
Add interconnects required for the SDM845 MDSS device tree node. This change was made in the commit c8c61c09e38b ("arm64: dts: qcom: sdm845: Add interconnects property for display"), but was not reflected in the schema. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- .../de

[PATCH v8 06/12] dt-bindings: display/msm: split dpu-sc7180 into DPU and MDSS parts

2022-09-24 Thread Dmitry Baryshkov
In order to make the schema more readable, split dpu-sc7180 into the DPU and MDSS parts, each one describing just a single device binding. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dpu-sc7180.yaml | 158 -- .../bindings/display/msm/qcom,sc7180-dpu.yaml |

[PATCH v8 10/12] dt-bindings: display/msm: split dpu-qcm2290 into DPU and MDSS parts

2022-09-24 Thread Dmitry Baryshkov
In order to make the schema more readable, split dpu-qcm2290 into the DPU and MDSS parts, each one describing just a single device binding. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dpu-qcm2290.yaml | 148 -- .../display/msm/qcom,qcm2290-dpu.yaml |

[PATCH v8 01/12] dt-bindings: display/msm: split qcom,mdss bindings

2022-09-24 Thread Dmitry Baryshkov
Split Mobile Display SubSystem (MDSS) root node bindings to the separate yaml file. Changes to the existing (txt) schema: - Added optional "vbif_nrt_phys" region used by msm8996 - Made "bus" and "vsync" clocks optional (they are not used by some platforms) - Added optional resets property ref

[PATCH v8 04/12] dt-bindings: display/msm: move common DPU properties to dpu-common.yaml

2022-09-24 Thread Dmitry Baryshkov
Move properties common to all DPU DT nodes to the dpu-common.yaml. Note, this removes description of individual DPU port@ nodes. However such definitions add no additional value. The reg values do not correspond to hardware INTF indices. The driver discovers and binds these ports not paying any ca

[PATCH v8 08/12] dt-bindings: display/msm: split dpu-sdm845 into DPU and MDSS parts

2022-09-24 Thread Dmitry Baryshkov
In order to make the schema more readable, split dpu-sdm845 into the DPU and MDSS parts, each one describing just a single device binding. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dpu-sdm845.yaml | 148 -- .../bindings/display/msm/qcom,sdm845-dpu.yaml |

[PATCH v8 05/12] dt-bindings: display/msm: move common MDSS properties to mdss-common.yaml

2022-09-24 Thread Dmitry Baryshkov
Move properties common to all MDSS DT nodes to the mdss-common.yaml. This extends qcom,msm8998-mdss schema to allow interconnect nodes, which will be added later, once msm8998 gains interconnect support. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dpu-msm8998.yaml | 41 +---

[PATCH v8 07/12] dt-bindings: display/msm: split dpu-sc7280 into DPU and MDSS parts

2022-09-24 Thread Dmitry Baryshkov
In order to make the schema more readable, split dpu-sc7280 into the DPU and MDSS parts, each one describing just a single device binding. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dpu-sc7280.yaml | 162 -- .../bindings/display/msm/qcom,sc7280-dpu.yaml |

[PATCH v8 02/12] dt-bindings: display/msm: add gcc-bus clock to dpu-smd845

2022-09-24 Thread Dmitry Baryshkov
Add gcc-bus clock required for the SDM845 DPU device tree node. This change was made in the commit 111c52854102 ("arm64: dts: qcom: sdm845: move bus clock to mdp node for sdm845 target"), but was not reflected in the schema. Reviewed-by: Rob Herring Signed-off-by: Dmitry Baryshkov --- .../devic

[PATCH v8 11/12] dt-bindings: display/msm: add missing device nodes to mdss-* schemas

2022-09-24 Thread Dmitry Baryshkov
Add missing device nodes (DSI, PHYs, DP/eDP) to the existing MDSS schemas. Signed-off-by: Dmitry Baryshkov --- .../display/msm/qcom,msm8998-mdss.yaml| 153 + .../display/msm/qcom,qcm2290-mdss.yaml| 81 + .../display/msm/qcom,sc7180-mdss.yaml | 179 +++

[PATCH v8 12/12] dt-bindings: display/msm: add support for the display on SM8250

2022-09-24 Thread Dmitry Baryshkov
Add DPU and MDSS schemas to describe MDSS and DPU blocks on the Qualcomm SM8250 platform. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/mdss-common.yaml | 4 +- .../bindings/display/msm/qcom,sm8250-dpu.yaml | 92 + .../display/msm/qcom,sm8250-mdss.yaml | 330 +++

[PATCH v8 09/12] dt-bindings: display/msm: split dpu-msm8998 into DPU and MDSS parts

2022-09-24 Thread Dmitry Baryshkov
In order to make the schema more readable, split dpu-msm8998 into the DPU and MDSS parts, each one describing just a single device binding. Signed-off-by: Dmitry Baryshkov --- .../display/msm/qcom,msm8998-dpu.yaml | 95 +++ ...pu-msm8998.yaml => qcom,msm8998-mdss.yaml} |

Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Dmitry Baryshkov
On 24/09/2022 12:29, Krzysztof Kozlowski wrote: On 24/09/2022 11:20, Dmitry Baryshkov wrote: On 24/09/2022 12:11, Krzysztof Kozlowski wrote: On 24/09/2022 11:00, Dmitry Baryshkov wrote: Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace them with generic phy@ names. Dmitr

Re: [PATCH v7 0/9] dyndbg: drm.debug adaptation

2022-09-24 Thread Greg KH
On Sun, Sep 11, 2022 at 11:28:43PM -0600, Jim Cromie wrote: > hi Greg, Dan, Jason, DRM-folk, > > heres follow-up to V6: > rebased on driver-core/driver-core-next for -v6 applied bits (thanks) > rework drm_debug_enabled{_raw,_instrumented,} per Dan. > > It excludes: > nouveau parts (immature

[Bug 216525] New: amdgpu VM_L2_PROTECTION_FAULT_STATUS:0x00000000

2022-09-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216525 Bug ID: 216525 Summary: amdgpu VM_L2_PROTECTION_FAULT_STATUS:0x Product: Drivers Version: 2.5 Kernel Version: 6.0.0-rc4 Hardware: AMD OS: Linux Tree:

[Bug 216525] amdgpu VM_L2_PROTECTION_FAULT_STATUS:0x00000000

2022-09-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216525 --- Comment #1 from sander44 (ionut_n2...@yahoo.com) --- Created attachment 301863 --> https://bugzilla.kernel.org/attachment.cgi?id=301863&action=edit journalctl -- You may reply to this email to add a comment. You are receiving this mail be

Re: [PATCH v2 2/2] drm/msm/dsi: Add phy configuration for QCM2290

2022-09-24 Thread Konrad Dybcio
On 24.09.2022 10:51, Dmitry Baryshkov wrote: > From: Loic Poulain > > The QCM2290 SoC a the 14nm (V2.0) single DSI phy. The platform is not > fully compatible with the standard 14nm PHY, so it requires a separate > compatible and config entry. > > Signed-off-by: Loic Poulain > [DB: changed c

Re: [PATCH 0/9] arm: dts: qcom: rename DSI PHY nodes

2022-09-24 Thread Konrad Dybcio
On 24.09.2022 11:00, Dmitry Baryshkov wrote: > Historically DSI PHY device tree nodes used the dsi-phy@ names. Replace > them with generic phy@ names. > > Dmitry Baryshkov (9): > ARM: dts: qcom-apq8064: change DSI PHY node name to generic one > ARM: dts: qcom-msm8974: change DSI PHY node na

Re: [PATCH 1/2] ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one

2022-09-24 Thread Konrad Dybcio
On 24.09.2022 11:43, Dmitry Baryshkov wrote: > Change HDMI PHY node names from custom 'hdmi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +- > arch/arm/boot/dts/qcom-apq8064.dtsi

Re: [PATCH 2/2] arm64: dts: qcom: msm8996: change HDMI PHY node name to generic one

2022-09-24 Thread Konrad Dybcio
On 24.09.2022 11:43, Dmitry Baryshkov wrote: > Change HDMI PHY node name from custom 'hdmi-phy' to the generic 'phy'. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v3 2/2] drm/msm/dsi: Add phy configuration for QCM2290

2022-09-24 Thread Konrad Dybcio
On 24.09.2022 14:19, Dmitry Baryshkov wrote: > From: Loic Poulain > > The QCM2290 SoC a the 14nm (V2.0) single DSI phy. The platform is not > fully compatible with the standard 14nm PHY, so it requires a separate > compatible and config entry. > > Signed-off-by: Loic Poulain > [DB: rebased a

[PATCH] dt-bindings: display/msm: convert MDP5 schema to YAML format

2022-09-24 Thread Dmitry Baryshkov
Convert the mdp5.txt into the yaml format. Changes to the existing (txt) schema: - MSM8996 has additional "iommu" clock, define it separately - Add new properties used on some of platforms: - interconnects, interconnect-names - iommus - power-domains - operating-points-v2, opp-table

[PATCH v3 RESEND 0/7] New DRM driver for Intel VPU

2022-09-24 Thread Jacek Lawrynowicz
Hi, This patchset contains a new Linux* Kernel Driver for Intel® VPUs. VPU stands for Versatile Processing Unit and it is an AI inference accelerator integrated with Intel non-server CPUs starting from 14th generation. VPU enables efficient execution of Deep Learning applications like object dete

[PATCH v3 1/7] drm/ivpu: Introduce a new DRM driver for Intel VPU

2022-09-24 Thread Jacek Lawrynowicz
VPU stands for Versatile Processing Unit and it's a CPU-integrated inference accelerator for Computer Vision and Deep Learning applications. The VPU device consist of following componensts: - Buttress - provides CPU to VPU integration, interrupt, frequency and power management. - Memory Ma

[PATCH v3 3/7] drm/ivpu: Add GEM buffer object management

2022-09-24 Thread Jacek Lawrynowicz
Adds four types of GEM-based BOs for the VPU: - shmem - userptr - internal - prime All types are implemented as struct ivpu_bo, based on struct drm_gem_object. VPU address is allocated when buffer is created except for imported prime buffers that allocate it in BO_INFO IOCTL due to missing

[PATCH v3 7/7] drm/ivpu: Add PM support

2022-09-24 Thread Jacek Lawrynowicz
- Implement cold and warm firmware boot flows - Add hang recovery support - Add runtime power management support Signed-off-by: Krystian Pradzynski Signed-off-by: Jacek Lawrynowicz --- drivers/gpu/drm/ivpu/Makefile | 3 +- drivers/gpu/drm/ivpu/ivpu_drv.c| 34 ++- drivers/gpu/d

[PATCH v3 2/7] drm/ivpu: Add Intel VPU MMU support

2022-09-24 Thread Jacek Lawrynowicz
VPU Memory Management Unit is based on ARM MMU-600. It allows to create multiple virtual address spaces for the device and map noncontinuous host memory (there is no dedicated memory on the VPU). Address space is implemented as a struct ivpu_mmu_context, it has an ID, drm_mm allocator for VPU addr

[PATCH v3 6/7] drm/ivpu: Add command buffer submission logic

2022-09-24 Thread Jacek Lawrynowicz
Each of the user contexts has two command queues, one for compute engine and one for the copy engine. Command queues are allocated and registered in the device when the first job (command buffer) is submitted from the user space to the VPU device. The userspace provides a list of GEM buffer object

[PATCH v3 4/7] drm/ivpu: Add IPC driver and JSM messages

2022-09-24 Thread Jacek Lawrynowicz
The IPC driver is used to send and receive messages to/from firmware running on the VPU. The only supported IPC message format is Job Submission Model (JSM) defined in vpu_jsm_api.h header. Signed-off-by: Andrzej Kacprowski Signed-off-by: Krystian Pradzynski Signed-off-by: Jacek Lawrynowicz --

[PATCH v3 5/7] drm/ivpu: Implement firmware parsing and booting

2022-09-24 Thread Jacek Lawrynowicz
Read, parse and boot VPU firmware image. Signed-off-by: Andrzej Kacprowski Signed-off-by: Krystian Pradzynski Signed-off-by: Jacek Lawrynowicz --- drivers/gpu/drm/ivpu/Makefile | 1 + drivers/gpu/drm/ivpu/ivpu_drv.c | 122 +++- drivers/gpu/drm/ivpu/ivpu_drv.h | 10 + drive

Re: [PATCH v2 00/41] drm: Analog TV Improvements

2022-09-24 Thread Noralf Trønnes
Den 21.09.2022 16.03, skrev Maxime Ripard: > On Wed, Sep 07, 2022 at 06:44:53PM +0200, Noralf Trønnes wrote: >> >> >> Den 07.09.2022 12.36, skrev Stefan Wahren: >>> Hi Maxime, >>> >>> Am 05.09.22 um 16:57 schrieb Maxime Ripard: On Fri, Sep 02, 2022 at 01:28:16PM +0200, Noralf Trønnes wrote:

Re: [PATCH v2 06/33] drm/connector: Rename legacy TV property

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > The current tv_mode has driver-specific values that don't allow to > easily share code using it, either at the userspace or kernel level. > > Since we're going to introduce a new, generic, property that fit the > same purpose, let's rename this one t

Re: [PATCH v2 08/33] drm/connector: Rename drm_mode_create_tv_properties

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > drm_mode_create_tv_properties(), among other things, will create the > "mode" property that stores the analog TV mode that connector is > supposed to output. > > However, that property is getting deprecated, so let's rename that > function to mention

Re: [PATCH v2 09/33] drm/connector: Add TV standard property

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > The TV mode property has been around for a while now to select and get the > current TV mode output on an analog TV connector. > > Despite that property name being generic, its content isn't and has been > driver-specific which makes it hard to build

Re: [PATCH v2 27/33] drm/atomic-helper: Add an analog TV atomic_check implementation

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > The analog TV connector drivers share some atomic_check logic, and the new > TV standard property have created a bunch of new constraints that needs to > be shared across drivers too. The constraints part doesn't apply anymore after removing the disp

Re: [PATCH v2 28/33] drm/vc4: vec: Fix definition of PAL-M mode

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > From: Mateusz Kwiatkowski > > PAL-M is a Brazilian analog TV standard that uses a PAL-style chroma > subcarrier at 3.575611[888111] MHz on top of 525-line (480i60) timings. > This commit makes the driver actually use the proper VEC preset for this >

Re: [PATCH v2 30/33] drm/vc4: vec: Check for VEC output constraints

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > From: Mateusz Kwiatkowski > > The VEC can accept pretty much any relatively reasonable mode, but still > has a bunch of constraints to meet. > > Let's create an atomic_check() implementation that will make sure we > don't end up accepting a non-fun

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-24 Thread Rob Herring
On Tue, Sep 20, 2022 at 09:59:04AM -0500, Chris Morgan wrote: > From: Chris Morgan > > Add documentation for the NewVision NV3051D panel bindings. > Note that for the two expected consumers of this panel binding > the underlying LCD model is unknown. Name "anbernic,rg353p-panel" > is used because

Re: [PATCH v2 31/33] drm/vc4: vec: Convert to the new TV mode property

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > Now that the core can deal fine with analog TV modes, let's convert the vc4 > VEC driver to leverage those new features. > > We've added some backward compatibility to support the old TV mode property > and translate it into the new TV norm property.

Re: [PATCH v2 32/33] drm/vc4: vec: Add support for more analog TV standards

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > From: Mateusz Kwiatkowski > > Add support for the following composite output modes (all of them are > somewhat more obscure than the previously defined ones): > > - NTSC_443 - NTSC-style signal with the chroma subcarrier shifted to > 4.43361875 M

Re: [PATCH v8 03/12] dt-bindings: display/msm: add interconnects property to qcom,mdss-smd845

2022-09-24 Thread Krzysztof Kozlowski
On Sat, 24 Sep 2022 15:36:02 +0300, Dmitry Baryshkov wrote: > Add interconnects required for the SDM845 MDSS device tree node. This > change was made in the commit c8c61c09e38b ("arm64: dts: qcom: sdm845: > Add interconnects property for display"), but was not reflected in the > schema. > > Review

Re: [PATCH v8 01/12] dt-bindings: display/msm: split qcom,mdss bindings

2022-09-24 Thread Krzysztof Kozlowski
On Sat, 24 Sep 2022 15:36:00 +0300, Dmitry Baryshkov wrote: > Split Mobile Display SubSystem (MDSS) root node bindings to the separate > yaml file. Changes to the existing (txt) schema: > - Added optional "vbif_nrt_phys" region used by msm8996 > - Made "bus" and "vsync" clocks optional (they are

Re: [PATCH v2 01/33] drm/tests: Order Kunit tests in Makefile

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > Since we've recently added a ton of tests, the list starts to be a bit > of a mess and creates unneeded conflicts. > > Let's order it alphabetically. > > Signed-off-by: Maxime Ripard > Reviewed-by: Noralf Trønnes

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-24 Thread Chris Morgan
On Sat, Sep 24, 2022 at 12:07:44PM -0500, Rob Herring wrote: > On Tue, Sep 20, 2022 at 09:59:04AM -0500, Chris Morgan wrote: > > From: Chris Morgan > > > > Add documentation for the NewVision NV3051D panel bindings. > > Note that for the two expected consumers of this panel binding > > the underl

Re: [PATCH v2 02/33] drm/tests: Add Kunit Helpers

2022-09-24 Thread Noralf Trønnes
Den 22.09.2022 16.25, skrev Maxime Ripard: > As the number of kunit tests in KMS grows further, we start to have > multiple test suites that, for example, need to register a mock DRM > driver to interact with the KMS function they are supposed to test. > > Let's add a file meant to provide thos

Re: [PATCH v2 02/33] drm/tests: Add Kunit Helpers

2022-09-24 Thread Noralf Trønnes
Den 24.09.2022 19.56, skrev Noralf Trønnes: > > > Den 22.09.2022 16.25, skrev Maxime Ripard: >> As the number of kunit tests in KMS grows further, we start to have >> multiple test suites that, for example, need to register a mock DRM >> driver to interact with the KMS function they are suppos

Re: [PATCH v8 03/12] dt-bindings: display/msm: add interconnects property to qcom,mdss-smd845

2022-09-24 Thread Dmitry Baryshkov
On Sat, 24 Sept 2022 at 20:23, Krzysztof Kozlowski wrote: > > On Sat, 24 Sep 2022 15:36:02 +0300, Dmitry Baryshkov wrote: > > Add interconnects required for the SDM845 MDSS device tree node. This > > change was made in the commit c8c61c09e38b ("arm64: dts: qcom: sdm845: > > Add interconnects prope

Re: [PATCH v8 01/12] dt-bindings: display/msm: split qcom, mdss bindings

2022-09-24 Thread Dmitry Baryshkov
Hi, On Sat, 24 Sept 2022 at 20:23, Krzysztof Kozlowski wrote: > > On Sat, 24 Sep 2022 15:36:00 +0300, Dmitry Baryshkov wrote: > > Split Mobile Display SubSystem (MDSS) root node bindings to the separate > > yaml file. Changes to the existing (txt) schema: > > - Added optional "vbif_nrt_phys" reg

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

2022-09-24 Thread Caleb Connolly
On 24/09/2022 21:36, Nia Espera wrote: > Adds a dedicated driver for the Samsung s6e3fc2x01 panel used in OnePlus > 6T smartphones which was previously driven by the sofef00 panel driver > > Signed-off-by: Nia Espera Hi Nia, Thanks for sending this, I'm glad to see proper support for this pan

  1   2   >