[PATCH RFC v5 0/7] Add FS035VG158 panel

2023-12-09 Thread John Watts
Hello there, This RFC introduces support for the FS035VG158 LCD panel, cleaning up the nv3052c driver on the way and documentating existing panel code. This revision is mostly a resend and ask for more feedback. I have tested that it works on next-20231208. John. v4 -> v5: - Add Reviewed-By

[PATCH RFC v5 2/7] drm/panel: nv3052c: Add SPI device IDs

2023-12-09 Thread John Watts
SPI drivers needs their own list of compatible device IDs in order for automatic module loading to work. Add those for this driver. Signed-off-by: John Watts Reviewed-by: Jessica Zhang Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 7 +++ 1 file changed,

[PATCH RFC v5 6/7] dt-bindings: vendor-prefixes: Add fascontek

2023-12-09 Thread John Watts
Fascontek manufactures LCD panels such as the FS035VG158. Signed-off-by: John Watts Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH RFC v5 1/7] drm/panel: nv3052c: Document known register names

2023-12-09 Thread John Watts
Many of these registers have a known name in the public datasheet. Document them as comments for reference. Signed-off-by: John Watts Reviewed-by: Jessica Zhang Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 261 1 file changed, 132

[PATCH RFC v5 7/7] dt-bindings: display: panel: add Fascontek FS035VG158 panel

2023-12-09 Thread John Watts
This is a small 3.5" 640x480 IPS LCD panel. Signed-off-by: John Watts Reviewed-by: Rob Herring --- .../display/panel/fascontek,fs035vg158.yaml| 56 ++ 1 file changed, 56 insertions(+) diff --git

[PATCH RFC v5 5/7] dt-bindings: display: panel: Clean up leadtek,ltk035c5444t properties

2023-12-09 Thread John Watts
Remove common properties listed in common yaml files. Add required properties needed to describe the panel. Signed-off-by: John Watts Reviewed-by: Rob Herring --- .../devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)

[PATCH RFC v5 3/7] drm/panel: nv3052c: Allow specifying registers per panel

2023-12-09 Thread John Watts
Panel initialization registers are per-display and not tied to the controller itself. Different panels will specify their own registers. Attach the sequences to the panel info struct so future panels can specify their own sequences. Signed-off-by: John Watts Reviewed-by: Jessica Zhang ---

[PATCH RFC v5 4/7] drm/panel: nv3052c: Add Fascontek FS035VG158 LCD display

2023-12-09 Thread John Watts
This display is extremely similar to the LTK035C5444T, but still has some minor variations in panel initialization. Signed-off-by: John Watts Reviewed-by: Jessica Zhang Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 223 1 file

Re: Fwd: Kernel 6.6.1 hangs on "loading initial ramdisk"

2023-12-09 Thread Bagas Sanjaya
On Wed, Nov 22, 2023 at 07:06:50AM +0700, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on Bugzilla [1]. Quoting from it: > > > After upgrading from 6.5.9 to 6.6.1 on my Dell Latitude E6420 (Intel > > i5-2520M) with EndeavourOS, the boot process would hang at "loading initial > >

Re: [PATCH v3 00/14] drm: Add a driver for CSF-based Mali GPUs

2023-12-09 Thread Tatsuyuki Ishi
> On Dec 5, 2023, at 2:32, Boris Brezillon > wrote: > > Hello, > > This is the 3rd version of the kernel driver for Mali CSF-based GPUs. > > With all the DRM dependencies being merged (drm-sched single entity and > drm_gpuvm), I thought now was a good time to post a new version. Note > that

Re: [PATCH v6 1/4] pwm: rename pwm_apply_state() to pwm_apply_might_sleep()

2023-12-09 Thread Dmitry Torokhov
On Wed, Nov 29, 2023 at 09:13:34AM +, Sean Young wrote: > drivers/input/misc/da7280.c | 4 +-- > drivers/input/misc/pwm-beeper.c | 4 +-- > drivers/input/misc/pwm-vibra.c| 8 +++--- Acked-by: Dmitry Torokhov # for input Thanks. -- Dmitry

Re: [net-next v1 01/16] net: page_pool: factor out releasing DMA from releasing the page

2023-12-09 Thread Shakeel Butt
On Thu, Dec 07, 2023 at 04:52:32PM -0800, Mina Almasry wrote: > From: Jakub Kicinski > > Releasing the DMA mapping will be useful for other types > of pages, so factor it out. Make sure compiler inlines it, > to avoid any regressions. > > Signed-off-by: Jakub Kicinski > Signed-off-by: Mina

Re: [net-next v1 00/16] Device Memory TCP

2023-12-09 Thread Shakeel Butt
On Thu, Dec 07, 2023 at 04:52:31PM -0800, Mina Almasry wrote: [...] > > Today, the majority of the Device-to-Device data transfers the network are 'the network' in above can be removed. > implemented as the following low level operations: Device-to-Host copy, > Host-to-Host network transfer,

Re: [net-next v1 08/16] memory-provider: dmabuf devmem memory provider

