Re: [PATCH] video: fbdev: mmp: Fix typo in code comment

2023-11-25 Thread Helge Deller
On 11/24/23 16:34, Randy Dunlap wrote: Hi, On 11/24/23 01:52, Dario Binacchi wrote: s/singals/signals/ Fixes: 641b4b1b6a7c ("video: mmpdisp: add spi port in display controller") Signed-off-by: Dario Binacchi --- drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v2] fbdev/fsl-diu-fb: Fix srapse warning due to virt_to_phys() prototype change

2023-11-25 Thread Helge Deller
On 11/21/23 01:01, Stanislav Kinsburskii wrote: Explicitly cast __iomem pointer to const void* with __force to fix the following warning: incorrect type in argument 1 (different address spaces) expected void const volatile *address got char [noderef] __iomem *screen_base Signe

Re: [PATCH v2] drm/virtio: Add suppport for non-native buffer formats

2023-11-25 Thread Christian Zigotzky
On 19 November 2023 at 07:33 pm, Geert Uytterhoeven wrote: Hi Christian, On Sun, Nov 19, 2023 at 5:28 PM Christian Zigotzky wrote: On 16 November 2023 at 03:44 pm, Gerd Hoffmann wrote: On Thu, Nov 16, 2023 at 02:16:54PM +0100, Geert Uytterhoeven wrote: When using virtgpu on a big-endian mach

Re: [PATCH v2] drm/virtio: Add suppport for non-native buffer formats

2023-11-25 Thread John Paul Adrian Glaubitz
On Sat, 2023-11-25 at 11:06 +0100, Christian Zigotzky wrote: > Could you please revert the v2 patch because of the issue with the > virtio-mouse-pci cursor? I will try to use the v1 patch for the RC3 of > kernel 6.7. I don't understand why the v2 patch should yield any different results as the o

Re: [PATCH v2] drm/virtio: Add suppport for non-native buffer formats

2023-11-25 Thread Christian Zigotzky
On 25 November 2023 at 12:09 pm, John Paul Adrian Glaubitz wrote: On Sat, 2023-11-25 at 11:06 +0100, Christian Zigotzky wrote: Could you please revert the v2 patch because of the issue with the virtio-mouse-pci cursor? I will try to use the v1 patch for the RC3 of kernel 6.7. I don't understand

Re: [PATCH v2] drm/virtio: Add suppport for non-native buffer formats

2023-11-25 Thread Christian Zigotzky
On 25 November 2023 at 01:22 pm, Christian Zigotzky wrote: On 25 November 2023 at 12:09 pm, John Paul Adrian Glaubitz wrote: On Sat, 2023-11-25 at 11:06 +0100, Christian Zigotzky wrote: Could you please revert the v2 patch because of the issue with the virtio-mouse-pci cursor? I will try to use

[drm-misc:for-linux-next 2/3] drivers/gpu/drm/nouveau/nouveau_sched.c:21:34: error: 'DRM_SCHED_PRIORITY_MIN' undeclared here (not in a function); did you mean 'DRM_SCHED_PRIORITY_HIGH'?

