Re: [PATCH] drm/v3d: New debugfs end-points to query GPU usage stats.

2023-02-10 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jose-Maria-Casanova-Crespo/drm-v3d-New-debugfs-end-points-to-query-GPU-usage-stats/20230210-223726 base: git://anongit.freedesktop.org/drm/drm-misc drm

[PATCH v3] drm/vmwgfx: Do not drop the reference to the handle too soon

2023-02-10 Thread Zack Rusin
From: Zack Rusin v3: Fix vmw_user_bo_lookup which was also dropping the gem reference before the kernel was done with buffer depending on userspace doing the right thing. Same bug, different spot. It is possible for userspace to predict the next buffer handle and to destroy the buffer while it's

[PATCH 39/43] drm/msm/dpu: rename CTL_foo_MASK to contain major DPU version

2023-02-10 Thread Dmitry Baryshkov
To ease review and reuse rename CTL feature masks to contain base DPU version since which this mask is used. Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 10 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 10 +- drivers/gpu

[PATCH 32/43] drm/msm/dpu: enable DSPP on sc8180x

2023-02-10 Thread Dmitry Baryshkov
Enable DSPP blocks on sc8180x platform, basing on the vendor dtsi. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h b/drivers/gpu/drm/msm/disp

[PATCH 34/43] drm/msm/dpu: deduplicate sm6115 with qcm2290

2023-02-10 Thread Dmitry Baryshkov
Remove duplicate between sm6115 and qcm2290, which belong to the same DPU major revision. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_3_sm6115.h| 36 -- .../msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 66 --- .../gpu/drm/msm/disp/dpu1/catalog/d

[PATCH 42/43] drm/msm/dpu: rename MIXER_foo_MASK to contain major DPU version

2023-02-10 Thread Dmitry Baryshkov
To ease review and reuse rename MIXER feature masks to contain base DPU version since which this mask is used. Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 12 ++-- .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 12 ++-- drive

[PATCH 43/43] drm/msm/dpu: rename MERGE_3D_foo_MASK to contain major DPU version

2023-02-10 Thread Dmitry Baryshkov
To ease review and reuse rename MERGE_3D feature masks to contain base DPU version since which this mask is used. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dp

[PATCH 36/43] drm/msm/dpu: drop unused macros from hw catalog

2023-02-10 Thread Dmitry Baryshkov
Drop the version comparison macros from dpu_hw_catalog.h, they are unused. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm

[PATCH 41/43] drm/msm/dpu: drop DPU_DIM_LAYER from MIXER_MSM8998_MASK

2023-02-10 Thread Dmitry Baryshkov
The msm8998 doesn't seem to support DIM_LAYER, so drop it from the supported features mask. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/dri

[PATCH 38/43] drm/msm/dpu: rename INTF_foo_MASK to contain major DPU version

2023-02-10 Thread Dmitry Baryshkov
To ease review and reuse rename INTF feature masks to contain base DPU version since which this mask is used. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h| 8 .../drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 8 .../drm/msm/disp/dpu1/cata

[PATCH 40/43] drm/msm/dpu: rename VIG and DMA_foo_MASK to contain major DPU version

2023-02-10 Thread Dmitry Baryshkov
To ease review and reuse rename VIG and DMA feature masks to contain base DPU version since which this mask is used. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 16 +-- .../msm/disp/dpu1/catalog/dpu_4_0_sdm845.h| 16 +-- .../gpu/drm/msm

[PATCH 37/43] drm/msm/dpu: inline IRQ_n_MASK defines

2023-02-10 Thread Dmitry Baryshkov
IRQ masks are rarely shared between different DPU revisions. Inline them to the dpu_mdss_cfg intances and drop them from the dpu_hw_catalog.c Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 9 ++- .../msm/disp/dpu1/catalog/dpu_4_0_sdm845.h| 10 ++- .../ms

[PATCH 33/43] drm/msm/dpu: deduplicate sc8180x with sm8150

2023-02-10 Thread Dmitry Baryshkov
Remove duplicate between sc8180x and sm8150, which belong to the same DPU major revision. The merged file is named using the DPU major version and the amount of LM units. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h| 172 ++ .../msm/disp/dpu1

[PATCH 31/43] drm/msm/dpu: rename VIG_SM8250_MASK to VIG_SM6115_MASK

2023-02-10 Thread Dmitry Baryshkov
SM6115 is the only remaining user of VIG_SM8250_MASK. Rename the feature mask accordingly. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletio

[PATCH 35/43] drm/msm/dpu: deduplicate sc8280xp with sm8450

2023-02-10 Thread Dmitry Baryshkov
Remove duplicate between sc8280xp and sm8450, which belong to the same DPU major revision. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 130 ++--- .../msm/disp/dpu1/catalog/dpu_8_1_sm8450.h| 135 ++ .../gpu/drm/msm/disp/dpu1/

[PATCH 28/43] drm/msm/dpu: correct sm8450 scaler

2023-02-10 Thread Dmitry Baryshkov
QSEED4 is a newer variant of QSEED3LITE, which should be used on sm8450. Fix the used feature masks. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw

[PATCH 29/43] drm/msm/dpu: correct sm8250 and sm8350 scaler

2023-02-10 Thread Dmitry Baryshkov
QSEED4 is a newer variant of QSEED3LITE, which should be used on sm8250 and sm8350. Fix the DPU caps structure and used feature masks. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 10 +- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.

[PATCH 26/43] drm/msm/dpu: correct sm8550 scaler

2023-02-10 Thread Dmitry Baryshkov
QSEED4 is a newer variant of QSEED3LITE, which should be used on sm8550. Fix the DPU caps structure and used feature masks. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 8 2 fi

[PATCH 27/43] drm/msm/dpu: correct sc8280xp scaler

2023-02-10 Thread Dmitry Baryshkov
QSEED4 is a newer variant of QSEED3LITE, which should be used on sc8280xp. Fix the DPU caps structure and used feature masks. Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 10 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 8 ++

[PATCH 25/43] drm/msm/dpu: fix typo in in sm8550's dma_sblk_5

2023-02-10 Thread Dmitry Baryshkov
Fix typo if the name of the sblk structure for the sm8550's dma_sblk_5. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH 30/43] drm/msm/dpu: drop duplicate vig_sblk instances

2023-02-10 Thread Dmitry Baryshkov
After fixing scaler version we are sure that sm8450 and sc8280xp vig sblk's are duplicates of sm8250_vig_sblk and thus can be dropped. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 8 .../drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 8 d

[PATCH 24/43] drm/msm/dpu: enable DSPP_2/3 for LM_2/3 on sm8450

2023-02-10 Thread Dmitry Baryshkov
Mark DSPP_2 and DSPP_3 as used for LM_2 and LM_3 Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h b/drivers/gpu/drm/msm/disp/d

[PATCH 21/43] drm/msm/dpu: duplicate sm8350 catalog entries

2023-02-10 Thread Dmitry Baryshkov
Duplicate some of sm8350 catalog entries to remove dependencies between DPU major generations. Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/c

[PATCH 23/43] drm/msm/dpu: enable DPU_CTL_SPLIT_DISPLAY for sc8280xp

2023-02-10 Thread Dmitry Baryshkov
Theoretically since sm8150 we should be using a single CTL for the source split case, but since we do not support it for now, fallback to DPU_CTL_SPLIT_DISPLAY. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 20/43] drm/msm/dpu: duplicate sm8250 catalog entries

2023-02-10 Thread Dmitry Baryshkov
Duplicate some of sm8250 catalog entries to remove dependencies between DPU major generations. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h| 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/

[PATCH 22/43] drm/msm/dpu: use defined symbol for sc8280xp's maxwidth

2023-02-10 Thread Dmitry Baryshkov
Use defined name DEFAULT_DPU_OUTPUT_LINE_WIDTH instead of open coding the value. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp

[PATCH 18/43] drm/msm/dpu: duplicate sc7180 catalog entries

2023-02-10 Thread Dmitry Baryshkov
Duplicate some of sc7180 catalog entries to remove dependencies between DPU major generations. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/cat

[PATCH 16/43] drm/msm/dpu: split SDM845 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_4_0_sdm845.h| 203 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 208 +- 2 files changed, 204 insertions(+), 207 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0

[PATCH 19/43] drm/msm/dpu: duplicate sm8150 catalog entries