2023-12-09 Thread Pavel Begunkov
On 12/8/23 23:25, Mina Almasry wrote: On Fri, Dec 8, 2023 at 2:56 PM Pavel Begunkov wrote: On 12/8/23 00:52, Mina Almasry wrote: ... + if (pool->p.queue) + binding = READ_ONCE(pool->p.queue->binding); + + if (binding) { + pool->mp_ops = _devmem_ops; +

Re: [PATCH] drm/scheduler: Unwrap job dependencies

2023-12-09 Thread Luben Tuikov
Hi, On 2023-12-05 14:02, Rob Clark wrote: > From: Rob Clark > > Container fences have burner contexts, which makes the trick to store at > most one fence per context somewhat useless if we don't unwrap array or > chain fences. > > Signed-off-by: Rob Clark Link:

Re: [PATCH 2/3] dt-bindings: display: st7701: Add Anbernic RG-ARC panel

2023-12-09 Thread Linus Walleij
On Fri, Dec 8, 2023 at 4:48 PM Chris Morgan wrote: > From: Chris Morgan > > The RG-ARC panel is a panel specific to the Anbernic RG-ARC. It is 4 > inches in size (diagonally) with a resolution of 480x640. > > Signed-off-by: Chris Morgan Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [net-next v1 06/16] netdev: support binding dma-buf to netdevice

2023-12-09 Thread David Ahern
On 12/8/23 12:22 PM, Mina Almasry wrote: > On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote: >> >> On 12/7/23 5:52 PM, Mina Almasry wrote: > ... >>> + >>> + xa_for_each(>bound_rxq_list, xa_idx, rxq) { >>> + if (rxq->binding == binding) { >>> + /* We hold the

[PATCH 2/9] arm64: dts: qcom: sm8150: use SoC-specific compat for RPMh stats

2023-12-09 Thread Dmitry Baryshkov
The SM8150 platform doesn't support DDR sleep stats, so it needs SoC-specific compat string for the RPMh stats data. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi

[PATCH 9/9] arm64: dts: qcom: sm8150-hdk: enable DisplayPort and USB-C altmode

2023-12-09 Thread Dmitry Baryshkov
Enable the USB-C related functionality for the USB-C port on this board. This includes OTG, PowerDelivery and DP AltMode. Also enable the DisplayPort itself. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 124 +++- 1 file changed, 123

[PATCH 8/9] arm64: dts: qcom: sm8150: add USB-C ports to the OTG USB host

2023-12-09 Thread Dmitry Baryshkov
Expand first USB host controller device node with the OF ports required to support USB-C / DisplayPort switching. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git

[PATCH 7/9] arm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY

2023-12-09 Thread Dmitry Baryshkov
Expand Combo USB+DP QMP PHY device node with the OF ports required to support USB-C / DisplayPort switching. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi

[PATCH 4/9] arm64: dts: qcom: sm8150-hdk: enable HDMI output

2023-12-09 Thread Dmitry Baryshkov
Add DSI outputs and link them to the onboard Lontium LT9611 DSI-to-HDMI bridge, enabling HDMI output on this board. While adding the display resources, also drop the headless ("amd,imageon") compat string from the GPU node, since the board now has output. Signed-off-by: Dmitry Baryshkov ---

[PATCH 6/9] arm64: dts: qcom: sm8150: add DisplayPort controller

2023-12-09 Thread Dmitry Baryshkov
Add device tree node for the DisplayPort controller and link it to the display controller interface. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 87 1 file changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi

[PATCH 5/9] arm64: dts: qcom: sm8150-hdk: fix SS USB regulators

2023-12-09 Thread Dmitry Baryshkov
The SM8150-HDK uses two different regulators to power up SuperSpeed USB PHYs. The L5A regulator is used for the second USB host, while the first (OTG) USB host uses different regulator, L18A. Fix the regulator for the usb_1 QMPPHY and (to remove possible confusion) drop the usb_ss_dp_core_1/_2

[PATCH 3/9] arm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCX

2023-12-09 Thread Dmitry Baryshkov
Add required-opps property to the display clock controller. This makes it cast minimal vote on the MMCX lane and prevents further 'clock stuck' errors when enabling the display. Fixes: 2ef3bb17c45c ("arm64: dts: qcom: sm8150: Add DISPCC node") Signed-off-by: Dmitry Baryshkov ---

[PATCH 1/9] dt-bindings: display: msm: dp: declare compatible string for sm8150

2023-12-09 Thread Dmitry Baryshkov
Add compatible string for the DisplayPort controller found on the Qualcomm SM8150 platform. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/9] arm64: dts: qcom: sm8150-hdk: enable display output

2023-12-09 Thread Dmitry Baryshkov
Enable display output on the SM8150 HDK device. This includes HDMI output through the onboard DSI-HDMI bridge and DP output on the USB-C port. Dmitry Baryshkov (9): dt-bindings: display: msm: dp: declare compatible string for sm8150 arm64: dts: qcom: sm8150: use SoC-specific compat for RPMh

[PATCH][next] drm/i915/selftests: Fix spelling mistake "initialiased" -> "initialised"

2023-12-09 Thread Colin Ian King
There is a spelling mistake in a pr_err error message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c

[PATCH][next] drm/gma500: Fix spelling mistake "patter" -> "pattern"

2023-12-09 Thread Colin Ian King
There is a spelling mistake in a DRM_DEBUG_KMS message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c index

Re: [PATCH 3/3] drm/amd/display: Support DRM_AMD_DC_FP on RISC-V

2023-12-09 Thread Arnd Bergmann
On Sat, Dec 9, 2023, at 22:29, Samuel Holland wrote: > On 2023-12-09 2:38 PM, Arnd Bergmann wrote: >> On Fri, Dec 8, 2023, at 06:04, Samuel Holland wrote: >>> On 2023-11-29 6:42 PM, Nathan Chancellor wrote: https://lore.kernel.org/20231019205117.GA839902@dev-arch.thelio-3990X/ >>> >>> I

Re: [PATCH 3/3] drm/amd/display: Support DRM_AMD_DC_FP on RISC-V

2023-12-09 Thread Arnd Bergmann
On Fri, Dec 8, 2023, at 06:04, Samuel Holland wrote: > On 2023-11-29 6:42 PM, Nathan Chancellor wrote: >> On Thu, Nov 23, 2023 at 02:23:01PM +, Conor Dooley wrote: >>> On Tue, Nov 21, 2023 at 07:05:15PM -0800, Samuel Holland wrote: RISC-V uses kernel_fpu_begin()/kernel_fpu_end() like

Re: [PATCH v3] drm/bridge: ti-sn65dsi86: Associate PWM device to auxiliary device

2023-12-09 Thread Nikita Travkin
Uwe Kleine-König писал(а) 09.12.2023 20:31: > It's the ti_sn65dsi86.pwm auxiliary driver that creates the pwmchip, so > let the auxiliary device be the parent of the pwm device. > > Note that getting a reference to the ti-sn65dsi86's pwm using pwm_get() > isn't affected by this change as

[PATCH v3] drm/bridge: ti-sn65dsi86: Associate PWM device to auxiliary device

2023-12-09 Thread Uwe Kleine-König
It's the ti_sn65dsi86.pwm auxiliary driver that creates the pwmchip, so let the auxiliary device be the parent of the pwm device. Note that getting a reference to the ti-sn65dsi86's pwm using pwm_get() isn't affected by this change as ti_sn65dsi86_add_aux_device() sets the auxiliary device's

[PATCH v2] drm/bridge: ti-sn65dsi86: Associate PWM device to auxiliary device

2023-12-09 Thread Uwe Kleine-König
It's the ti_sn65dsi86.pwm auxiliary driver that creates the pwmchip, so let the auxiliary device be the parent of the pwm device. Note that getting a reference to the ti-sn65dsi86's pwm using pwm_get() isn't affected by this change as ti_sn65dsi86_add_aux_device() sets the auxiliary device's

Re: [PATCH v4 15/17] dt-bindings: iommu: rockchip: Add Rockchip RK3588

2023-12-09 Thread Heiko Stübner
Hi Andy, Am Samstag, 9. Dezember 2023, 02:26:25 CET schrieb Andy Yan: > Hi Heiko: > > On 12/9/23 00:29, Heiko Stübner wrote: > > Am Donnerstag, 7. Dezember 2023, 09:02:35 CET schrieb Andy Yan: > >> From: Andy Yan > >> > >> Add a Rockchip RK3588 compatible > >> > >> Signed-off-by: Andy Yan > >

Re: [PATCH v6 1/4] pwm: rename pwm_apply_state() to pwm_apply_might_sleep()

2023-12-09 Thread Uwe Kleine-König
On Wed, Nov 29, 2023 at 09:13:34AM +, Sean Young wrote: > In order to introduce a pwm api which can be used from atomic context, > we will need two functions for applying pwm changes: > > int pwm_apply_might_sleep(struct pwm *, struct pwm_state *); > int pwm_apply_atomic(struct

Re: [PATCH 1/1] Revert "drm/edid: Fix csync detailed mode parsing"

2023-12-09 Thread Greg KH
On Wed, Dec 06, 2023 at 11:49:46AM +0300, kova...@altlinux.org wrote: > From: Vasiliy Kovalev > > This reverts commit 5a46dc8e4a064769e916d87bf9bccae75afc7289. > > Commit 50b6f2c8297793f7f3315623db78dcff85158e96 upstream. > > Commit 5a46dc8e4a0647 ("drm/edid: Fix csync detailed mode parsing")

Re: [PATCH 2/3] dt-bindings: display: st7701: Add Anbernic RG-ARC panel

2023-12-09 Thread Krzysztof Kozlowski
On 08/12/2023 16:48, Chris Morgan wrote: > From: Chris Morgan > > The RG-ARC panel is a panel specific to the Anbernic RG-ARC. It is 4 > inches in size (diagonally) with a resolution of 480x640. > > Signed-off-by: Chris Morgan > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof