Re: [PATCH] nvidiafb: detect the hardware support before removing console.

2023-02-05 Thread Dave Airlie
On Mon, 6 Feb 2023 at 17:52, Zeno Davatz wrote: > > Dear Dave > > Thank you for your patch. > > On Sun, Feb 5, 2023 at 10:07 PM Dave Airlie wrote: > > > > From: Dave Airlie > > > > This driver removed the console, but hasn't yet decided if it could > > take over the console yet. Instead of doing

Re: [PATCH] firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/

2023-02-05 Thread Mukesh Ojha
On 2/4/2023 2:39 AM, Elliot Berman wrote: Move include/linux/qcom_scm.h to include/linux/firmware/qcom/qcom_scm.h. This removes 1 of a few remaining Qualcomm-specific headers into a more approciate subdirectory under include/. s/approciate/appropriate Suggested-by: Bjorn Andersson Signed

[PATCH 6/8] arm64: dts: qcom: sm8350: finish reordering nodes

2023-02-05 Thread Dmitry Baryshkov
Finish reordering DT nodes. Move PDC, tsens, AOSS, SRAM, SPMI and TLMM nodes to the proper position. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 764 +-- 1 file changed, 382 insertions(+), 382 deletions(-) diff --git a/arch/arm64/boot/dts/q

[PATCH 7/8] arm64: dts: qcom: sm8350: add GPU, GMU, GPU CC and SMMU nodes

2023-02-05 Thread Dmitry Baryshkov
Add device nodes required to enable GPU on the SM8350 platform. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 179 +++ 1 file changed, 179 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi

[PATCH 8/8] arm64: dts: qcom: sm8350-hdk: enable GPU

2023-02-05 Thread Dmitry Baryshkov
Enable the GPU on the SM8350-HDK device. The ZAP shader is required for the GPU to function properly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot

[PATCH 3/8] dt-bindings: display/msm/gmu: add Adreno 660 support

2023-02-05 Thread Dmitry Baryshkov
Add Adreno A660 to the A635 clause to define all version-specific properties. There is no need to add it to the top-level clause, since top-level compatible uses pattern to define compatible strings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/display/msm/gmu.yaml | 1 +

[PATCH 5/8] arm64: dts: qcom: sm8350: move more nodes to correct place

2023-02-05 Thread Dmitry Baryshkov
Continue ordering DT nodes. Move RNG, UFS, system NoC and SLPI nodes to the proper position. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 314 +-- 1 file changed, 157 insertions(+), 157 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm83

[PATCH 4/8] arm64: dts: qcom: sm8350: reorder device nodes

2023-02-05 Thread Dmitry Baryshkov
Start ordering DT nodes according to agreed order. Move apps SMMU, GIC, timer, apps RSC, cpufreq ADSP and cDSP nodes to the end to the proper position at the end of /soc/. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 1228 +- 1 file changed,

[PATCH 2/8] arm64: dts: qcom: sm8450: add RPMH_REGULATOR_LEVEL_LOW_SVS_L1

2023-02-05 Thread Dmitry Baryshkov
Add another power saving state used on SM8350. Signed-off-by: Dmitry Baryshkov --- include/dt-bindings/power/qcom-rpmpd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 4a30d10e6b7d..1bf8e87ecd7e 100644 -

[PATCH 2/8] arm64: dts: qcom: sm8350: add RPMH_REGULATOR_LEVEL_LOW_SVS_L1

2023-02-05 Thread Dmitry Baryshkov
Add another power saving state used on SM8350. Signed-off-by: Dmitry Baryshkov --- include/dt-bindings/power/qcom-rpmpd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 4a30d10e6b7d..1bf8e87ecd7e 100644 -

[PATCH 1/8] dt-bindings: clock: Merge qcom, gpucc-sm8350 into qcom, gpucc.yaml

2023-02-05 Thread Dmitry Baryshkov
The GPU clock controller bindings for the Qualcomm sm8350 platform are not correct. The driver uses .fw_name instead of using indices to bind parent clocks, thus demanding the clock-names usage. With the proper clock-names in place, the bindings becomes equal to the bindings defined by qcom,gpucc.y

[PATCH 0/8] arm64: dts: qcom: sm8350: enable GPU on the HDK board

2023-02-05 Thread Dmitry Baryshkov
Add A660 device to the Qualcomm SM8350 platform and enable it for the sm8350-hdk board. Unfortunately while adding the GPU & related devices I noticed that DT nodes on SM8350 are greatly out of the preagreed order, so patches 4-6 reorder DT nodes to follow the agreement. Dmitry Baryshkov (8): dt

Re: remove arch/sh

