Re: (subset) [PATCH 0/3] arm64: qcom: sm8650: add support for DisplayPort Controller

2023-12-07 Thread Dmitry Baryshkov
7fd368561e [2/3] drm/msm/dp: Add DisplayPort controller for SM8650 https://gitlab.freedesktop.org/lumag/msm/-/commit/1b2d98bdd7b7 Best regards, -- Dmitry Baryshkov

Re: [PATCH] drm/msm/dpu: drop MSM_ENC_VBLANK support

2023-12-07 Thread Dmitry Baryshkov
On Wed, 04 Oct 2023 06:19:03 +0300, Dmitry Baryshkov wrote: > There are no in-kernel users of MSM_ENC_VBLANK wait type. Drop it > together with the corresponding wait_for_vblank callback. > > Applied, thanks! [1/1] drm/msm/dpu: drop MSM_ENC_VBLANK support https://gitlab.fre

Re: [PATCH] drm/msm/dp: Fix platform_get_irq() check

2023-12-07 Thread Dmitry Baryshkov
rg/lumag/msm/-/commit/c4ac0c6c96f0 Best regards, -- Dmitry Baryshkov

Re: [PATCH] drm/msm/dp: Fix platform_get_irq() check

2023-12-07 Thread Dmitry Baryshkov
drm/msm/dp/dp_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

[PATCH v4 2/2] drm/vkms: move wb's atomic_check from encoder to connector

2023-12-07 Thread Dmitry Baryshkov
become empty now. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/vkms/vkms_writeback.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c b/drivers/gpu/drm/vkms/vkms_writeback.c index fef7f3daf2c9