2023-02-10 Thread Dmitry Baryshkov
Duplicate some of sm8150 catalog entries to remove dependencies between DPU major generations. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h| 134 -- .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h| 34 - .../msm/disp/dpu1/catalog/dpu_8_0_

[PATCH 12/43] drm/msm/dpu: split SM8250 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h| 131 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 132 +- 2 files changed, 132 insertions(+), 131 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0

[PATCH 07/43] drm/msm/dpu: split SC7280 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_7_2_sc7280.h| 149 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 145 + 2 files changed, 151 insertions(+), 143 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2

[PATCH 15/43] drm/msm/dpu: split MSM8998 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 189 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 191 +- 2 files changed, 191 insertions(+), 189 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0

[PATCH 11/43] drm/msm/dpu: split SC7180 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_2_sc7180.h| 148 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 144 + 2 files changed, 149 insertions(+), 143 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2

[PATCH 08/43] drm/msm/dpu: split SM8350 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h| 175 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 175 +- 2 files changed, 176 insertions(+), 174 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_

[PATCH 06/43] drm/msm/dpu: split SC8280XP catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 195 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 188 + 2 files changed, 196 insertions(+), 187 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0

[PATCH 17/43] drm/msm/dpu: duplicate sdm845 catalog entries

2023-02-10 Thread Dmitry Baryshkov
Duplicate some of sdm845 catalog entries to remove dependencies between DPU major generations. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 19 +++- .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h| 43 +-- .../msm/disp/dpu1/catalog/dpu_5_

[PATCH 13/43] drm/msm/dpu: split SC8180X catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 108 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 106 + 2 files changed, 109 insertions(+), 105 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1

[PATCH 14/43] drm/msm/dpu: split SM8150 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h| 194 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 187 + 2 files changed, 195 insertions(+), 186 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0

[PATCH 09/43] drm/msm/dpu: split SM6115 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_3_sm6115.h| 96 +++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 90 + 2 files changed, 98 insertions(+), 88 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm

[PATCH 10/43] drm/msm/dpu: split QCM2290 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 116 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 108 +--- 2 files changed, 117 insertions(+), 107 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_

[PATCH 04/43] drm/msm/dpu: split SM8550 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_9_0_sm8550.h| 178 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 181 +- 2 files changed, 180 insertions(+), 179 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0

[PATCH 03/43] drm/msm/dpu: move UBWC/memory configuration to separate struct

2023-02-10 Thread Dmitry Baryshkov
UBWC and highest bank settings differ slightly between different DPU units of the same generation, while the dpu_caps and dpu_mdp_cfg are much more stable. To ease configuration reuse move ubwc_swizzle and highest_bank_bit data to separate structure. Signed-off-by: Dmitry Baryshkov --- .../gpu/d

[PATCH 05/43] drm/msm/dpu: split SM8450 catalog entry to the separate file

2023-02-10 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_8_1_sm8450.h| 203 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 204 +- 2 files changed, 205 insertions(+), 202 deletions(-) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1

[PATCH 01/43] drm/msm/dpu: constify DSC data structures

2023-02-10 Thread Dmitry Baryshkov
DSC hw catalog data is not supposed to be changed, so mark it as const data. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 4 ++-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.c | 4 ++-- 3 files change

[PATCH 02/43] drm/msm/dpu: mark remaining pp data as const

2023-02-10 Thread Dmitry Baryshkov
Fix several leftover _pp strutures and mark them as const, making all hw catalog fit into the rodata section. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1

[PATCH 00/43] drm/msm/dpu: rework HW catalog

2023-02-10 Thread Dmitry Baryshkov
This huge series attempts to restructure the DPU HW catalog into a manageable and reviewable data set. First 3 patches clean up the catalog a bit. Then the next batch of 13 + 5 patches split the hw catalog entries into per-SoC files. Next 14 patches rework catalog entries, mostly targeting QSEED

[PATCH v2] drm/msm/dpu: set DPU_MDP_PERIPH_0_REMOVED for sc8280xp

2023-02-10 Thread Dmitry Baryshkov
The SC8280XP also has a black hole at the top of MDP_TOP region. Set corresponding bit to disable access to that region. Fixes: 4a352c2fc15a ("drm/msm/dpu: Introduce SC8280XP") Reviewed-by: Abhinav Kumar Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- Changes since v1: rebase o

Re: [PATCH 00/24 v2] Documentation: correct lots of spelling errors (series 1)

2023-02-10 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (master) by Jakub Kicinski : On Wed, 8 Feb 2023 23:13:36 -0800 you wrote: > Correct many spelling errors in Documentation/ as reported by codespell. > > Maintainers of specific kernel subsystems are only Cc-ed on their > respective patches,

Re: [PATCH] drm/msm/dpu: set DPU_MDP_PERIPH_0_REMOVED for sc8280xp

2023-02-10 Thread Abhinav Kumar
On 2/10/2023 6:15 AM, Dmitry Baryshkov wrote: The SC8280XP also has a black hole at the top of MDP_TOP region. Set corresponding bit to disable access to that region. Fixes: 4a352c2fc15a ("drm/msm/dpu: Introduce SC8280XP") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/d

Re: [PATCH v2] drm/msm/dpu: disable features unsupported by QCM2290

2023-02-10 Thread Abhinav Kumar
On 2/10/2023 5:50 AM, Dmitry Baryshkov wrote: QCM2290 doesn't seem to support reg-dma, UBWC and CSC. Drop corresponding features being incorrectly enabled for qcm2290. Cc: Loic Poulain Fixes: 5334087ee743 ("drm/msm: add support for QCM2290 MDSS") Signed-off-by: Dmitry Baryshkov --- Changes

Re: [PATCH v5 2/2] drm/imx/lcdc: Implement DRM driver for imx25

2023-02-10 Thread Uwe Kleine-König
Hello, On Fri, Feb 10, 2023 at 07:00:14PM +0100, Uwe Kleine-König wrote: > + ret = drm_bridge_attach(&lcdc->pipe.encoder, lcdc->bridge, NULL, > DRM_BRIDGE_ATTACH_NO_CONNECTOR); > + if (ret) > + return dev_err_probe(drm->dev, ret, "Cannot attach bridge\n"); > + > + lcdc->co

Re: [RFC PATCH v2 00/18] Add DRM CRTC 3D LUT interface

2023-02-10 Thread Harry Wentland
On 2/10/23 04:28, Pekka Paalanen wrote: > On Thu, 9 Feb 2023 13:27:02 -0100 > Melissa Wen wrote: > >> On 01/31, Pekka Paalanen wrote: >>> On Mon, 9 Jan 2023 14:38:09 -0100 >>> Melissa Wen wrote: >>> On 01/09, Melissa Wen wrote: > Hi, > > After collecting comments in diff

Re: [PATCH] drm/amd/display: Remove duplicate/repeating expressions

2023-02-10 Thread Harry Wentland
On 2/10/23 05:00, Deepak R Varma wrote: > Remove duplicate or repeating expressions in the if condition > evaluation. Issue identified using doubletest.cocci Coccinelle semantic > patch. > > Signed-off-by: Deepak R Varma Reviewed-by: Harry Wentland Harry > --- > .../gpu/drm/amd/display/dc/dm

Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected

2023-02-10 Thread Linux regression tracking (Thorsten Leemhuis)
On 10.02.23 20:01, Karol Herbst wrote: > On Fri, Feb 10, 2023 at 7:35 PM Linux regression tracking (Thorsten > Leemhuis) wrote: >> >> On 08.02.23 09:48, Chris Clayton wrote: >>> >>> I'm assuming that we are not going to see a fix for this regression before >>> 6.2 is released. >> >> Yeah, looks

Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected

2023-02-10 Thread Karol Herbst
On Fri, Feb 10, 2023 at 7:35 PM Linux regression tracking (Thorsten Leemhuis) wrote: > > On 08.02.23 09:48, Chris Clayton wrote: > > > > I'm assuming that we are not going to see a fix for this regression before > > 6.2 is released. > > Yeah, looks like it. That's unfortunate, but happens. But t

Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected

2023-02-10 Thread Linux regression tracking (Thorsten Leemhuis)
On 08.02.23 09:48, Chris Clayton wrote: > > I'm assuming that we are not going to see a fix for this regression before > 6.2 is released. Yeah, looks like it. That's unfortunate, but happens. But there is still time to fix it and there is one thing I wonder: Did any of the nouveau developers l

