Re: [PATCH 1/4] dt-bindings: display/msm: Add SM7150 MDSS

2024-06-11 Thread Danila Tikhonov
On 6/12/24 03:34, Rob Herring (Arm) wrote: On Wed, 12 Jun 2024 01:37:40 +0300, Danila Tikhonov wrote: Document the MDSS hardware found on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov --- .../display/msm/qcom,sm7150-mdss.yaml | 460 ++ 1 file changed,

Re: [PATCH v4 12/13] drm/msm/dpu: allow sharing of blending stages

2024-06-11 Thread Abhinav Kumar
On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: It is possible to slightly bend the limitations of the HW blender. If two rectangles are contiguous (like two rectangles of a single plane) they can be blended using a single LM blending stage, allowing one to blend more planes via a single LM.

Re: [PATCH 1/4] dt-bindings: display/msm: Add SM7150 MDSS

2024-06-11 Thread Rob Herring (Arm)
On Wed, 12 Jun 2024 01:37:40 +0300, Danila Tikhonov wrote: > Document the MDSS hardware found on the Qualcomm SM7150 platform. > > Signed-off-by: Danila Tikhonov > --- > .../display/msm/qcom,sm7150-mdss.yaml | 460 ++ > 1 file changed, 460 insertions(+) > create mode 1

Re: [PATCH v2 04/14] drm/msm/hdmi: set infoframes on all pre_enable calls

2024-06-11 Thread Jessica Zhang
On 5/22/2024 3:50 AM, Dmitry Baryshkov wrote: In consequent modeset calls, the atomic_pre_enable() will be called several times without calling atomic_post_disable() inbetween. Thus Hi Dmitry, Just wondering, where are you seeing multiple pre_enable() calls without a post_disable() happeni

Re: [PATCH v4 13/13] drm/msm/dpu: include SSPP allocation state into the dumped state

2024-06-11 Thread Abhinav Kumar
On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: Make dpu_rm_print_state() also output the SSPP allocation state. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 7 +++ 1 file changed, 7 insertions(+) Reviewed-by: Abhinav Kumar

Re: [PATCH 3/4] dt-bindings: display/msm: Add SM7150 DPU

2024-06-11 Thread Rob Herring (Arm)
On Wed, 12 Jun 2024 01:37:42 +0300, Danila Tikhonov wrote: > Document the DPU hardware found on the Qualcomm SM7150 platform. > > Signed-off-by: Danila Tikhonov > --- > .../bindings/display/msm/qcom,sm7150-dpu.yaml | 145 ++ > 1 file changed, 145 insertions(+) > create mode 10

Re: [PATCH v4 11/13] drm/msm/dpu: create additional virtual planes

2024-06-11 Thread Abhinav Kumar
On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: Since we have enabled sharing of SSPP blocks between two planes, it is now possible to use twice as much planes as there are hardware SSPP blocks. Create additional overlay planes. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dp

Re: [PATCH v4 10/13] drm/msm/dpu: allow sharing SSPP between planes

2024-06-11 Thread Abhinav Kumar
On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: Since SmartDMA planes provide two rectangles, it is possible to use them to drive two different DRM planes, first plane getting the rect_0, another one using rect_1 of the same SSPP. The sharing algorithm is pretty simple, it requires that each of

[PATCH 1/4] dt-bindings: display/msm: Add SM7150 MDSS

2024-06-11 Thread Danila Tikhonov
Document the MDSS hardware found on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov --- .../display/msm/qcom,sm7150-mdss.yaml | 460 ++ 1 file changed, 460 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm7150-mdss.yaml

[PATCH 4/4] drm/msm/dpu: Add SM7150 support

2024-06-11 Thread Danila Tikhonov
Add definitions for the display hardware used on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov --- .../msm/disp/dpu1/catalog/dpu_5_2_sm7150.h| 349 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 1 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h| 1 +

[PATCH 0/4] Add MDSS and DPU support for QCOM SM7150 SoC

2024-06-11 Thread Danila Tikhonov
This series adds MDSS and DPU support for SM7150. To: Rob Clark To: Abhinav Kumar To: Dmitry Baryshkov To: Sean Paul To: Marijn Suijten To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Daniel Vetter To: Rob Herring To: Krzysztof Kozlowski To: Conor Doo

[PATCH 3/4] dt-bindings: display/msm: Add SM7150 DPU

2024-06-11 Thread Danila Tikhonov
Document the DPU hardware found on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov --- .../bindings/display/msm/qcom,sm7150-dpu.yaml | 145 ++ 1 file changed, 145 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm7150-dpu.yaml d

[PATCH 2/4] drm/msm: mdss: Add SM7150 support

2024-06-11 Thread Danila Tikhonov
Add support for MDSS on SM7150. Signed-off-by: Danila Tikhonov --- drivers/gpu/drm/msm/msm_mdss.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index fab6ad4e5107c..d90b9471ba6ff 100644 --- a/drivers/gpu/drm/msm/msm_md

Re: [PATCH v2 03/14] drm/msm/hdmi: switch to atomic_pre_enable/post_disable

2024-06-11 Thread Jessica Zhang
On 5/22/2024 3:50 AM, Dmitry Baryshkov wrote: In preparation of reworking the HDMI mode setting, switch pre_enable and post_disable callbacks to their atomic variants. Signed-off-by: Dmitry Baryshkov Reviewed-by: Jessica Zhang --- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 15 ++

Re: [PATCH v2 02/14] drm/msm/hdmi: simplify extp clock handling

2024-06-11 Thread Jessica Zhang
On 5/22/2024 3:50 AM, Dmitry Baryshkov wrote: With the extp being the only "power" clock left, remove the surrounding loops and handle the extp clock directly. Signed-off-by: Dmitry Baryshkov Reviewed-by: Jessica Zhang --- drivers/gpu/drm/msm/hdmi/hdmi.c| 24 --

Re: [PATCH v2 01/14] drm/msm/hdmi: move the alt_iface clock to the hpd list

2024-06-11 Thread Jessica Zhang
On 5/22/2024 3:50 AM, Dmitry Baryshkov wrote: According to the vendor kernel [1] , the alt_iface clock should be enabled together with the rest of HPD clocks, to make HPD to work properly. [1] https://git.codelinaro.org/clo/la/kernel/msm-3.18/-/commit/e07a5487e521e57f76083c0a6e2f995414ac6d03

Re: [PATCH v5 2/9] drm/bridge-connector: switch to using drmm allocations

2024-06-11 Thread Dmitry Baryshkov
On Tue, 11 Jun 2024 at 11:54, Maxime Ripard wrote: > > On Mon, Jun 10, 2024 at 08:54:09PM GMT, Dmitry Baryshkov wrote: > > On Mon, Jun 10, 2024 at 02:07:06PM +0200, Maxime Ripard wrote: > > > Hi, > > > > > > +Hans > > > > > > On Mon, Jun 10, 2024 at 02:46:03PM GMT, Dmitry Baryshkov wrote: > > > >

Re: [PATCH v5 2/9] drm/bridge-connector: switch to using drmm allocations

2024-06-11 Thread Maxime Ripard
On Mon, Jun 10, 2024 at 08:54:09PM GMT, Dmitry Baryshkov wrote: > On Mon, Jun 10, 2024 at 02:07:06PM +0200, Maxime Ripard wrote: > > Hi, > > > > +Hans > > > > On Mon, Jun 10, 2024 at 02:46:03PM GMT, Dmitry Baryshkov wrote: > > > On Mon, 10 Jun 2024 at 11:04, Maxime Ripard wrote: > > > > > > > >