[PATCH v4 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-07 Thread Dmitry Baryshkov
generally do not have a state on their own. Rename the function to drm_atomic_helper_check_wb_connector_state() and change arguments to drm_writeback_connector and drm_atomic_state. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic_helper.c | 16 +--- drivers/gpu/drm

[PATCH v4 0/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-07 Thread Dmitry Baryshkov
(Maxime) - Added a patch for VKMS to move atomic_check of WB path from encoder to connector helpers. Dmitry Baryshkov (2): drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state drm/vkms: move wb's atomic_check from encoder to connector drivers/gpu/drm/drm_atomic_helper.c

Re: [PATCH v3 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-07 Thread Dmitry Baryshkov
On Thu, 7 Dec 2023 at 12:10, Maxime Ripard wrote: > > Hi, > > On Wed, Dec 06, 2023 at 01:14:54PM +0300, Dmitry Baryshkov wrote: > > The drm_atomic_helper_check_wb_encoder_state() function doesn't use > > encoder for anything other than getting the drm_device inst

Re: [PATCH 2/3] drm/msm/dp: Add DisplayPort controller for SM8650

2023-12-07 Thread Dmitry Baryshkov
On Thu, 7 Dec 2023 at 18:37, Neil Armstrong wrote: > > The Qualcomm SM8650 platform comes with a DisplayPort controller > with a different base offset than the previous SM8550 SoC, > add support for this in the DisplayPort driver. > > Signed-off-by: Neil Armstrong Reviewed-by

[PATCH 3/3] ARM: qcom: merge remaining subplatforms into sensible Kconfig entry

2023-12-07 Thread Dmitry Baryshkov
nd APQ8064 and is compatible with other 32-bit Qualcomm platforms. Signed-off-by: Dmitry Baryshkov --- arch/arm/Makefile | 4 +--- arch/arm/mach-qcom/Kconfig | 13 + 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5b

[PATCH 0/3] ARM: qcom: drop 32-bit machine Kconfig entries.

2023-12-07 Thread Dmitry Baryshkov
. Replace all 32-bit Qualcomm ARCH kinds with the single Kconfig entry for the workaround required to be enabled for some of those 32-bit platforms. Dmitry Baryshkov (3): iommu/msm-iommu: don't limit the driver too much ARM: qcom: drop most of 32-bit ARCH_QCOM subtypes ARM: qcom: merge

[PATCH 1/3] iommu/msm-iommu: don't limit the driver too much

2023-12-07 Thread Dmitry Baryshkov
In preparation of dropping most of ARCH_QCOM subtypes, stop limiting the driver just to those machines. Allow it to be built for any 32-bit Qualcomm platform (ARCH_QCOM). Signed-off-by: Dmitry Baryshkov --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] ARM: qcom: drop most of 32-bit ARCH_QCOM subtypes

2023-12-07 Thread Dmitry Baryshkov
special TEXT_OFFSET handling, which can be sorted out separately. Signed-off-by: Dmitry Baryshkov --- arch/arm/mach-qcom/Kconfig | 30 -- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig index

Re: [Freedreno] [PATCH 07/16] drm/msm/dpu: add cdm blocks to RM

2023-12-06 Thread Dmitry Baryshkov
On Wed, 6 Dec 2023 at 23:02, Abhinav Kumar wrote: > > > > On 11/30/2023 3:47 PM, Abhinav Kumar wrote: > > > > > > On 8/30/2023 4:48 PM, Dmitry Baryshkov wrote: > >> On Thu, 31 Aug 2023 at 01:50, Abhinav Kumar > >> wrote: > >>> &g

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-06 Thread Dmitry Baryshkov
On Wed, 6 Dec 2023 at 19:34, Kuogee Hsieh wrote: > > > On 12/6/2023 1:35 AM, Dmitry Baryshkov wrote: > > On 05/12/2023 22:51, Kuogee Hsieh wrote: > >> > >> On 12/5/2023 11:23 AM, Dmitry Baryshkov wrote: > >>> On Tue, 5 Dec 2023 at 20:12, Kuogee Hsieh

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Split up giant device table

2023-12-06 Thread Dmitry Baryshkov
On Wed, 6 Dec 2023 at 14:29, Konrad Dybcio wrote: > > > > On 12/5/23 23:03, Rob Clark wrote: > > From: Rob Clark > > > > Split into a separate table per generation, in preparation to move each > > gen's device table to it's own file. > > > > Signed-off-by: Rob Clark > > --- > >

[Freedreno] [PATCH v3 2/2] drm/vkms: move wb's atomic_check from encoder to connector

2023-12-06 Thread Dmitry Baryshkov
become empty now. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/vkms/vkms_writeback.c | 28 ++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c b/drivers/gpu/drm/vkms/vkms_writeback.c index 23c4f7b61cb6

[Freedreno] [PATCH v3 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-06 Thread Dmitry Baryshkov
generally do not have a state on their own. Rename the function to drm_atomic_helper_check_wb_connector_state() and change arguments to drm_writeback_connector and drm_atomic_state. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic_helper.c | 16 +--- drivers/gpu/drm

[Freedreno] [PATCH v3 0/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-06 Thread Dmitry Baryshkov
to connector helpers. Dmitry Baryshkov (2): drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state drm/vkms: move wb's atomic_check from encoder to connector drivers/gpu/drm/drm_atomic_helper.c | 16 +--- drivers/gpu/drm/vkms/vkms_writeback.c | 25

Re: [Freedreno] [PATCH v4 00/13] drm/msm/dpu: use managed memory allocations

2023-12-06 Thread Dmitry Baryshkov
On Sat, 02 Dec 2023 00:18:32 +0300, Dmitry Baryshkov wrote: > In a lots of places in DPU driver memory is allocated by using the > kzalloc and then manually freed using kfree. However thes memory chunks > have a well-defined life cycle. They are either a part of the driver's > run

Re: [Freedreno] [PATCH v2] drm/msm/dpu: correct clk bit for WB2 block

2023-12-06 Thread Dmitry Baryshkov
On Sun, 03 Dec 2023 03:24:37 +0300, Dmitry Baryshkov wrote: > On sc7280 there are two clk bits for WB2: vbif_cli and clk_ctrl. While > programming the VBIF params of WB, the driver should be toggling the > former bit, while the sc7180_mdp, sc7280_mdp and sm8250_mdp structs > list th

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-06 Thread Dmitry Baryshkov
On 05/12/2023 22:51, Kuogee Hsieh wrote: On 12/5/2023 11:23 AM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 20:12, Kuogee Hsieh wrote: On 12/4/2023 4:23 PM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: A DCE (Display Compression Engine) contains two DSC hard

Re: [Freedreno] [PATCH 4/5] drm/msm/adreno: Move hwcg table into a6xx specific info

2023-12-06 Thread Dmitry Baryshkov
On Wed, 6 Dec 2023 at 00:06, Rob Clark wrote: > > From: Rob Clark > > Introduce a6xx_info where we can stash gen specific stuff without > polluting the toplevel adreno_info struct. > > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 55 +-- >

Re: [Freedreno] [PATCH 3/5] drm/msm/adreno: Move hwcg regs to a6xx hw catalog

2023-12-06 Thread Dmitry Baryshkov
adreno/a6xx_gpu.c | 558 - > drivers/gpu/drm/msm/adreno/adreno_gpu.h | 3 - > 3 files changed, 560 insertions(+), 561 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [Freedreno] [PATCH 2/5] drm/msm/adreno: Split catalog into separate files

2023-12-06 Thread Dmitry Baryshkov
m/adreno/a4xx_catalog.c > create mode 100644 drivers/gpu/drm/msm/adreno/a5xx_catalog.c > create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_catalog.c Reviewed-by: Dmitry Baryshkov > > diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile > index 49671364fdcf..

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Split up giant device table

2023-12-06 Thread Dmitry Baryshkov
On Wed, 6 Dec 2023 at 00:05, Rob Clark wrote: > > From: Rob Clark > > Split into a separate table per generation, in preparation to move each > gen's device table to it's own file. > > Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-05 Thread Dmitry Baryshkov
On Tue, 5 Dec 2023 at 20:12, Kuogee Hsieh wrote: > > > On 12/4/2023 4:23 PM, Dmitry Baryshkov wrote: > > On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: > >> A DCE (Display Compression Engine) contains two DSC hard slice > >> encoders. Each DCE start wit

Re: [Freedreno] [PATCH RESEND] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-05 Thread Dmitry Baryshkov
On Tue, 5 Dec 2023 at 13:48, Maxime Ripard wrote: > > On Tue, Dec 05, 2023 at 03:37:15AM +0200, Dmitry Baryshkov wrote: > > On 04/12/2023 10:38, Maxime Ripard wrote: > > > On Sat, Dec 02, 2023 at 12:07:49AM +0200, Dmitry Baryshkov wrote: > > > > The drm_ato

Re: [Freedreno] [PATCH v2 0/8] drm/msm: Introduce display support for SM8650

2023-12-04 Thread Dmitry Baryshkov
g/lumag/msm/-/commit/e6488c2a3541 [7/8] drm/msm: dsi: add support for DSI-PHY on SM8650 https://gitlab.freedesktop.org/lumag/msm/-/commit/3a73e376cff3 [8/8] drm/msm: dsi: add support for DSI 2.8.0 https://gitlab.freedesktop.org/lumag/msm/-/commit/fec254cc752d Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH v4 0/6] SDM670 display subsystem support

2023-12-04 Thread Dmitry Baryshkov
ps://gitlab.freedesktop.org/lumag/msm/-/commit/c965007970ed [4/6] drm/msm: mdss: add support for SDM670 https://gitlab.freedesktop.org/lumag/msm/-/commit/3c13a56e4353 [5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670) https://gitlab.freedesktop.org/lumag/msm/-/commit/e140b7e496b7 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH v4 0/4] MDSS reg bus interconnect

2023-12-04 Thread Dmitry Baryshkov
On Sun, 03 Dec 2023 01:42:43 +0300, Dmitry Baryshkov wrote: > Per agreement with Konrad, picked up this patch series. > > Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there's > another path that needs to be handled to ensure MDSS functions properly, > namely

Re: [Freedreno] [PATCH v7 00/10] drm/msm/dpu: simplify DPU sub-blocks info

2023-12-04 Thread Dmitry Baryshkov
On Sat, 02 Dec 2023 01:40:24 +0200, Dmitry Baryshkov wrote: > The handling code also usually knows, which sub-block it is now looking > at. Drop unused 'id' field and arguments and merge some of sub-block > declarations. > > While we are at it, also fix all VIG subblocks to

[Freedreno] [PATCH v2 2/2] drm/vkms: move wb's atomic_check from encoder to connector

2023-12-04 Thread Dmitry Baryshkov
become empty now. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/vkms/vkms_writeback.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c b/drivers/gpu/drm/vkms/vkms_writeback.c index 23c4f7b61cb6

[Freedreno] [PATCH v2 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-04 Thread Dmitry Baryshkov
generally do not have a state on their own. Rename the function to drm_atomic_helper_check_wb_connector_state() and change arguments to drm_writeback_connector and drm_atomic_state. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic_helper.c | 16 +--- drivers/gpu/drm

[Freedreno] [PATCH v2 0/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-04 Thread Dmitry Baryshkov
a patch for VKMS to move atomic_check of WB path from encoder to connector helpers. Dmitry Baryshkov (2): drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state drm/vkms: move wb's atomic_check from encoder to connector drivers/gpu/drm/drm_atomic_helper.c | 16

Re: [Freedreno] [PATCH RESEND] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

2023-12-04 Thread Dmitry Baryshkov
On 04/12/2023 10:38, Maxime Ripard wrote: On Sat, Dec 02, 2023 at 12:07:49AM +0200, Dmitry Baryshkov wrote: The drm_atomic_helper_check_wb_encoder_state() function doesn't use encoder for anything other than getting the drm_device instance. The function's description talks about checking

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-04 Thread Dmitry Baryshkov
On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: > > A DCE (Display Compression Engine) contains two DSC hard slice > encoders. Each DCE start with even DSC encoder index followed by > an odd DSC encoder index. Each encoder can work independently. > But Only two DSC encoders from same DCE can be

Re: [Freedreno] [PATCH RESEND v2 3/3] drm/msm/dpu: move encoder status to standard encoder debugfs dir

2023-12-04 Thread Dmitry Baryshkov
On Tue, 5 Dec 2023 at 01:36, Abhinav Kumar wrote: > > > > On 12/3/2023 3:53 AM, Dmitry Baryshkov wrote: > > Now as we have standard per-encoder debugfs directory, move DPU encoder > > status file to that directory. > > > > Signed-off-by: Dmitry Baryshkov &g

Re: [Freedreno] [PATCH next] drm/msm/dp: add a missing unlock in dp_hpd_plug_handle()

2023-12-04 Thread Dmitry Baryshkov
834 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH next] drm/msm/dp: add a missing unlock in dp_hpd_plug_handle()

2023-12-04 Thread Dmitry Baryshkov
; This is based on static analysis with Smatch. Only compile tested. > --- > drivers/gpu/drm/msm/dp/dp_display.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [Freedreno] [PATCH 0/7] drm: revert solid fill support

2023-12-04 Thread Dmitry Baryshkov
On Mon, 04 Dec 2023 15:13:47 +0200, Dmitry Baryshkov wrote: > Altough the Solid Fill planes patchset got all reviews and > acknowledgements, it doesn't fulfill requirements for the new uABI. > Merging it was a fault of mine. > > It has neither corresponding open-source userspace

Re: [Freedreno] [PATCH] drm/msm/dpu: drop MSM_ENC_VBLANK support

2023-12-04 Thread Dmitry Baryshkov
On Mon, 4 Dec 2023 at 20:07, Abhinav Kumar wrote: > On 10/3/2023 8:19 PM, Dmitry Baryshkov wrote: > > There are no in-kernel users of MSM_ENC_VBLANK wait type. Drop it > > together with the corresponding wait_for_vblank callback. > > > > Signed-off-by: Dmitry Baryshkov

Re: [Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation

2023-12-04 Thread Dmitry Baryshkov
On Mon, 4 Dec 2023 at 18:37, Kuogee Hsieh wrote: > > > On 11/29/2023 7:57 PM, Dmitry Baryshkov wrote: > > On Wed, 29 Nov 2023 at 22:31, Kuogee Hsieh wrote: > >> A DCE (Display Compression Engine) contains two DSC hard slice encoders. > >> Each DCE start wit

Re: [Freedreno] [PATCH RESEND 0/6] drm: simplify support for transparent DRM bridges

2023-12-04 Thread Dmitry Baryshkov
On Sun, 03 Dec 2023 14:43:27 +0300, Dmitry Baryshkov wrote: > Greg, could you please ack the last patch to be merged through the > drm-misc tree? You have acked patch 3, but since that time I've added > patches 4-6. > > Supporting DP/USB-C can result in a chain of several transp

Re: [Freedreno] [PATCH] drm: improve the documentation of connector hpd ops

2023-12-04 Thread Dmitry Baryshkov
o drm-misc-next, thanks! [1/1] drm: improve the documentation of connector hpd ops commit: a5b2dcb96d6acb286459612a142371b0d74543bf Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] drm: remove drm_bridge_hpd_disable() from drm_bridge_connector_destroy()

2023-12-04 Thread Dmitry Baryshkov
nbalanced state potentially causing even > a crash. > > [...] Applied to drm-misc-next, thanks! [1/1] drm: remove drm_bridge_hpd_disable() from drm_bridge_connector_destroy() commit: f730e7adfd69d7ac859d8fe4d67e980cbad1e445 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] (subset) [PATCH RESEND v2 0/3] drm: introduce per-encoder debugfs directory

2023-12-04 Thread Dmitry Baryshkov
On Sun, 03 Dec 2023 14:53:12 +0300, Dmitry Baryshkov wrote: > Resending, patch 1 needs review from DRM core maintainers, but it got no > attention since October. > > Each of connectors and CRTCs used by the DRM device provides debugfs > directory, which is used by several standar

[Freedreno] [PATCH 7/7] Revert "drm: Introduce pixel_source DRM plane property"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic_state_helper.c | 1 - drivers/gpu/drm/drm_atomic_uapi.c | 4 - drivers/gpu/drm/drm_blend.c | 94 --- drivers/gpu/drm/drm_plane.c

[Freedreno] [PATCH 4/7] Revert "drm/atomic: Add pixel source to plane state dump"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic.c| 1 - drivers/gpu/drm/drm_blend.c | 1 - drivers/gpu/drm/drm_crtc_internal.h | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b

[Freedreno] [PATCH 3/7] Revert "drm/atomic: Add solid fill data to plane state dump"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic.c | 4 drivers/gpu/drm/drm_plane.c | 8 include/drm/drm_plane.h | 3 --- 3 files changed, 15 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers

[Freedreno] [PATCH 6/7] Revert "drm: Introduce solid fill DRM plane property"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic_state_helper.c | 9 -- drivers/gpu/drm/drm_atomic_uapi.c | 26 drivers/gpu/drm/drm_blend.c | 30 --- include/drm

[Freedreno] [PATCH 2/7] Revert "drm/atomic: Move framebuffer checks to helper"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic.c | 130 +++ 1 file changed, 57 insertions(+), 73 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index

[Freedreno] [PATCH 5/7] Revert "drm: Add solid fill pixel source"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_blend.c | 10 +- include/drm/drm_plane.h | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpu/drm/drm_blend.c b/drivers/gpu/drm/drm_blend.c index

[Freedreno] [PATCH 1/7] Revert "drm/atomic: Loosen FB atomic checks"

2023-12-04 Thread Dmitry Baryshkov
this patchset until userspace obligations are fulfilled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic.c| 21 drivers/gpu/drm/drm_atomic_helper.c | 39 + include/drm/drm_atomic_helper.h | 4 +-- include/drm/drm_plane.h

[Freedreno] [PATCH 0/7] drm: revert solid fill support

2023-12-04 Thread Dmitry Baryshkov
obligations are fulfilled. Dmitry Baryshkov (7): Revert "drm/atomic: Loosen FB atomic checks" Revert "drm/atomic: Move framebuffer checks to helper" Revert "drm/atomic: Add solid fill data to plane state dump" Revert "drm/atomic: Add pixel source to plane state

Re: [Freedreno] [PATCH RESEND 0/6] drm: simplify support for transparent DRM bridges

2023-12-04 Thread Dmitry Baryshkov
On Mon, 4 Dec 2023 at 14:21, Greg Kroah-Hartman wrote: > > On Sun, Dec 03, 2023 at 02:43:27PM +0300, Dmitry Baryshkov wrote: > > Greg, could you please ack the last patch to be merged through the > > drm-misc tree? You have acked patch 3, but since that time I've add

Re: [Freedreno] [PATCH] drm: improve the documentation of connector hpd ops

2023-12-03 Thread Dmitry Baryshkov
On Sun, 3 Dec 2023 at 16:24, Laurent Pinchart wrote: > > Hi Abhinav, > > Thank you for the patch (and thank to Dmitry for pinging me on IRC, this > patch got burried in my inbox). > > On Wed, Sep 20, 2023 at 01:13:58PM -0700, Abhinav Kumar wrote: > > While making the changes in [1], it was noted

Re: [Freedreno] (subset) [PATCH RFC v7 00/10] Support for Solid Fill Planes

2023-12-03 Thread Dmitry Baryshkov
On Sun, 3 Dec 2023 at 14:15, Simon Ser wrote: > > On Saturday, December 2nd, 2023 at 22:41, Dmitry Baryshkov > wrote: > > > On Fri, 27 Oct 2023 15:32:50 -0700, Jessica Zhang wrote: > > > > > Some drivers support hardware that have optimizations for solid fi

[Freedreno] [PATCH RESEND v2 0/3] drm: introduce per-encoder debugfs directory

2023-12-03 Thread Dmitry Baryshkov
message to reflect format changes (Tomi Valkeinen) Dmitry Baryshkov (3): drm/encoder: register per-encoder debugfs dir drm/bridge: migrate bridge_chains to per-encoder file drm/msm/dpu: move encoder status to standard encoder debugfs dir drivers/gpu/drm/drm_bridge.c| 44

[Freedreno] [PATCH RESEND v2 2/3] drm/bridge: migrate bridge_chains to per-encoder file

2023-12-03 Thread Dmitry Baryshkov
/hdmi-bridge@2b:lontium,lt9611uxc ops: [7] detect edid hpd Reviewed-by: Neil Armstrong Reviewed-by: Tomi Valkeinen Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_bridge.c | 44 --- drivers/gpu/drm/drm_debugfs.c | 40

[Freedreno] [PATCH RESEND v2 3/3] drm/msm/dpu: move encoder status to standard encoder debugfs dir

2023-12-03 Thread Dmitry Baryshkov
Now as we have standard per-encoder debugfs directory, move DPU encoder status file to that directory. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 45 +++-- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git a/drivers/gpu/drm/msm

[Freedreno] [PATCH RESEND v2 1/3] drm/encoder: register per-encoder debugfs dir

2023-12-03 Thread Dmitry Baryshkov
Each of connectors and CRTCs used by the DRM device provides debugfs directory, which is used by several standard debugfs files and can further be extended by the driver. Add such generic debugfs directories for encoder. Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers

[Freedreno] [PATCH RESEND 4/6] drm/bridge: implement generic DP HPD bridge

2023-12-03 Thread Dmitry Baryshkov
Several USB-C controllers implement a pretty simple DRM bridge which implements just the HPD notification operations. Add special helper for creating such simple bridges. Acked-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/Kconfig | 8 ++ drivers/gpu

[Freedreno] [PATCH RESEND 3/6] usb: typec: nb7vpq904m: switch to DRM_AUX_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Switch to using the new DRM_AUX_BRIDGE helper to create the transparent DRM bridge device instead of handcoding corresponding functionality. Reviewed-by: Heikki Krogerus Acked-by: Greg Kroah-Hartman Signed-off-by: Dmitry Baryshkov --- drivers/usb/typec/mux/Kconfig | 2 +- drivers/usb

[Freedreno] [PATCH RESEND 2/6] phy: qcom: qmp-combo: switch to DRM_AUX_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Switch to using the new DRM_AUX_BRIDGE helper to create the transparent DRM bridge device instead of handcoding corresponding functionality. Acked-by: Vinod Koul Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/Kconfig | 2 +- drivers/phy/qualcomm/phy-qcom-qmp-combo.c

[Freedreno] [PATCH RESEND 5/6] soc: qcom: pmic-glink: switch to DRM_AUX_HPD_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Use the freshly defined DRM_AUX_HPD_BRIDGE instead of open-coding the same functionality for the DRM bridge chain termination. Reviewed-by: Bjorn Andersson Acked-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 1 + drivers/soc/qcom

[Freedreno] [PATCH RESEND 0/6] drm: simplify support for transparent DRM bridges

2023-12-03 Thread Dmitry Baryshkov
penter) Changes since v2: - ifdef'ed bridge->of_node access (LKP) Changes since v1: - Added EXPORT_SYMBOL_GPL / MODULE_LICENSE / etc. to drm_simple_bridge Dmitry Baryshkov (6): drm/bridge: add transparent bridge helper phy: qcom: qmp-combo: switch to DRM_AUX_BRIDGE usb: typec:

[Freedreno] [PATCH RESEND 6/6] usb: typec: qcom-pmic-typec: switch to DRM_AUX_HPD_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Use the freshly defined DRM_AUX_HPD_BRIDGE instead of open-coding the same functionality for the DRM bridge chain termination. Acked-by: Bryan O'Donoghue Signed-off-by: Dmitry Baryshkov --- drivers/usb/typec/tcpm/Kconfig| 1 + drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 41

[Freedreno] [PATCH RESEND 1/6] drm/bridge: add transparent bridge helper

2023-12-03 Thread Dmitry Baryshkov
additional functionality from the intermediate bridges. Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/Kconfig | 9 ++ drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/aux-bridge.c | 140 include/drm/bridge

Re: [Freedreno] [PATCH v2 4/7] drm/msm/gem: Split out submit_unpin_objects() helper

2023-12-03 Thread Dmitry Baryshkov
files changed, 22 insertions(+), 9 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [Freedreno] [PATCH v2 5/7] drm/msm/gem: Cleanup submit_cleanup_bo()

2023-12-03 Thread Dmitry Baryshkov
On 21/11/2023 02:38, Rob Clark wrote: From: Rob Clark Now that it only handles unlock duty, drop the superfluous arg and rename it. Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_gem_submit.c | 15 +-- 1 file changed, 5 insertions

Re: [Freedreno] [PATCH v2 1/7] drm/msm/gem: Remove "valid" tracking

2023-12-03 Thread Dmitry Baryshkov
-- drivers/gpu/drm/msm/msm_gem_submit.c | 44 +--- 2 files changed, 8 insertions(+), 38 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [Freedreno] [PATCH v3] drm/msm/dpu: Capture dpu snapshot when frame_done_timer timeouts

2023-12-03 Thread Dmitry Baryshkov
cribe parameter frame_done_timeout_cnt in dpu_encoder_virt > > > [...] Applied, thanks! [1/1] drm/msm/dpu: Capture dpu snapshot when frame_done_timer timeouts https://gitlab.freedesktop.org/lumag/msm/-/commit/9cad81143ef0 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] drm/msm/dpu: enable smartdma on sm8350

2023-12-03 Thread Dmitry Baryshkov
On Fri, 08 Sep 2023 12:33:13 -0700, Abhinav Kumar wrote: > To support high resolutions on sm8350, enable smartdma > in its catalog. > > Applied, thanks! [1/1] drm/msm/dpu: enable smartdma on sm8350 https://gitlab.freedesktop.org/lumag/msm/-/commit/921e32bf6c0c Best regards

Re: [Freedreno] [PATCH] drm/msm/dpu: Correct UBWC settings for sc8280xp

2023-12-03 Thread Dmitry Baryshkov
t UBWC settings for sc8280xp https://gitlab.freedesktop.org/lumag/msm/-/commit/0b414c731432 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] dt-bindings: display/msm: qcom, sm8250-mdss: add DisplayPort controller node

2023-12-03 Thread Dmitry Baryshkov
troller@ae9' was unexpected) > > Applied, thanks! [1/1] dt-bindings: display/msm: qcom,sm8250-mdss: add DisplayPort controller node https://gitlab.freedesktop.org/lumag/msm/-/commit/52e36770b174 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH v9 0/7] incorporate pm runtime framework and eDP clean up

2023-12-03 Thread Dmitry Baryshkov
m/dp: move of_dp_aux_populate_bus() to eDP probe() https://gitlab.freedesktop.org/lumag/msm/-/commit/e2969ee30252 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalog

2023-12-03 Thread Dmitry Baryshkov
180X to correct this. > > > [...] Applied, thanks! [1/1] drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalog https://gitlab.freedesktop.org/lumag/msm/-/commit/7cc2621f16b6 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH v3 00/12] RB1/QCM2290 features

2023-12-03 Thread Dmitry Baryshkov
t-bindings: display: msm: qcm2290-mdss: Use the non-deprecated DSI compat https://gitlab.freedesktop.org/lumag/msm/-/commit/25daacc60394 [02/12] dt-bindings: display: msm: Add reg bus and rotator interconnects https://gitlab.freedesktop.org/lumag/msm/-/commit/a1ed5860efd3 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH v2 0/2] DSIPHY RPM

2023-12-03 Thread Dmitry Baryshkov
] drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks https://gitlab.freedesktop.org/lumag/msm/-/commit/3d07a411b4fa [2/2] drm/msm/dsi: Enable runtime PM https://gitlab.freedesktop.org/lumag/msm/-/commit/6ab502bc1cf3 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] drm/msm/mdp4: flush vblank event on disable

2023-12-03 Thread Dmitry Baryshkov
On Tue, 28 Nov 2023 00:54:01 +0300, Dmitry Baryshkov wrote: > Flush queued events when disabling the crtc. This avoids timeouts when > we come back and wait for dependencies (like the previous frame's > flip_done). > > Applied, thanks! [1/1] drm/msm/mdp4: flush vblank e

Re: [Freedreno] [PATCH v2 1/2] drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits

2023-12-03 Thread Dmitry Baryshkov
tlab.freedesktop.org/lumag/msm/-/commit/e6c0de5f4450 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH 00/17] drm/msm/mdp[45]: use managed memory allocations

2023-12-03 Thread Dmitry Baryshkov
On Sat, 08 Jul 2023 04:03:50 +0300, Dmitry Baryshkov wrote: > Follow the DPU patchset ([1]) and use devm_ and drmm_ functions to > allocate long-living data structures in mdp4 and mdp5 drivers. > > [1] https://patchwork.freedesktop.org/series/120366/ > > Dmitry Baryshkov (17)

Re: [Freedreno] [PATCH] dt-bindings: display/msm: qcom, sm8150-mdss: correct DSI PHY compatible

2023-12-03 Thread Dmitry Baryshkov
m' was expected > > Applied, thanks! [1/1] dt-bindings: display/msm: qcom,sm8150-mdss: correct DSI PHY compatible https://gitlab.freedesktop.org/lumag/msm/-/commit/1cd83dfe9a58 Best regards, -- Dmitry Baryshkov

Re: [Freedreno] [PATCH] drm/msm/dp: cleanup debugfs handling

2023-12-03 Thread Dmitry Baryshkov
On Thu, 19 Oct 2023 13:44:19 +0300, Dmitry Baryshkov wrote: > Currently there are two subdirs for DP debugfs files, e.g. DP-1, created > by the drm core for the connector, and the msm_dp-DP-1, created by the > DP driver itself. Merge those two, so that there are no extraneous > conne

Re: [Freedreno] [PATCH] drm/msm/dpu: enable SmartDMA on SM8450

2023-12-03 Thread Dmitry Baryshkov
On Mon, 09 Oct 2023 19:56:27 +0300, Dmitry Baryshkov wrote: > Enable the SmartDMA / multirect support on the SM8450 platform to > support higher resoltion modes. > > Applied, thanks! [1/1] drm/msm/dpu: enable SmartDMA on SM8450 https://gitlab.freedesktop.org/lumag/

Re: [Freedreno] [PATCH] drm/msm/a6xx: add QMP dependency

2023-12-03 Thread Dmitry Baryshkov
ndefined reference to `qmp_send' > > Add the usual dependency that still allows compiling without QMP but > otherwise avoids the broken combination of options. > > [...] Applied, thanks! [1/1] drm/msm/a6xx: add QMP dependency https://gitlab.freedesktop.org/lumag/msm/-/commit/96ab2

[Freedreno] [RFT PATCH v2 2/4] drm/msm/dpu: enable writeback on SC8108X

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h| 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h b/drivers

[Freedreno] [RFT PATCH v2 4/4] drm/msm/dpu: enable writeback on SM6350

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h b/drivers

[Freedreno] [RFT PATCH v2 3/4] drm/msm/dpu: enable writeback on SM6125

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h b/drivers

[Freedreno] [RFT PATCH v2 1/4] drm/msm/dpu: enable writeback on SM8150

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h b/drivers

[Freedreno] [RFT PATCH v2 0/4] drm/msm/dpu: enable writeback on the other platforms

2023-12-02 Thread Dmitry Baryshkov
ion Dmitry Baryshkov (4): drm/msm/dpu: enable writeback on SM8150 drm/msm/dpu: enable writeback on SC8108X drm/msm/dpu: enable writeback on SM6125 drm/msm/dpu: enable writeback on SM6350 .../drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 18 ++ .../msm/disp/dpu1/cata

[Freedreno] [PATCH v2 0/3] drm/msm/dpu: enable writeback on several platforms

2023-12-02 Thread Dmitry Baryshkov
This enables writeback on several platforms where I could actually test it. Changes since v1: - Fixed the CLK_CTRL for SDM845 platform. Dmitry Baryshkov (3): drm/msm/dpu: enable writeback on SDM845 drm/msm/dpu: enable writeback on SM8350 drm/msm/dpu: enable writeback on SM8450 .../drm

[Freedreno] [PATCH v2 1/3] drm/msm/dpu: enable writeback on SDM845

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 18 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 -- 2 files changed, 22 insertions(+), 2 deletions(-) diff

[Freedreno] [PATCH v2 2/3] drm/msm/dpu: enable writeback on SM8350

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h b/drivers

[Freedreno] [PATCH v2 3/3] drm/msm/dpu: enable writeback on SM8450

2023-12-02 Thread Dmitry Baryshkov
Enable WB2 hardware block, enabling writeback support on this platform. Signed-off-by: Dmitry Baryshkov --- .../drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h b/drivers

[Freedreno] [PATCH v2] drm/msm/dpu: correct clk bit for WB2 block

2023-12-02 Thread Dmitry Baryshkov
on these platforms. Fixes: 255f056181ac ("drm/msm/dpu: sc7180: add missing WB2 clock control") Fixes: 3ce166380567 ("drm/msm/dpu: add writeback support for sc7280") Fixes: 53324b99bd7b ("drm/msm/dpu: add writeback blocks to the sm8250 DPU catalog") Signed-off-by: Dmitry Ba

Re: [Freedreno] [RFC] drm/msm/rd: Check PT_PTRACED for cmdstream dumping

2023-12-02 Thread Dmitry Baryshkov
. Ptrace seemed kind of a natural way to control it, ie. either run what you want to trace under gdb or hack in a ptrace(PTRACE_TRACEME) call. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem_submit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov I

[Freedreno] [PATCH RESEND 5/5] drm/msm/mdp5: drop global_state_lock

2023-12-02 Thread Dmitry Baryshkov
Since the commit b962a12050a3 ("drm/atomic: integrate modeset lock with private objects") the DRM framework no longer requires the external lock for private objects. Drop the lock, letting the DRM to manage private object locking. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/dr

[Freedreno] [PATCH RESEND 1/5] drm/atomic: add private obj state to state dump

2023-12-02 Thread Dmitry Baryshkov
-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_atomic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index f1a503aafe5a..c31fc0b48c31 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -1773,6

<    5   6   7   8   9   10   11   12   13   14   >