2023-11-25 Thread kernel test robot
ename priority MIN to LOW config: i386-buildonly-randconfig-001-20231125 (https://download.01.org/0day-ci/archive/20231125/202311251951.tdzber5f-...@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231125/202311251951.tdz

[PATCH 02/12] dt-bindings: display: msm: Add reg bus and rotator interconnects

2023-11-25 Thread Konrad Dybcio
Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there are other connection paths: - a path that connects rotator block to the DDR. - a path that needs to be handled to ensure MDSS register access functions properly, namely the "reg bus", a.k.a the CPU-MDSS CFG interconnect. Describ

[PATCH 03/12] dt-bindings: display: msm: qcm2290-mdss: Allow 2 interconnects

2023-11-25 Thread Konrad Dybcio
In addition to MDP0, the cpu-cfg interconnect is also necessary. Allow it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/

[PATCH 00/12] RB1/QCM2290 features

2023-11-25 Thread Konrad Dybcio
| 462 + arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 109 + drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 8 files changed, 594 insertions(+), 24 deletions(-) --- base-commit: 8c9660f6515396aba78d1168d2e17951d653ebf2 change-id: 20231125

[PATCH 05/12] dt-bindings: interconnect: qcom,msm8998-bwmon: Add QCM2290 bwmon instance

2023-11-25 Thread Konrad Dybcio
QCM2290 has a single BWMONv4 intance for CPU. Document it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml b/Docume

[PATCH 04/12] dt-bindings: display: msm: sm8450-mdss: Allow 3 interconnects

2023-11-25 Thread Konrad Dybcio
In addition to MDP01, the cpu-cfg interconnect is also necessary. Allow it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/display/msm/qcom,sm8450-mdss.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/

[PATCH 01/12] dt-bindings: display: msm: qcm2290-mdss: Use the non-deprecated DSI compat

2023-11-25 Thread Konrad Dybcio
The "qcom,dsi-ctrl-6g-qcm2290" has been deprecated in commit 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC"), but the example hasn't been updated to reflect that. Fix that. Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compat

[PATCH 06/12] dt-bindings: firmware: qcom,scm: Allow interconnect for everyone

2023-11-25 Thread Konrad Dybcio
Every Qualcomm SoC physically has a "CRYPTO0<->DDR" interconnect lane. Allow this property to be present, no matter the SoC. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 15 --- 1 file changed, 15 deletions(-) diff --git a/Documentation

[PATCH 07/12] iommu/arm-smmu-qcom: Add QCM2290 DPU compatible

2023-11-25 Thread Konrad Dybcio
Add the QCM2290 DPU compatible to clients compatible list, as it also needs the workarounds. Signed-off-by: Konrad Dybcio --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/ar

[PATCH 09/12] arm64: dts: qcom: qcm2290: Hook up interconnects

2023-11-25 Thread Konrad Dybcio
Add interconnect provider nodes and hook up interconnects to consumer devices, including bwmon. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 248 ++ 1 file changed, 248 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi

[PATCH 10/12] arm64: dts: qcom: qrb2210-rb1: Set up HDMI

2023-11-25 Thread Konrad Dybcio
Add the required nodes to support display output via the HDMI port. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 86 1 file changed, 86 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom

[PATCH 11/12] arm64: dts: qcom: qrb2210-rb1: Enable CAN bus controller

2023-11-25 Thread Konrad Dybcio
Enable the Microchip mcp2518fd hosted on the SPI5 bus. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index

[PATCH 08/12] arm64: dts: qcom: qcm2290: Add display nodes

2023-11-25 Thread Konrad Dybcio
Add the required nodes to support display on QCM2290. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 214 ++ 1 file changed, 214 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi in

[PATCH 12/12] arm64: dts: qcom: qrb2210-rb1: add wifi variant property

2023-11-25 Thread Konrad Dybcio
From: Dmitry Baryshkov The RB1 platform doesn't have board-specific board-id programmed, it uses generic 0xff. Thus add the property with the 'variant' of the calibration data. Note: the driver will check for the calibration data for the following IDs, so existing board-2.bin files will continue

[drm-misc:for-linux-next 2/3] drivers/gpu/drm/nouveau/nouveau_sched.c:21:34: error: use of undeclared identifier 'DRM_SCHED_PRIORITY_MIN'

2023-11-25 Thread kernel test robot
ename priority MIN to LOW config: x86_64-randconfig-123-20231125 (https://download.01.org/0day-ci/archive/20231125/202311252109.wgbjsskg-...@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1

Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort

2023-11-25 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/mac-shen/drm-mediatek-dp-Add-the-HDCP-feature-for-DisplayPort/20231125-152640 b

Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort

2023-11-25 Thread kernel test robot
us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/mac-shen/drm-mediatek-dp-Add-the-HDCP-feature-for-DisplayPort/20231125-152640 b

[PATCH v2 1/2] drm/msm/a6xx: Add missing BIT(7) to REG_A6XX_UCHE_CLIENT_PF

2023-11-25 Thread Rob Clark
From: Danylo Piliaiev Downstream always set BIT(7) Signed-off-by: Danylo Piliaiev Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu

[PATCH v2 2/2] drm/msm/a690: Fix reg values for a690

2023-11-25 Thread Rob Clark
From: Danylo Piliaiev KGSL doesn't support a690 so all reg values were the same as on a660. Now we know the values and they are different from the windows driver. This fixes hangs on D3D12 games and some CTS tests. Signed-off-by: Danylo Piliaiev Signed-off-by: Rob Clark --- drivers/gpu/drm/m

[PATCH] drm/sched: Fix compilation issues with DRM priority rename

2023-11-25 Thread Luben Tuikov
Fix compilation issues with DRM scheduler priority rename MIN to LOW. Signed-off-by: Luben Tuikov Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202311252109.wgbjsskg-...@intel.com/ Cc: Danilo Krummrich Cc: Frank Binns Cc: Donald Robson Cc: Matt Coster Cc: Dire

Re: drm scheduler redesign causes deadlocks [extended repost]

2023-11-25 Thread Luben Tuikov
On 2023-11-24 04:38, Bert Karwatzki wrote: > Am Mittwoch, dem 22.11.2023 um 18:02 -0500 schrieb Luben Tuikov: >> On 2023-11-21 04:00, Bert Karwatzki wrote: >>> Since linux-next-20231115 my linux system (debian sid on msi alpha 15 >>> laptop) >>> suffers from random deadlocks which can occur after 

Re: [PATCH 10/17] dt-bindings: iio: samsung,exynos-adc: add specific compatibles for existing SoC

2023-11-25 Thread Jonathan Cameron
On Wed, 8 Nov 2023 11:43:36 +0100 Krzysztof Kozlowski wrote: > Samsung Exynos SoC reuses several devices from older designs, thus > historically we kept the old (block's) compatible only. This works fine > and there is no bug here, however guidelines expressed in > Documentation/devicetree/bind

[PATCH 1/2] drm/panfrost: Consider dma-buf imported objects as resident

2023-11-25 Thread Adrián Larumbe
A GEM object constructed from a dma-buf imported sgtable should be regarded as being memory resident, because the dma-buf API mandates backing storage to be allocated when attachment succeeds. Signed-off-by: Adrián Larumbe Fixes: 9ccdac7aa822 ("drm/panfrost: Add fdinfo support for memory stats")

[PATCH 0/2] Panfrost devfreq and GEM status fixes

2023-11-25 Thread Adrián Larumbe
During recent development of the Mali CSF GPU Panthor driver, a user noticed that GPU frequency values as reported by fdinfo were incorrect. This was traced back to incorrect handling of frequency value updates. The same problem was seen in Panfrost. Also one should consider GEM objects from a dma

[PATCH 2/2] drm/panfrost: Fix incorrect updating of current device frequency

2023-11-25 Thread Adrián Larumbe
It was noticed when setting the Panfrost's DVFS device to the performant governor, GPU frequency as reported by fdinfo had dropped to 0 permamently. There are two separate issues causing this behaviour: - Not initialising the device's current_frequency variable to its original value during devic

Re: [PATCH v2 1/2] drm/msm/a6xx: Add missing BIT(7) to REG_A6XX_UCHE_CLIENT_PF

2023-11-25 Thread Konrad Dybcio
On 25.11.2023 20:11, Rob Clark wrote: > From: Danylo Piliaiev > > Downstream always set BIT(7) > > Signed-off-by: Danylo Piliaiev > Signed-off-by: Rob Clark > --- FWIW this was only introduced in: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel/-/commit/70457

Re: [PATCH v2 2/2] drm/msm/a690: Fix reg values for a690

2023-11-25 Thread Konrad Dybcio
On 25.11.2023 20:11, Rob Clark wrote: > From: Danylo Piliaiev > > KGSL doesn't support a690 so all reg values were the same as > on a660. Now we know the values and they are different from the > windows driver. > > This fixes hangs on D3D12 games and some CTS tests. > > Signed-off-by: Danylo Pi

[PATCH] drm/mxsfb: Drop extra space in request_irq args

2023-11-25 Thread Marek Vasut
Drop extra space, no functional change. Signed-off-by: Marek Vasut --- Cc: Daniel Vetter Cc: David Airlie Cc: Fabio Estevam Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: NXP Linux Team Cc: Pengutronix Kernel Team Cc: Sascha Hauer Cc: Shawn Guo Cc: Stefan Agner Cc: Thomas Zimmermann Cc: d

[PATCH] drm/mxsfb: Switch to drmm_mode_config_init

2023-11-25 Thread Marek Vasut
Switch from deprecated unmanaged drm_mode_config_init() to managed drmm_mode_config_init(). No functional change. Signed-off-by: Marek Vasut --- Cc: Daniel Vetter Cc: David Airlie Cc: Fabio Estevam Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: NXP Linux Team Cc: Pengutronix Kernel Team Cc: S

Re: [PATCH V4 2/6] drm/panel: nv3051d: Hold panel in reset for unprepare

2023-11-25 Thread Chris Morgan
On Fri, Nov 17, 2023 at 02:25:32PM -0600, Chris Morgan wrote: > From: Chris Morgan > > Improve the panel's ability to restore from suspend by holding the > panel in suspend after unprepare. Now I have confirmation this does fix a bug for some users, and a somewhat serious bug at that. A user had

[GIT PULL] fbdev fixes and updates for v6.7-rc3

2023-11-25 Thread Helge Deller
Hi Linus, please pull some small fbdev fixes for 6.7-rc3. A left margin fix and code cleanups in imxfb, and one sparse warning fix in fsl-diu-fb. Thanks, Helge --- The following changes since commit ffc253263a1375a65fa6c9f62a893e9767fbebfa: Linux 6.6 (2023-10-29 16:31:08 -1000) are availa