Re: [PATCH] drm/amd/display: Remove duplicate/repeating expression

2023-02-10 Thread Deepak R Varma
On Fri, Feb 10, 2023 at 10:22:00AM -0500, Harry Wentland wrote: > On 2/10/23 05:11, Deepak R Varma wrote: > > Remove duplicate or repeating expressions in the if condition > > evaluation. Issue identified using doubletest.cocci Coccinelle semantic > > patch. > > > > Signed-off-by: Deepak R Varma

[PATCH v5 1/2] dt-bindings: display: imx: Describe drm binding for fsl, imx-lcdc

2023-02-10 Thread Uwe Kleine-König
Modify the existing (fb-like) binding to support the drm-like binding in parallel. Signed-off-by: Uwe Kleine-König --- .../bindings/display/imx/fsl,imx-lcdc.yaml| 46 ++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/i

[PATCH v5 0/2] drm/imx/lcdc: Implement DRM driver for imx25

2023-02-10 Thread Uwe Kleine-König
Hello, Changes since v4: - Explicitly handle the connector and pass DRM_BRIDGE_ATTACH_NO_CONNECTOR to drm_bridge_attach (Laurent) - Fix binding syntax hopfully makeing Rob's dt-checker bot happy - Resort #includes alphabetically A big thanks to Philipp who (again!) was a great help to get

[PATCH v5 2/2] drm/imx/lcdc: Implement DRM driver for imx25

2023-02-10 Thread Uwe Kleine-König
From: Marian Cichy Add support for the LCD Controller found on i.MX21 and i.MX25. It targets to be a drop in replacement for the imx-fb driver. Signed-off-by: Marian Cichy [ukl: Rebase to a newer kernel version, various smaller fixes and improvements] Signed-off-by: Uwe Kleine-König --- driv

Re: [PATCH] drm: Disable dynamic debug as broken

2023-02-10 Thread jim . cromie
On Tue, Feb 7, 2023 at 10:21 AM Jani Nikula wrote: > > From: Ville Syrjälä > > CONFIG_DRM_USE_DYNAMIC_DEBUG breaks debug prints for (at least modular) > drm drivers. The debug prints can be reinstated by manually frobbing > /sys/module/drm/parameters/debug after the fact, but at that point the >

Re: [PATCH] drm/v3d: New debugfs end-points to query GPU usage stats.

2023-02-10 Thread kernel test robot
Hi Jose, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.2-rc7 next-20230210] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: error: 'const struct dc_dsc_config' has no member named 'is_frl'

2023-02-10 Thread Alex Deucher
On Thu, Feb 9, 2023 at 11:38 PM Randy Dunlap wrote: > > Hi, > > The 'is_frl' struct field is conditional: > > #if defined(CONFIG_DRM_AMD_DC_DCN) > bool is_frl; /* indicate if DSC is applied based on HDMI FRL sink's > capability */ > #endif > > so code that uses it should be careful, other

[PATCH 2/2] drm/panel: Add driver for Novatek NT36523

2023-02-10 Thread Jianhua Lu
Add a driver for panels using the Novatek NT36523 Display Driver IC, including support for the csot and boe panels right now, found in Xiaomi Mi Pad 5 series. Signed-off-by: Jianhua Lu --- MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 9

[PATCH 1/2] dt-bindings: display: panel: Add Novatek NT36523 bindings

