Re: [PATCH v3 1/6] drm/ci: uprev mesa version

2024-05-28 Thread Dmitry Baryshkov
On Wed, May 29, 2024 at 08:10:44AM +0530, Vignesh Raman wrote: > zlib.net is not allowing tarball download anymore and results > in below error in kernel+rootfs_arm32 container build, > urllib.error.HTTPError: HTTP Error 403: Forbidden > urllib.error.HTTPError: HTTP Error 415: Unsupported Media Typ

[PATCH v2 1/1] drm/bridge: imx93-mipi-dsi: Use dev_err_probe

2024-05-28 Thread Alexander Stein
Although very unlike to occur (media_blk_ctrl needs 'syscon' compatible removed), it lines up with the other error paths in probe function. Signed-off-by: Alexander Stein --- Changes in v2: * Removed unused variable * Added missing \n at end of string drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c

Re: [PATCH] drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2

2024-05-28 Thread Wolfram Sang
Hi Alex, On Thu, May 09, 2024 at 01:15:32PM -0400, Alex Deucher wrote: > On Thu, May 9, 2024 at 8:02 AM Heiner Kallweit wrote: > > > > Support for I2C_CLASS_SPD is currently being removed from the kernel. > > Only remaining step is to remove the definition of I2C_CLASS_SPD. > > Setting I2C_CLASS

[Bug 218900] amdgpu: Fatal error during GPU init

2024-05-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218900 --- Comment #6 from Vasant Hegde (vasant.he...@amd.com) --- Hi, Attached patch should fix this issue. Can you please test it? I will send proper patch to mailing list soon. -Vasant -- You may reply to this email to add a comment. You are rec

Re: [PATCH v6 3/6] drm/display: Add missing aux less alpm wake related bits

2024-05-28 Thread Nautiyal, Ankit K
On 5/27/2024 1:56 PM, Animesh Manna wrote: From: Jouni Högander eDP1.5 adds some more bits into DP_RECEIVER_ALPM_CAP and DP_RECEIVER_ALPM_CONFIG registers. Add definitions for these. Signed-off-by: Jouni Högander --- include/drm/display/drm_dp.h | 5 - 1 file changed, 4 insertions(+)

[Bug 218900] amdgpu: Fatal error during GPU init

2024-05-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218900 Vasant Hegde (vasant.he...@amd.com) changed: What|Removed |Added CC||vasant.he...@amd.com

[PATCH 19/20] iommu/vt-d: Remove domain_update_iommu_cap()

2024-05-28 Thread Lu Baolu
The attributes of a paging domain are initialized during the allocation process, and any attempt to attach a domain that is not compatible will result in a failure. Therefore, there is no need to update the domain attributes at the time of domain attachment. Signed-off-by: Lu Baolu --- drivers/i

[PATCH 10/20] media: venus: firmware: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in venus_firmware_init() and is attached to core->fw.dev in the same function. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/media/platform/qcom/venus/firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

[PATCH 20/20] iommu/vt-d: Remove domain_update_iommu_superpage()

2024-05-28 Thread Lu Baolu
The requirement for consistent super page support across all the IOMMU hardware in the system has been removed. In the past, if a new IOMMU was hot-added and lacked consistent super page capability, the hot-add process would be aborted. However, with the updated attachment semantics, it is now perm

[PATCH 16/20] iommu/vt-d: Add domain_alloc_paging support

2024-05-28 Thread Lu Baolu
Move paging domain allocation code out from intel_iommu_domain_alloc(). The intel_iommu_domain_alloc() is still remaining to allocate an identity domain. However, it will soon disappear as we are about to convert the identity domain to a global static one. Signed-off-by: Lu Baolu --- drivers/io

[PATCH 13/20] remoteproc: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in rproc_enable_iommu() and is attached to rproc->dev.parent in the same function. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/remoteproc/remoteproc_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 18/20] iommu/vt-d: Enhance compatibility check for paging domain attach

2024-05-28 Thread Lu Baolu
The driver now supports domain_alloc_paging, ensuring that a valid device pointer is provided whenever a paging domain is allocated. Additionally, the dmar_domain attributes are set up at the time of allocation. Consistent with the established semantics in the IOMMU core, if a domain is attached t

[PATCH 15/20] iommu/vt-d: Add helper to allocate paging domain

2024-05-28 Thread Lu Baolu
The domain_alloc_user operation is currently implemented by allocating a paging domain using iommu_domain_alloc(). This is because it needs to fully initialize the domain before return. Add a helper to do this to avoid using iommu_domain_alloc(). Signed-off-by: Lu Baolu --- drivers/iommu/intel/i

[PATCH 17/20] iommu/vt-d: Simplify compatibility check for identity domain

2024-05-28 Thread Lu Baolu
Currently, the identity domain attachment follows the same path as the paging domain attachment and is subject to the same compatibility checks as a normal paging domain. However, this level of check is unnecessary for the identity domain since it only requires the hardware to support passthrough m

[PATCH 06/20] drm/msm: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
The domain allocated in msm_iommu_new() is for the @dev. Replace iommu_domain_alloc() with iommu_paging_domain_alloc() to make it explicit. Update msm_iommu_new() to always return ERR_PTR in failure cases instead of NULL. Signed-off-by: Lu Baolu --- drivers/gpu/drm/msm/msm_iommu.c | 8

[PATCH 04/20] vhost-vdpa: Use iommu_user_domain_alloc()

2024-05-28 Thread Lu Baolu
Replace iommu_domain_alloc() with iommu_user_domain_alloc(). Signed-off-by: Lu Baolu --- drivers/vhost/vdpa.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 63a53680a85c..7784218fd9d2 100644 --- a/drivers/vhost/vd

[PATCH 11/20] ath10k: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in ath10k_fw_init() and is attached to ar_snoc->fw.dev in the same function. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/net/wireless/ath/ath10k/snoc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --gi

[PATCH 14/20] soc/fsl/qbman: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in portal_set_cpu() and is attached to pcfg->dev in the same function. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/soc/fsl/qbman/qman_portal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 09/20] media: nvidia: tegra: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in tegra_vde_iommu_init() and is attached to vde->dev. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/media/platform/nvidia/tegra-vde/iommu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/m

[PATCH 00/20] iommu: Refactoring domain allocation interface

2024-05-28 Thread Lu Baolu
The IOMMU subsystem has undergone some changes, including the removal of iommu_ops from the bus structure. Consequently, the existing domain allocation interface, which relies on a bus type argument, is no longer relevant: struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) This ser

[PATCH 08/20] gpu: host1x: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in host1x_iommu_attach() and is attached to host->dev. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/gpu/host1x/dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/host1x/dev.c b/drive

[PATCH 12/20] wifi: ath11k: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
An iommu domain is allocated in ath11k_ahb_fw_resources_init() and is attached to ab_ahb->fw.dev in the same function. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/net/wireless/ath/ath11k/ahb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

[PATCH 07/20] drm/nouveau/tegra: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
In nvkm_device_tegra_probe_iommu(), a paging domain is allocated for @dev and attached to it on success. Use iommu_paging_domain_alloc() to make it explicit. Signed-off-by: Lu Baolu --- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 05/20] iommu: Add iommu_paging_domain_alloc() interface

2024-05-28 Thread Lu Baolu
Commit <17de3f5fdd35> ("iommu: Retire bus ops") removes iommu ops from bus. The iommu subsystem no longer relies on bus for operations. So the bus parameter in iommu_domain_alloc() is no longer relevant. Add a new interface named iommu_paging_domain_alloc(), which explicitly indicates the allocati

[PATCH 03/20] vfio/type1: Use iommu_paging_domain_alloc()

2024-05-28 Thread Lu Baolu
Replace iommu_domain_alloc() with iommu_user_domain_alloc(). Signed-off-by: Lu Baolu --- drivers/vfio/vfio_iommu_type1.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c index 3a0218171cfa..1d553f7f7c26 1

[PATCH 01/20] iommu: Add iommu_user_domain_alloc() interface

2024-05-28 Thread Lu Baolu
Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has already made use of this callback, other frameworks like vfio/type1 and vDPA still use the paging domain allocation interface. Add a new in

[PATCH 02/20] iommufd: Use iommu_user_domain_alloc()

2024-05-28 Thread Lu Baolu
Replace iommu_domain_alloc() with iommu_user_domain_alloc(). Signed-off-by: Lu Baolu --- drivers/iommu/iommufd/hw_pagetable.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/iommu/iommufd/hw_pagetable.c b/drivers/iommu/iommufd/hw_pagetable.c ind