2023-02-05 Thread John Paul Adrian Glaubitz
Hi Stephen! On Mon, 2023-02-06 at 10:08 +1100, Stephen Rothwell wrote: > Hi, > > On Fri, 3 Feb 2023 09:30:37 +0100 Christoph Hellwig wrote: > > > > On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz wrote: > > > Since this is my very first time stepping up as a kernel maintaine

Re: remove arch/sh

2023-02-05 Thread Stephen Rothwell
Hi, On Fri, 3 Feb 2023 09:30:37 +0100 Christoph Hellwig wrote: > > On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz wrote: > > Since this is my very first time stepping up as a kernel maintainer, I was > > hoping > > to get some pointers on what to do to make this happen. > >

[drm-misc:drm-misc-next 8/15] drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2316:8: warning: variable 'possible_crtcs' is used uninitialized whenever 'if' condition is false

2023-02-05 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 8ee3b0e85f6ccd9e6c527bc50eaba774c3bb18d0 commit: 368419a2d429e2438bef333959732c640310bdc7 [8/15] drm/rockchip: vop2: initialize possible_crtcs properly config: s390-buildonly-randconfig-r002-20230205 (https://download.01

Re: [PATCH v11 1/9] device property: Add remote endpoint to devcon matcher

2023-02-05 Thread Sakari Ailus
Hi Pin-yen, On Sat, Feb 04, 2023 at 09:30:32PM +0800, Pin-yen Lin wrote: > From: Prashant Malani > > When searching the device graph for device matches, check the > remote-endpoint itself for a match. > > Some drivers register devices for individual endpoints. This allows > the matcher code to

[PATCH] nvidiafb: detect the hardware support before removing console.

2023-02-05 Thread Dave Airlie
From: Dave Airlie This driver removed the console, but hasn't yet decided if it could take over the console yet. Instead of doing that, probe the hw for support and then remove the console afterwards. Signed-off-by: Dave Airlie Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=216859 Reported-

Re: [PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-05 Thread Dave Airlie
On Sat, 4 Feb 2023 at 09:09, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. > > Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting devices > on PCI bus") caused a console hang. The machine was actually still usable >

Re: [PATCH v1 RFC] video/hdmi: Fix HDMI_VENDOR_INFOFRAME_SIZE

2023-02-05 Thread Martin Blumenstingl
Hello Jani, Hello Ville, On Tue, Jan 10, 2023 at 7:20 PM Jani Nikula wrote: [...] > > I'm not an expert on this topic and I'm not sure if the size still > > depends on that if condition from long time ago. So please share your > > thoughts. > > I tried to look at this quickly, but it makes my bra

Re: [GIT PULL] fbdev fixes for v6.2-rc7

2023-02-05 Thread pr-tracker-bot
The pull request you sent on Sun, 5 Feb 2023 10:44:23 +0100: > http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git > tags/fbdev-for-6.2-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/870c3a9a2bc48bea0f954172aaff7ed489acaf64 Thank you! -- Deet-

[PATCH v2] drm: add kms driver for loongson display controller

2023-02-05 Thread suijingfeng
From: suijingfeng Loongson display controller IP has been integrated in both Loongson North Bridge chipset(ls7a1000 and ls7a2000) and Loongson SoCs(ls2k1000 and ls2k2000 etc), it even been included in Loongson BMC products. The display controller is a PCI device, it has two display pipe. For the

Re: [PATCH] drm/rockchip: avoid duplicate mappings for IOMMU devices

2023-02-05 Thread Heiko Stuebner
On Thu, 10 Nov 2022 17:24:14 +, John Keeping wrote: > If a buffer is allocated with alloc_kmap, then it is vmap'd on creation > and there is no reason to map it again in rockchip_gem_prime_vmap() when > the existing mapping can be used. > > Applied, thanks! [1/1] drm/rockchip: avoid duplica

Re: (subset) [PATCH v3 0/6] drm/rockchip: vop2: add support for the rgb output block

2023-02-05 Thread Heiko Stuebner
On Tue, 24 Jan 2023 06:47:00 +0100, Michael Riesch wrote: > This series adds support for the RGB output block that can be found in the > Rockchip Video Output Processor (VOP) 2. Version 2 of this series > incorporates the feedback by Dan Carpenter and Sascha Hauer. Version 3 > fixes a dumb mistake

Re: [PATCH] drm/rockchip: Drop unbalanced obj unref

2023-02-05 Thread Heiko Stuebner
On Thu, 19 Jan 2023 15:17:34 -0800, Rob Clark wrote: > From: Rob Clark > > In the error path, rockchip_drm_gem_object_mmap() is dropping an obj > reference that it doesn't own. > > Applied, thanks! [1/1] drm/rockchip: Drop unbalanced obj unref commit: 8ee3b0e85f6ccd9e6c527bc50eaba774c3b

Re: [PATCH] drm/rockchip: vop: Quiet always-warning AFBC log

2023-02-05 Thread Heiko Stuebner
On Mon, 31 Oct 2022 10:16:01 -0700, Brian Norris wrote: > The downstream code from which this was derived didn't ever run through > this 'switch' block with non-AFBC formats, but the upstream code does -- > we use this function to probe whether a given format is supported. > > Demote the warning t

Re: [PATCH v7 3/6] drm/tidss: Add support for AM625 DSS

2023-02-05 Thread Aradhya Bhatia
On 03-Feb-23 21:03, Tomi Valkeinen wrote: > On 25/01/2023 13:35, Aradhya Bhatia wrote: >> Add support for the DSS controller on TI's new AM625 SoC in the tidss >> driver. >> >> The first video port (VP0) in am625-dss can output OLDI signals through >> 2 OLDI TXes. A 3rd output port has been adde

Re: [PATCH AUTOSEL 5.15 12/12] amdgpu: fix build on non-DCN platforms.

2023-02-05 Thread Sasha Levin
On Tue, Jan 31, 2023 at 03:29:04PM -0500, Alex Deucher wrote: On Tue, Jan 31, 2023 at 10:01 AM Sasha Levin wrote: From: Dave Airlie [ Upstream commit f439a959dcfb6b39d6fd4b85ca1110a1d1de1587 ] This fixes the build here locally on my 32-bit arm build. Signed-off-by: Dave Airlie Signed-off-

Re: [PATCH v6 01/17] dt-bindings: display: rockchip: convert rockchip-lvds.txt to YAML

2023-02-05 Thread Heiko Stübner
Hi, Am Freitag, 3. Februar 2023, 20:02:54 CET schrieb Johan Jonker: > > On 2/3/23 19:21, Rob Herring wrote: > > On Thu, Dec 22, 2022 at 03:22:14PM +0100, Johan Jonker wrote: > >> Convert rockchip-lvds.txt to YAML. > >> > >> Changed: > >> Add power-domains property. > >> Requirements between P

Re: (subset) [PATCH v6 01/17] dt-bindings: display: rockchip: convert rockchip-lvds.txt to YAML

2023-02-05 Thread Heiko Stuebner
On Thu, 22 Dec 2022 15:22:14 +0100, Johan Jonker wrote: > Convert rockchip-lvds.txt to YAML. > > Changed: > Add power-domains property. > Requirements between PX30 and RK3288 > > > [...] Applied, thanks! [01/17] dt-bindings: display: rockchip: convert rockchip-lvds.txt to YAML comm

Re: [PATCH v7 5/6] drm/tidss: Add IO CTRL and Power support for OLDI TX in am625

2023-02-05 Thread Aradhya Bhatia
On 03-Feb-23 20:49, Tomi Valkeinen wrote: > On 25/01/2023 13:35, Aradhya Bhatia wrote: >> The ctrl mmr module of the AM625 is different from the AM65X SoC. Thus >> the ctrl mmr registers that supported the OLDI TX power have become >> different in AM625 SoC. >> >> The common mode voltage of the

Re: [PATCH v7 4/6] drm/tidss: Add support to configure OLDI mode for am625-dss

2023-02-05 Thread Aradhya Bhatia
Hi Tomi, On 03-Feb-23 20:42, Tomi Valkeinen wrote: > On 25/01/2023 13:35, Aradhya Bhatia wrote: >> The newer version of DSS (AM625-DSS) has 2 OLDI TXes at its disposal. >> These can be configured to support the following modes: >> >> 1. OLDI_SINGLE_LINK_SINGLE_MODE >> Single Output over OLDI 0. >>

Re: [PATCH v7 1/6] drm/tidss: Remove Video Port to Output Port coupling

2023-02-05 Thread Aradhya Bhatia
Hi Tomi, Thanks for the review! On 03-Feb-23 16:53, Tomi Valkeinen wrote: > On 25/01/2023 13:35, Aradhya Bhatia wrote: >> Make DSS Video Ports agnostic of output bus types. >> >> DSS controllers have had a 1-to-1 coupling between its VPs and its >> output ports. This no longer stands true for the

[PATCH] drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()

2023-02-05 Thread Asahi Lina
Other functions touching shmem->sgt take the pages lock, so do that here too. drm_gem_shmem_get_pages() & co take the same lock, so move to the _locked() variants to avoid recursive locking. Discovered while auditing locking to write the Rust abstractions. Fixes: 2194a63a818d ("drm: Add library f

[GIT PULL] fbdev fixes for v6.2-rc7

2023-02-05 Thread Helge Deller
Hi Linus, please pull the latest fbdev fixes for 6.2-rc7, which - fix fbcon to prevent fonts bigger than 32x32 pixels to avoid overflows reported by syzbot, - switch omapfb to use kstrtobool(), and - switch some fbdev drivers to use the backlight helpers Thanks, Helge --- The following ch