2023-02-10 Thread Jianhua Lu
Novatek NT36523 is a display driver IC that can drive DSI panel. It is also present in the csot and boe video mode panels. It is found in Xiaomi Mi Pad 5 series. Signed-off-by: Jianhua Lu --- .../display/panel/novatek,nt36523.yaml| 101 ++ 1 file changed, 101 insertions(+

Re: [RFC] drm/msm/adreno: Balance pm_runtime enable

2023-02-10 Thread Rob Clark
On Fri, Feb 3, 2023 at 10:12 AM Bjorn Andersson wrote: > > When any of the components in the mdss hierarchy fails to bind, > previously bound components are being unbound again. > > One such case happens when the DP controller fails to find its bridge or > panel, where adreno_unbind() will be invo

Re: [PATCH 1/3] drm/msm/adreno: Add Adreno A690 support

2023-02-10 Thread Rob Clark
On Tue, Feb 7, 2023 at 7:41 PM Bjorn Andersson wrote: > > From: Bjorn Andersson > > Introduce support for the Adreno A690, found in Qualcomm SC8280XP. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 120 ++

Re: [PATCH v3 5/5] arm64: dts: qcom: sm8450: add dp controller

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 17:28, Neil Armstrong wrote: On 10/02/2023 16:24, Dmitry Baryshkov wrote: On 10/02/2023 16:44, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong ---   arch/arm64/boot/dts/qcom/sm8450.dtsi | 79 +

Re: [PATCH v3 5/5] arm64: dts: qcom: sm8450: add dp controller

2023-02-10 Thread Neil Armstrong
On 10/02/2023 16:24, Dmitry Baryshkov wrote: On 10/02/2023 16:44, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong ---   arch/arm64/boot/dts/qcom/sm8450.dtsi | 79   1 file changed, 79 insertions(+

Re: [PATCH v3 1/5] dt-bindings: display: msm: dp-controller: document SM8450 compatible

2023-02-10 Thread Neil Armstrong
On 10/02/2023 16:16, Dmitry Baryshkov wrote: On 10/02/2023 16:44, Neil Armstrong wrote: The SM8450 & SM350 shares the same DT TX IP version, use the SM8350 compatible as fallback for SM8450. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong ---   .../bindings/display/msm/dp-contr

Re: [PATCH v3 5/5] arm64: dts: qcom: sm8450: add dp controller

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 16:44, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 79 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm845

Re: [PATCH] drm/amd/display: Remove duplicate/repeating expression

2023-02-10 Thread Harry Wentland
On 2/10/23 05:11, Deepak R Varma wrote: > Remove duplicate or repeating expressions in the if condition > evaluation. Issue identified using doubletest.cocci Coccinelle semantic > patch. > > Signed-off-by: Deepak R Varma Reviewed-by: Harry Wentland Harry > --- > .../gpu/drm/amd/display/dc/dm

Re: [PATCH v3 4/5] arm64: dts: qcom: sm8450: switch to usb3/dp combo phy

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 16:44, Neil Armstrong wrote: The QMP PHY is a USB3/DP combo phy, switch to the newly documented bindings and register the clocks to the GCC and DISPCC controllers. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 42 +---

Re: [PATCH v3 3/5] arm64: dts: qcom: sm8350: add dp controller

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 16:44, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Tested-by: Dmitry Baryshkov #SM8350-HDK Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 79 1 file changed, 79 insertions(+) R

Re: [PATCH v3 1/5] dt-bindings: display: msm: dp-controller: document SM8450 compatible

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 16:44, Neil Armstrong wrote: The SM8450 & SM350 shares the same DT TX IP version, use the SM8350 compatible as fallback for SM8450. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../bindings/display/msm/dp-controller.yaml| 25 +-

Re: [PATCH v3] drm/ast: Fix start address computation

2023-02-10 Thread Jocelyn Falempe
On 10/02/2023 01:33, Jammy Huang wrote: On 2023/2/9 下午 05:55, Thomas Zimmermann wrote: Am 09.02.23 um 10:44 schrieb Jocelyn Falempe: During the driver conversion to shmem, the start address for the scanout buffer was set to the base PCI address. In most cases it works because only the lower

Re: [igt-dev] [PATCH i-g-t v2 3/4] lib/igt_kmod: add compatibility for KUnit

2023-02-10 Thread Janusz Krzysztofik
Hi Isabella, On Monday, 19 September 2022 22:55:44 CET Isabella Basso wrote: > Hi, Janusz, > > > Am 09/09/2022 um 12:18 PM schrieb Janusz Krzysztofik > > : > > > > ... > > > > Anyway, related to my comment about naming that function a parser, I think > > the > > best approach would be for th

[PATCH v3 5/5] arm64: dts: qcom: sm8450: add dp controller

2023-02-10 Thread Neil Armstrong
Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 79 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi

[PATCH v3 4/5] arm64: dts: qcom: sm8450: switch to usb3/dp combo phy

2023-02-10 Thread Neil Armstrong
The QMP PHY is a USB3/DP combo phy, switch to the newly documented bindings and register the clocks to the GCC and DISPCC controllers. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 42 +--- 1 file changed, 15 insertions(+), 27 deletions(

[PATCH v3 3/5] arm64: dts: qcom: sm8350: add dp controller

2023-02-10 Thread Neil Armstrong
Add the Display Port controller subnode to the MDSS node. Tested-by: Dmitry Baryshkov #SM8350-HDK Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 79 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi

[PATCH v3 2/5] arm64: dts: qcom: sm8350: switch to combo usb3/dp phy

2023-02-10 Thread Neil Armstrong
The first QMP PHY is an USB3/DP combo phy, switch to the newly documented bindings and register the clocks to the GCC and DISPCC controllers. Reviewed-by: Dmitry Baryshkov Tested-by: Dmitry Baryshkov #SM8350-HDK Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 42 ++

[PATCH v3 1/5] dt-bindings: display: msm: dp-controller: document SM8450 compatible

2023-02-10 Thread Neil Armstrong
The SM8450 & SM350 shares the same DT TX IP version, use the SM8350 compatible as fallback for SM8450. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../bindings/display/msm/dp-controller.yaml| 25 +- 1 file changed, 15 insertions(+), 10 deletion

[PATCH v3 0/5] arm64: dts: qcom: add DP Controller to SM8350 & SM8450 DTS

2023-02-10 Thread Neil Armstrong
Switch the QMP PHY to the newly documented USB3/DP Combo PHY bindings at [1] and add the DP controller nodes. The DP output is shared with the USB3 SuperSpeed lanes and is usually connected to an USB-C port which Altmode is controlled by the PMIC Glink infrastructure in discution at [2] & [3]. DT

[PATCH] drm/v3d: New debugfs end-points to query GPU usage stats.

2023-02-10 Thread Jose Maria Casanova Crespo
Two new debugfs interfaces are implemented to expose the usage stats of the GPU scheduling queues. - gpu_usage: exposes the total runtime since boot of each of the 5 scheduling queues available at V3D (BIN, RENDER, CSD, TFU, CACHE_CLEAN). So if the interface is queried at two different points of t

Re: [PATCH v2 3/5] arm64: dts: qcom: sm8350: add dp controller

2023-02-10 Thread Dmitry Baryshkov
On 10/02/2023 16:18, Neil Armstrong wrote: On 10/02/2023 12:08, Dmitry Baryshkov wrote: On 10/02/2023 12:34, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong ---   arch/arm64/boot/dts/qcom/sm8350.dtsi | 82 +

Re: [PATCH] drm/msm/dpu: set DPU_MDP_PERIPH_0_REMOVED for sc8280xp

2023-02-10 Thread Neil Armstrong
On 10/02/2023 15:15, Dmitry Baryshkov wrote: The SC8280XP also has a black hole at the top of MDP_TOP region. Set corresponding bit to disable access to that region. Fixes: 4a352c2fc15a ("drm/msm/dpu: Introduce SC8280XP") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_h

Re: [PATCH v2 3/5] arm64: dts: qcom: sm8350: add dp controller

2023-02-10 Thread Neil Armstrong
On 10/02/2023 12:08, Dmitry Baryshkov wrote: On 10/02/2023 12:34, Neil Armstrong wrote: Add the Display Port controller subnode to the MDSS node. Signed-off-by: Neil Armstrong ---   arch/arm64/boot/dts/qcom/sm8350.dtsi | 82 +++-   1 file changed, 80 insertions(+

[PATCH] drm/msm/dpu: set DPU_MDP_PERIPH_0_REMOVED for sc8280xp

2023-02-10 Thread Dmitry Baryshkov
The SC8280XP also has a black hole at the top of MDP_TOP region. Set corresponding bit to disable access to that region. Fixes: 4a352c2fc15a ("drm/msm/dpu: Introduce SC8280XP") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- 1 file changed, 1 insertion(

[PATCH] drm/i915/gt: Make sure that errors are propagated through request chains

2023-02-10 Thread Andi Shyti
Currently, for operations like memory clear or copy for big chunks of memory, we generate multiple requests executed in a chain. But if one of the requests generated fails we would not know it to unless it happens to the last request, because errors are not properly propagated. For this we need t

Re: [PATCH v4 1/2] dt-bindings: display: imx: Describe drm binding for fsl,imx-lcdc

2023-02-10 Thread Rob Herring
On Fri, 10 Feb 2023 12:31:15 +0100, Uwe Kleine-König wrote: > Modify the existing (fb-like) binding to support the drm-like binding in > parallel. > > Signed-off-by: Uwe Kleine-König > --- > .../bindings/display/imx/fsl,imx-lcdc.yaml| 46 ++- > 1 file changed, 45 insertions

[PATCH v2] drm/msm/dpu: disable features unsupported by QCM2290

2023-02-10 Thread Dmitry Baryshkov
QCM2290 doesn't seem to support reg-dma, UBWC and CSC. Drop corresponding features being incorrectly enabled for qcm2290. Cc: Loic Poulain Fixes: 5334087ee743 ("drm/msm: add support for QCM2290 MDSS") Signed-off-by: Dmitry Baryshkov --- Changes since v1: - Reenabled CDP, exclusion rectangles an

Re: [PATCH v2 5/5] drm/v3d: Use drm_sched_job_add_syncobj_dependency()

2023-02-10 Thread Melissa Wen
On 02/09, Maíra Canal wrote: > As v3d_job_add_deps() performs the same steps as > drm_sched_job_add_syncobj_dependency(), replace the open-coded > implementation in v3d in order to simply use the DRM function. > > Signed-off-by: Maíra Canal > --- > drivers/gpu/drm/v3d/v3d_gem.c | 22

Re: [1/2] drm/msm/dpu: fix clocks settings for msm8998 SSPP blocks

2023-02-10 Thread Dmitry Baryshkov
On 24/01/2023 11:59, Marijn Suijten wrote: On 2023-01-15 14:41:42, Dmitry Baryshkov wrote: DMA2 and DMA3 planes on msm8998 should use corresponding DMA2 and DMA3 clocks rather than CURSOR0/1 clocks (which are used for the CURSOR planes). Correct corresponding SSPP declarations. Fixes: 94391a14f

Re: Try to address the drm_debugfs issues

2023-02-10 Thread Christian König
Am 10.02.23 um 13:18 schrieb Maxime Ripard: [SNIP] Well you don't seem to understand what I'm talking about. I would certainly like you to stop making those kind of statements. Apart from creating unnecessary tension, they don't bring anything to the discussion. Sorry for saying that. It was

[RFC 5/5] drm/i915: Wait boost requests waited upon by others

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use the newly added dma-fence API to apply waitboost not only requests which have been marked with I915_WAIT_PRIORITY by i915, but which may be waited upon by others (such as for instance buffer sharing in multi-GPU scenarios). Signed-off-by: Tvrtko Ursulin --- drivers/gpu

[RFC 4/5] drm/i915: Mark waits as explicit

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use the previously added dma-fence API to mark the direct i915 waits as explicit. This has no significant effect apart from following the new pattern. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_request.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[RFC 2/5] drm/syncobj: Mark syncobj waits as external waiters

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use the previously added dma-fence tracking of explicit waiters. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/drm_syncobj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c index 0c

[RFC 1/5] dma-fence: Track explicit waiters

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Track how many callers are explicity waiting on a fence to signal and allow querying that via new dma_fence_wait_count() API. This provides infrastructure on top of which generic "waitboost" concepts can be implemented by individual drivers. Wait-boosting is any reactive act

[RFC 3/5] drm/i915: Waitboost external waits

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Userspace waits coming via the drm_syncobj route have so far been bypassing the waitboost mechanism. Use the previously added dma-fence wait tracking API and apply the same waitboosting logic which applies to other entry points. This should fix the perfomance regressions ex

[RFC v2 0/5] Waitboost drm syncobj waits

2023-02-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin In i915 we have this concept of "wait boosting" where we give a priority boost for instance to fences which are actively waited upon from userspace. This has it's pros and cons and can certainly be discussed at lenght. However fact is some workloads really like it. Problem i

  1   2   >