[drm-misc:drm-misc-next 11/29] ERROR: modpost: "drm_hdmi_compute_mode_clock" [drivers/gpu/drm/display/drm_display_helper.ko] undefined!

2024-05-28 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 336dca397dcefc5d7436be1fee3c814ed6512996 commit: f035f4097f1e0a35a457b72427bb0c06ca0c81c4 [11/29] drm/connector: hdmi: Calculate TMDS character rate config: x86_64-randconfig-122-20240529 (https://download.01.org/0day-ci/arc

[drm-misc:drm-misc-next 16/29] ERROR: modpost: "drm_hdmi_compute_mode_clock" [drivers/gpu/drm/tests/drm_hdmi_state_helper_test.ko] undefined!

2024-05-28 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 336dca397dcefc5d7436be1fee3c814ed6512996 commit: 945f516ed3468bef72f0da7c84a64a95c0ad28eb [16/29] drm/tests: Add HDMI connector bpc and format tests config: i386-randconfig-002-20240529 (https://download.01.org/0day-ci/archi

Re: [PATCH net-next v9 11/14] tcp: RX path for devmem TCP

2024-05-28 Thread Pavel Begunkov
On 5/28/24 18:36, Mina Almasry wrote: On Wed, May 22, 2024 at 11:02 PM David Wei wrote: ... + */ + if (!skb_frag_net_iov(frag)) { + net_err_ratelimited("Found non-dmabuf skb with net_iov"); + err

[PATCH v3 6/6] drm/ci: update xfails for the new testlist

2024-05-28 Thread Vignesh Raman
Now the testlist is used from IGT build, so update xfails with the new testlist. Set the timeout of all i915 jobs to 1h30m since some jobs takes more than 1 hour to complete. Reviewed-by: Dmitry Baryshkov Signed-off-by: Vignesh Raman --- v2: - Set the timeout of all i915 jobs to 1h30m and up

[PATCH v3 5/6] drm/ci: skip driver specific tests

2024-05-28 Thread Vignesh Raman
Skip driver specific tests and skip kms tests for panfrost driver since it is not a kms driver. Reviewed-by: Dmitry Baryshkov Signed-off-by: Vignesh Raman --- v2: - Skip xe tests for amdgpu and virtio. v3: - No changes. --- .../gpu/drm/ci/xfails/amdgpu-stoney-skips.txt | 15 +++

[PATCH v3 4/6] drm/ci: uprev IGT

2024-05-28 Thread Vignesh Raman
test-list.txt and test-list-full.txt are not generated for cross-builds and they are required by drm-ci for testing arm32 targets. This is fixed in igt-gpu-tools. So uprev IGT to include the commit which fixes this issue. Also disable building xe driver tests for non-intel platforms. Reviewed-by:

[PATCH v3 3/6] drm/ci: generate testlist from build

2024-05-28 Thread Vignesh Raman
Stop vendoring the testlist into the kernel. Instead, use the testlist from the IGT build to ensure we do not miss renamed or newly added tests. Signed-off-by: Vignesh Raman --- v2: - Fix testlist generation for arm and arm64 builds. v3: - Rename generated testlist file to ci-testlist. ---

[PATCH v3 1/6] drm/ci: uprev mesa version

2024-05-28 Thread Vignesh Raman
zlib.net is not allowing tarball download anymore and results in below error in kernel+rootfs_arm32 container build, urllib.error.HTTPError: HTTP Error 403: Forbidden urllib.error.HTTPError: HTTP Error 415: Unsupported Media Type Uprev mesa to latest version which includes a fix for this issue. ht

[PATCH v3 2/6] drm/ci: add farm variable

2024-05-28 Thread Vignesh Raman
Mesa uses structured logs for logging and debug purpose, https://mesa.pages.freedesktop.org/-/mesa/-/jobs/59165650/artifacts/results/job_detail.json Since drm-ci uses the mesa scripts, add the farm variable and update the device type for missing jobs. Signed-off-by: Vignesh Raman --- v3: - Ne

[PATCH v3 0/6] drm/ci: uprev mesa/IGT and generate testlist

2024-05-28 Thread Vignesh Raman
Uprev mesa and IGT to the latest version and stop vendoring the testlist into the kernel. Instead, use the testlist from the IGT build to ensure we do not miss renamed or newly added tests. Update the xfails with the latest testlist run. Add farm variable and update device type variable. https://

linux-next: build failure after merge of the drm-misc tree

2024-05-28 Thread Stephen Rothwell
drm_hdmi_compute_mode_clock cc1: some warnings being treated as errors Caused by commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") I have used the drm-misc tree from next-20240528 for today. -- Cheers, Stephen Rothwell pgpR8maU6RPJP.pgp Description: OpenPGP digital signature

linux-next: build failure after merge of the drm-misc tree

2024-05-28 Thread Stephen Rothwell
7;v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~ Caused by commit 3cbcbe016c31 ("drm/v3d: Add

Re: [PATCH RESEND,v6 8/8] soc: mediatek: mtk-cmdq: Add secure cmdq_pkt APIs

2024-05-28 Thread 胡俊光

Re: [PATCH] drm: renesas: rcar-du: Add drm_panic support for non-vsp

2024-05-28 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Mon, May 27, 2024 at 03:35:49PM +0200, Geert Uytterhoeven wrote: > Add support for the drm_panic module for DU variants not using the > VSP-compositor, to display a message on the screen when a kernel panic > occurs. > > Signed-off-by: Geert Uytterhoeven >

Re: [PATCH] drm: renesas: shmobile: Add drm_panic support

2024-05-28 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Mon, May 27, 2024 at 03:34:48PM +0200, Geert Uytterhoeven wrote: > Add support for the drm_panic module, which displays a message on > the screen when a kernel panic occurs. > > Signed-off-by: Geert Uytterhoeven > --- > Tested on Armadillo-800-EVA. > --- >

Re: [PATCH v2 resend 8/8] fbdev: omapfb: use of_graph_get_remote_port()

2024-05-28 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:59PM +, Kuninori Morimoto wrote: > We already have of_graph_get_remote_port(), Let's use it. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart > --- > drivers/video/fbdev/omap2/omapfb/dss/dss-of.c |

Re: [PATCH v2 resend 7/8] video: fbdev: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:55PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart > ---

Re: [PATCH v2 resend 6/8] staging: media: atmel: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:51PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto > --- > drivers/staging/media/deprecat

Re: [PATCH v2 resend 5/8] media: platform: xilinx: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:46PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto > --- > drivers/media/platform/xilinx/

Re: [PATCH v2 resend 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hello Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:42PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart > -

Re: [PATCH v2 resend 3/8] media: platform: microchip: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hello Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:37PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto > --- > .../microchip/microchip-sam

Re: [PATCH v2 resend 2/8] hwtracing: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:32PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto > Reviewed-by: Suzuki K Poulose > ---

Re: [RFC PATCH 7/8] rust: add firmware abstractions

2024-05-28 Thread FUJITA Tomonori
On Tue, 28 May 2024 14:19:24 +0200 Danilo Krummrich wrote: > On Tue, May 28, 2024 at 08:01:26PM +0900, FUJITA Tomonori wrote: >> On Mon, 27 May 2024 21:22:47 +0200 >> Danilo Krummrich wrote: >> >> >> > +/// Abstraction around a C firmware struct. >> >> > +/// >> >> > +/// This is a simple abstr

Re: [PATCH v2 resend 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-05-28 Thread Laurent Pinchart
Hello Morimoto-san, Thank you for the patch. On Tue, May 28, 2024 at 11:55:26PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart > -

Re: [RFC PATCH 7/8] rust: add firmware abstractions

2024-05-28 Thread FUJITA Tomonori
Hi, On Tue, 28 May 2024 14:45:02 +0200 Greg KH wrote: > On Tue, May 28, 2024 at 02:19:24PM +0200, Danilo Krummrich wrote: >> However, if you have a driver that needs the firmware abstractions, I would >> be >> surprised if there were any hesitations to already merge the minimum device >> abstra

[drm-misc:drm-misc-next 22/29] drm_hdmi_state_helper.c:undefined reference to `drm_hdmi_avi_infoframe_colorimetry'

2024-05-28 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 336dca397dcefc5d7436be1fee3c814ed6512996 commit: f378b77227bc4732922c57f92be89438bb1018a1 [22/29] drm/connector: hdmi: Add Infoframes generation config: arc-randconfig-002-20240529 (https://download.01.org/0day-ci/archive/20

Re: [PATCH v2 resend 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-05-28 Thread Dmitry Baryshkov
On Tue, May 28, 2024 at 11:55:26PM +, Kuninori Morimoto wrote: > We already have for_each_endpoint_of_node(), don't use > of_graph_get_next_endpoint() directly. Replace it. > > Signed-off-by: Kuninori Morimoto > --- > drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- > 1 file changed, 1 insertion(

[PATCH v2 resend 5/8] media: platform: xilinx: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/xilinx/xilinx-vipp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/media/platform/xilinx/xilin

[PATCH v2 resend 8/8] fbdev: omapfb: use of_graph_get_remote_port()

2024-05-28 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev/om

[PATCH v2 resend 7/8] video: fbdev: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/

[PATCH v2 resend 6/8] staging: media: atmel: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 6 +- drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c | 6 +- 2 files cha

[PATCH v2 resend 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/ti/am437x/am437x-vpfe.c | 12 +--- drivers/media/platform/ti/davinci/vpif_capture.c | 12 ++-- 2 files changed,

[PATCH v2 resend 3/8] media: platform: microchip: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- .../microchip/microchip-sama5d2-isc.c | 19 +++ .../microchip/microchip-sama7g5-isc.c | 19 +++ 2 files c

[PATCH v2 resend 2/8] hwtracing: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

[PATCH v2 resend 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers/gp

[PATCH v2 resend 0/8] use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
Hi Rob, Helge This is resend of v2 patch-set We already have for_each_endpoint_of_node(), but some drivers are not using it. This patch-set replace it. This patch-set is related to "OF" (= Rob), but many driveres are for "MultiMedia" (= Helge). I'm not sure who handle these. I will re-post th

[PATCH v2 2/3] dt-bindings: display: panel-simple: drop several eDP panels

2024-05-28 Thread Dmitry Baryshkov
The panel-simple.yaml includes legacy bindings for several eDP panels which were never used in DT files present in Linux tree and most likely have never been used with the upstream kernel. Drop compatibles for these panels in favour of using a generic "edp-panel" device on the AUX bus. Signed-off-

[PATCH v2 3/3] drm/panel-edp: drop several legacy panels

2024-05-28 Thread Dmitry Baryshkov
The panel-edp driver supports legacy compatible strings for several eDP panels which were never used in DT files present in Linux tree and most likely have never been used with the upstream kernel. Drop compatibles for these panels in favour of using a generic "edp-panel" device on the AUX bus. Si

[PATCH v2 0/3] drm/panel-edp: remove several legacy compatibles used by the driver

2024-05-28 Thread Dmitry Baryshkov
There are two ways to describe an eDP panel in device tree. The recommended way is to add a device on the AUX bus, ideally using the edp-panel compatible. The legacy way is to define a top-level platform device for the panel. Document that adding support for eDP panels in a legacy way is strongly

[PATCH v2 1/3] drm/panel-edp: add fat warning against adding new panel compatibles

2024-05-28 Thread Dmitry Baryshkov
Add a fat warning against adding new panel compatibles to the panel-edp driver. All new users of the eDP panels are supposed to use the generic "edp-panel" compatible device on the AUX bus. The remaining compatibles are either used by the existing DT or were used previously and are retained for bac

Re: [PATCH] drm/nouveau: don't attempt to schedule hpd_work on headless cards

2024-05-28 Thread Ben Skeggs
On 29/5/24 07:52, Vasily Khoruzhick wrote: If the card doesn't have display hardware, hpd_work and hpd_lock are left uninitialized which causes BUG when attempting to schedule hpd_work on runtime PM resume. Hi, Good catch, thank you for looking at this.  A couple of initial comments below:

Re: [PATCH v5 2/6] drm/msm/dpu: adjust data width for widen bus case

2024-05-28 Thread Jessica Zhang
On 5/27/2024 7:21 AM, Jun Nie wrote: data is valid for only half the active window if widebus is enabled Signed-off-by: Jun Nie Hi Jun, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 9 + 1 file changed, 9 insertions(+)

[PATCH v2] drm/i915/guc: Enable w/a 16021333562 for DG2, MTL and ARL

2024-05-28 Thread John . C . Harrison
From: John Harrison Enable another workaround that is implemented inside the GuC. v2: Use the correct Gen12 w/a id rather than the Xe version (review feedback from Matthew R) also extend to include ARL. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 1 + dri

Re: [PATCH v5 3/6] drm/msm/dpu: enable compression bit in cfg2 for DSC

2024-05-28 Thread Jessica Zhang
On 5/27/2024 7:21 AM, Jun Nie wrote: Enable compression bit in cfg2 register for DSC in the DSI case Signed-off-by: Jun Nie --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c b/drivers/gpu/dr

Re: [PATCH] drm/i915/guc: Enable w/a 14019882105 for DG2 and MTL

2024-05-28 Thread John Harrison
On 5/28/2024 13:21, Matt Roper wrote: On Fri, May 24, 2024 at 06:41:20PM -0700, john.c.harri...@intel.com wrote: From: John Harrison Enable another workaround that is implemented inside the GuC. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 1 + drivers

Re: [PATCH v5 6/6] drm/msm/dsi: add a comment to explain pkt_per_line encoding

2024-05-28 Thread Jessica Zhang
On 5/27/2024 7:21 AM, Jun Nie wrote: From: Jonathan Marek Make it clear why the pkt_per_line value is being "divided by 2". Signed-off-by: Jonathan Marek Reviewed-by: Dmitry Baryshkov Signed-off-by: Jun Nie Hi Jun, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang --- drivers/gp

Re: [PATCH v5 5/6] drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC

2024-05-28 Thread Jessica Zhang
On 5/27/2024 7:21 AM, Jun Nie wrote: From: Jonathan Marek Video mode DSC won't work if this field is not set correctly. Set it to fix video mode DSC (for slice_per_pkt==1 cases at least). Fixes: 08802f515c3c ("drm/msm/dsi: Add support for DSC configuration") Signed-off-by: Jonathan Marek R

[PATCH] drm/nouveau: don't attempt to schedule hpd_work on headless cards

2024-05-28 Thread Vasily Khoruzhick
If the card doesn't have display hardware, hpd_work and hpd_lock are left uninitialized which causes BUG when attempting to schedule hpd_work on runtime PM resume. Fix it by adding headless flag to DRM and skip any hpd if it's set. Fixes: ae1aadb1eb8d ("nouveau: don't fail driver load if no displ

Re: [PATCH 4/9] drm/i915: Introduce fb->min_alignment

2024-05-28 Thread Imre Deak
On Tue, May 28, 2024 at 10:38:06PM +0300, Ville Syrjälä wrote: > On Tue, May 28, 2024 at 02:27:52PM +0300, Imre Deak wrote: > > On Mon, May 13, 2024 at 08:59:37PM +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Different planes could have different alignment requirements > > > e

Re: [linux-next:master] BUILD REGRESSION 6dc544b66971c7f9909ff038b62149105272d26a

2024-05-28 Thread David Sterba
On Wed, May 29, 2024 at 02:19:47AM +0800, kernel test robot wrote: > tree/branch: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 6dc544b66971c7f9909ff038b62149105272d26a Add linux-next > specific files for 20240528 > > Err

Re: [RFC PATCH 7/8] rust: add firmware abstractions

2024-05-28 Thread Zhi Wang
On 28/05/2024 17.18, Danilo Krummrich wrote: > External email: Use caution opening links or attachments > > > On Tue, May 28, 2024 at 08:40:20AM +, Zhi Wang wrote: >> On 27/05/2024 22.18, Danilo Krummrich wrote: >>> External email: Use caution opening links or attachments >>> >>> >>> On Tue,

Re: [PATCH v5 1/6] drm/msm/dpu: fix video mode DSC for DSI

2024-05-28 Thread Jessica Zhang
On 5/27/2024 7:21 AM, Jun Nie wrote: From: Jonathan Marek Add width change in DPU timing for DSC compression case to work with DSI video mode. Hi Jun, LGTM Reviewed-by: Jessica Zhang Thanks, Jessica Zhang Signed-off-by: Jonathan Marek Signed-off-by: Jun Nie --- drivers/gpu/drm/

Re: [PATCH v2 2/7] soc: qcom: smem: Add a feature code getter

2024-05-28 Thread Bjorn Andersson
On Wed, Apr 17, 2024 at 10:02:54PM GMT, Konrad Dybcio wrote: [..] > diff --git a/include/linux/soc/qcom/socinfo.h > b/include/linux/soc/qcom/socinfo.h > index 10e0a4c287f4..52439f48428f 100644 > --- a/include/linux/soc/qcom/socinfo.h > +++ b/include/linux/soc/qcom/socinfo.h > @@ -3,6 +3,8 @@ > #i

[PATCH v2] drm/client: Detect when ACPI lid is closed during initialization

2024-05-28 Thread Mario Limonciello
If the lid on a laptop is closed when eDP connectors are populated then it remains enabled when the initial framebuffer configuration is built. When creating the initial framebuffer configuration detect the ACPI lid status and if it's closed disable any eDP connectors. Reported-by: Chris Bainbrid

Re: (subset) [PATCH 2/2] drm/panel-edp: Add more panels with conservative timings

2024-05-28 Thread Douglas Anderson
On Mon, 27 May 2024 17:54:50 +0800, Pin-yen Lin wrote: > Same as commit 7c8690d8fc80 ("drm/panel-edp: Add some panels with > conservative timings"), the 3 panels added in this patch are used by > Mediatek MT8173 Chromebooks and they used to work with the downstream > v4.19 kernel without any spec

Re: (subset) [PATCH 1/2] drm/panel-edp: Add support for several panels

2024-05-28 Thread Douglas Anderson
On Mon, 27 May 2024 17:54:49 +0800, Pin-yen Lin wrote: > Add support for the following models: > AUO B140HTN02.0 > BOE NT116WHM-N21 V4.1 > BOE NT116WHM-N21 > > Applied, thanks! [1/2] drm/panel-edp: Add support for several panels commit: e4f9fd9edbc22faceb4c9c57242440bb9e17924b Best reg

Re: [PATCH 2/2] drm/panel-edp: Add more panels with conservative timings

2024-05-28 Thread Doug Anderson
Hi, On Mon, May 27, 2024 at 2:56 AM Pin-yen Lin wrote: > > Same as commit 7c8690d8fc80 ("drm/panel-edp: Add some panels with > conservative timings"), the 3 panels added in this patch are used by > Mediatek MT8173 Chromebooks and they used to work with the downstream > v4.19 kernel without any sp

Re: [PATCH 1/2] drm/panel-edp: Add support for several panels

2024-05-28 Thread Doug Anderson
Hi, On Mon, May 27, 2024 at 2:56 AM Pin-yen Lin wrote: > > Add support for the following models: > AUO B140HTN02.0 > BOE NT116WHM-N21 V4.1 > BOE NT116WHM-N21 > > Signed-off-by: Pin-yen Lin > --- > > drivers/gpu/drm/panel/panel-edp.c | 3 +++ > 1 file changed, 3 insertions(+) Ideally the subjec

[drm-misc:drm-misc-next 10/29] drm_connector_test.c:undefined reference to `drm_hdmi_compute_mode_clock'

2024-05-28 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: c7ce956bb6d0f32ab921b6ffba1a6a834df96f21 commit: abb6f74973e20956d42e8227dde6fb4e92502c14 [10/29] drm/tests: Add HDMI TDMS character rate tests config: arc-randconfig-002-20240529 (https://download.01.org/0day-ci/archive/202

Re: [RFT PATCH v2 00/48] drm/panel: Remove most store/double-check of prepared/enabled state

2024-05-28 Thread Doug Anderson
Hi, On Wed, May 8, 2024 at 2:14 PM Doug Anderson wrote: > > > This is the right thing to do, thanks for looking into this! > > > > As for the behaviour of .remove() I doubt whether in many cases > > the original driver authors have even tested this themselves. > > Yeah, I'd tend to agree. > > > >

Re: [PATCH] drm/i915/guc: Enable w/a 14019882105 for DG2 and MTL

2024-05-28 Thread Matt Roper
On Fri, May 24, 2024 at 06:41:20PM -0700, john.c.harri...@intel.com wrote: > From: John Harrison > > Enable another workaround that is implemented inside the GuC. > > Signed-off-by: John Harrison > --- > drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 1 + > drivers/gpu/drm/i915/gt/uc/intel_g

Re: [PATCH 07/21] drm/sti: Allow build with COMPILE_TEST=y

2024-05-28 Thread Ville Syrjälä
On Mon, May 27, 2024 at 05:29:09PM +0200, Alain Volmat wrote: > Hi Ville, > > thank you for your patch. > > On Mon, Apr 08, 2024 at 08:04:12PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Allow sti to be built with COMPILE_TEST=y for greater > > coverage. Builds fine on x86/x86_6

[PATCH] drm/msm/adreno: Add A306A support

2024-05-28 Thread Barnabás Czémán
n adreno_is_revn(gpu, 308); +} + static inline bool adreno_is_a320(const struct adreno_gpu *gpu) { return adreno_is_revn(gpu, 320); --- base-commit: 6dc544b66971c7f9909ff038b62149105272d26a change-id: 20240528-a306a-48e173724d6c Best regards, -- Barnabás Czémán

[PATCH v4 2/3] drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

2024-05-28 Thread Dmitry Baryshkov
Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being declared. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbwzvohr-...@intel.com/ Reviewed-by: Neil Armstrong Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Signed-of

[PATCH v4 3/3] drm/display: split DSC helpers from DP helpers

2024-05-28 Thread Dmitry Baryshkov
Currently the DRM DSC functions are selected by the DRM_DISPLAY_DP_HELPER Kconfig symbol. This is not optimal, since the DSI code (both panel and host drivers) end up selecting the seemingly irrelevant DP helpers. Split the DSC code to be guarded by the separate DRM_DISPLAY_DSC_HELPER Kconfig symbo

[PATCH v4 0/3] drm/panel: two fixes for lg-sw43408

2024-05-28 Thread Dmitry Baryshkov
Fix two issues with the panel-lg-sw43408 driver reported by the kernel test robot. Signed-off-by: Dmitry Baryshkov --- Changes in v4: - Reoder patches so that fixes come first, to be able to land them to drm-misc-fixes - Link to v3: https://lore.kernel.org/r/20240522-panel-sw43408-fix-v3-0-690

[PATCH v4 1/3] drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER

2024-05-28 Thread Dmitry Baryshkov
This panel driver uses DSC PPS functions and as such depends on the DRM_DISPLAY_DP_HELPER. Select this symbol to make required functions available to the driver. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200800.kysryyli-...@intel.com/ Fixes: 069a6c0e94f9

Re: [PATCH 4/9] drm/i915: Introduce fb->min_alignment

2024-05-28 Thread Ville Syrjälä
On Tue, May 28, 2024 at 02:27:52PM +0300, Imre Deak wrote: > On Mon, May 13, 2024 at 08:59:37PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Different planes could have different alignment requirements > > even for the same format/modifier. Collect the alignment > > requirements ac

[drm-misc:drm-misc-next 10/29] ld.lld: error: undefined symbol: drm_hdmi_compute_mode_clock

2024-05-28 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: c7ce956bb6d0f32ab921b6ffba1a6a834df96f21 commit: abb6f74973e20956d42e8227dde6fb4e92502c14 [10/29] drm/tests: Add HDMI TDMS character rate tests config: i386-buildonly-randconfig-006-20240528 (https://download.01.org/0day-ci

Re: [PATCH 8/9] drm/i915: Update plane alignment requirements for TGL+

2024-05-28 Thread Ville Syrjälä
On Tue, May 28, 2024 at 04:22:59PM +0300, Imre Deak wrote: > On Mon, May 13, 2024 at 08:59:41PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Currently we still use the SKL+ PLANE_SURF alignment even > > for TGL+ even though the hardware no longer needs it. > > Introduce a separate

Re: [linux-next:master] BUILD REGRESSION 6dc544b66971c7f9909ff038b62149105272d26a

2024-05-28 Thread Jakub Kicinski
On Wed, 29 May 2024 02:19:47 +0800 kernel test robot wrote: > | `-- > net-ipv6-route.c-rt6_fill_node()-error:we-previously-assumed-dst-could-be-null-(see-line-) Is there a way for us to mark this as false positive?

[linux-next:master] BUILD REGRESSION 6dc544b66971c7f9909ff038b62149105272d26a

2024-05-28 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 6dc544b66971c7f9909ff038b62149105272d26a Add linux-next specific files for 20240528 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202405282036.maedo54q-...@intel.com https

Re: [PATCH v3 1/3] drm/display: split DSC helpers from DP helpers

2024-05-28 Thread Jessica Zhang
On 5/21/2024 11:25 PM, Dmitry Baryshkov wrote: Currently the DRM DSC functions are selected by the DRM_DISPLAY_DP_HELPER Kconfig symbol. This is not optimal, since the DSI code (both panel and host drivers) end up selecting the seemingly irrelevant DP helpers. Split the DSC code to be guarded

  1   2   3   >