Re: [PATCH v13 1/9] gpu/drm/i915: Update indentation for VRR registers and bits

2024-06-06 Thread Nautiyal, Ankit K
On 6/7/2024 8:59 AM, Nautiyal, Ankit K wrote: On 6/5/2024 10:31 PM, Mitul Golani wrote: Update the indentation for the VRR register definition and its bits, and fix checkpatch issues to ensure smooth movement of registers and bits. Signed-off-by: Mitul Golani LGTM Reviewed-by: Ankit Naut

[PATCH] drm/tests: add missing MODULE_DESCRIPTION() macros

2024-06-06 Thread Jeff Johnson
/tests/drm_rect_test.c b/drivers/gpu/drm/tests/drm_rect_test.c index 76332cd2ead8..17e1f34b7610 100644 --- a/drivers/gpu/drm/tests/drm_rect_test.c +++ b/drivers/gpu/drm/tests/drm_rect_test.c @@ -526,4 +526,5 @@ static struct kunit_suite drm_rect_test_suite = { kunit_test_suite(drm_rect_test_suite); +MODULE_DESCRIPTION("Test cases for the drm_rect functions"); MODULE_LICENSE("GPL"); --- base-commit: 19ca0d8a433ff37018f9429f7e7739e9f3d3d2b4 change-id: 20240606-md-drivers-gpu-drm-tests-9d5db6f928b8

Re: [PATCH v13 1/9] gpu/drm/i915: Update indentation for VRR registers and bits

2024-06-06 Thread Nautiyal, Ankit K
On 6/5/2024 10:31 PM, Mitul Golani wrote: Update the indentation for the VRR register definition and its bits, and fix checkpatch issues to ensure smooth movement of registers and bits. Signed-off-by: Mitul Golani LGTM Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/i915_reg.h |

[git pull] drm fixes for 6.10-rc3

2024-06-06 Thread Dave Airlie
Hi Linus, Weekly fixes, vmwgfx leads the way this week, with minor changes in xe and amdgpu and a couple of other small fixes. Seems quiet enough. Dave. drm-fixes-2024-06-07: drm fixes for 6.10-rc3 xe: - Update the LMTT when freeing VF GT config amdgpu: - Fix shutdown issues on some SMU 13.x

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

2024-06-06 Thread Dave Airlie
readding original poster On Wed, 29 May 2024 at 09:57, Ben Skeggs wrote: > > 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.

[PATCH net-next v11 13/13] selftests: add ncdevmem, netcat for devmem TCP

2024-06-06 Thread Mina Almasry
ncdevmem is a devmem TCP netcat. It works similarly to netcat, but it sends and receives data using the devmem TCP APIs. It uses udmabuf as the dmabuf provider. It is compatible with a regular netcat running on a peer, or a ncdevmem running on a peer. In addition to normal netcat support, ncdevmem

[PATCH net-next v11 12/13] net: add devmem TCP documentation

2024-06-06 Thread Mina Almasry
Add documentation outlining the usage and details of devmem TCP. Signed-off-by: Mina Almasry Reviewed-by: Bagas Sanjaya --- v9: https://lore.kernel.org/netdev/20240403002053.2376017-14-almasrym...@google.com/ - Bagas doc suggestions. v8: - Applied docs suggestions (Randy). Thanks! v7: - App

[PATCH net-next v11 11/13] net: add SO_DEVMEM_DONTNEED setsockopt to release RX frags

2024-06-06 Thread Mina Almasry
Add an interface for the user to notify the kernel that it is done reading the devmem dmabuf frags returned as cmsg. The kernel will drop the reference on the frags to make them available for reuse. Signed-off-by: Willem de Bruijn Signed-off-by: Kaiyuan Zhang Signed-off-by: Mina Almasry --- v

[PATCH net-next v11 07/13] memory-provider: dmabuf devmem memory provider

2024-06-06 Thread Mina Almasry
Implement a memory provider that allocates dmabuf devmem in the form of net_iov. The provider receives a reference to the struct netdev_dmabuf_binding via the pool->mp_priv pointer. The driver needs to set this pointer for the provider in the net_iov. The provider obtains a reference on the netde

[PATCH net-next v11 08/13] net: support non paged skb frags

2024-06-06 Thread Mina Almasry
Make skb_frag_page() fail in the case where the frag is not backed by a page, and fix its relevant callers to handle this case. Signed-off-by: Mina Almasry --- v10: - Fixed newly generated kdoc warnings found by patchwork. While we're at it, fix the Return section of the functions I touched.

[PATCH net-next v11 10/13] tcp: RX path for devmem TCP

2024-06-06 Thread Mina Almasry
In tcp_recvmsg_locked(), detect if the skb being received by the user is a devmem skb. In this case - if the user provided the MSG_SOCK_DEVMEM flag - pass it to tcp_recvmsg_devmem() for custom handling. tcp_recvmsg_devmem() copies any data in the skb header to the linear buffer, and returns a cmsg

[PATCH net-next v11 09/13] net: add support for skbs with unreadable frags

2024-06-06 Thread Mina Almasry
For device memory TCP, we expect the skb headers to be available in host memory for access, and we expect the skb frags to be in device memory and unaccessible to the host. We expect there to be no mixing and matching of device memory frags (unaccessible) with host memory frags (accessible) in the

[PATCH net-next v11 05/13] page_pool: convert to use netmem

2024-06-06 Thread Mina Almasry
Abstrace the memory type from the page_pool so we can later add support for new memory types. Convert the page_pool to use the new netmem type abstraction, rather than use struct page directly. As of this patch the netmem type is a no-op abstraction: it's always a struct page underneath. All the p

[PATCH net-next v11 06/13] page_pool: devmem support

2024-06-06 Thread Mina Almasry
Convert netmem to be a union of struct page and struct netmem. Overload the LSB of struct netmem* to indicate that it's a net_iov, otherwise it's a page. Currently these entries in struct page are rented by the page_pool and used exclusively by the net stack: struct { unsigned long pp_mag

[PATCH net-next v11 03/13] netdev: support binding dma-buf to netdevice

2024-06-06 Thread Mina Almasry
Add a netdev_dmabuf_binding struct which represents the dma-buf-to-netdevice binding. The netlink API will bind the dma-buf to rx queues on the netdevice. On the binding, the dma_buf_attach & dma_buf_map_attachment will occur. The entries in the sg_table from mapping will be inserted into a genpool

[PATCH net-next v11 04/13] netdev: netdevice devmem allocator

2024-06-06 Thread Mina Almasry
Implement netdev devmem allocator. The allocator takes a given struct netdev_dmabuf_binding as input and allocates net_iov from that binding. The allocation simply delegates to the binding's genpool for the allocation logic and wraps the returned memory region in a net_iov struct. Signed-off-by:

[PATCH net-next v11 02/13] net: netdev netlink api to bind dma-buf to a net device

2024-06-06 Thread Mina Almasry
API takes the dma-buf fd as input, and binds it to the netdevice. The user can specify the rx queues to bind the dma-buf to. Suggested-by: Stanislav Fomichev Signed-off-by: Mina Almasry --- v7: - Use flags: [ admin-perm ] instead of a CAP_NET_ADMIN check. Changes in v1: - Add rx-queue-type to

[PATCH net-next v11 01/13] netdev: add netdev_rx_queue_restart()

2024-06-06 Thread Mina Almasry
Add netdev_rx_queue_restart() function to netdev_rx_queue.h Signed-off-by: David Wei Signed-off-by: Mina Almasry --- v11: - Fix not checking dev->queue_mgmt_ops (Pavel). - Fix ndo_queue_mem_free call that passed the wrong pointer (David). v9: https://lore.kernel.org/all/20240502045410.3524155

[PATCH net-next v11 00/13] Device Memory TCP

2024-06-06 Thread Mina Almasry
v11: https://patchwork.kernel.org/project/netdevbpf/list/?series=857457&state=* Major Changes: -- v11 addresses feedback received in v10. The major change is the removal of the memory provider ops as requested by Christoph. We still accomplish the same thing, but utilizing direct

Re: [PATCH v3 1/4] drm/sched: store the drm_device instead of the device

2024-06-06 Thread kernel test robot
Hi Pierre-Eric, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.10-rc2 next-20240606] [cannot apply to drm-xe/drm-xe-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

[PATCH v2] drm/mediatek: Log errors in probe with dev_err_probe()

2024-06-06 Thread Nícolas F . R . A . Prado
Use dev_err_probe() to log errors in the probe function of all drm mediatek drivers. This avoids -EPROBE_DEFER return values from being logged as errors, like the following: mediatek-disp-rdma 1c002000.rdma: Failed to add component: -517 As a side benefit it also standardizes the format of the

Re: [PATCH v4 0/3] drm/mediatek: Add support for OF graphs

2024-06-06 Thread Nícolas F . R . A . Prado
21 ++ > drivers/gpu/drm/mediatek/mtk_disp_drv.h | 1 + > .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 40 ++- > drivers/gpu/drm/mediatek/mtk_dpi.c| 16 +- > drivers/gpu/drm/mediatek/mtk_drm_drv.c| 282 -- > drivers/gpu/drm/mediatek/mtk_

[PATCH v11 1/8] x86/vmware: Introduce VMware hypercall API

2024-06-06 Thread Alexey Makhalov
Introduce vmware_hypercall family of functions. It is a common implementation to be used by the VMware guest code and virtual device drivers in architecture independent manner. The API consists of vmware_hypercallX and vmware_hypercall_hb_{out,in} set of functions by analogy with KVM hypercall API

Re: [PATCH v10 1/8] x86/vmware: Introduce VMware hypercall API

2024-06-06 Thread Alexey Makhalov
On 6/3/24 10:58 AM, Borislav Petkov wrote: On Wed, May 29, 2024 at 05:44:32PM -0700, Alexey Makhalov wrote: While most of the vmware_hypercall callers are executed after alternative patching applied, there are small amount of hypercalls running before that. Only for them we have the logic of

Re: [PATCH v4 08/13] drm/msm/dpu: add support for virtual planes

2024-06-06 Thread Abhinav Kumar
On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: Only several SSPP blocks support such features as YUV output or scaling, thus different DRM planes have different features. Properly utilizing all planes requires the attention of the compositor, who should prefer simpler planes to YUV-supporting

[PULL] drm-misc-next-fixes

2024-06-06 Thread Maarten Lankhorst
Hi Dave, Sima, Pull request for a single patch lost in the wrong tree. Cheers, ~Maarten drm-misc-next-fixes-2024-06-07: drm-misc-next-fixes for v6.10-rc3: - Single unused struct removal that should have been in -fixes. The following changes since commit 5a507b7d2be15fddb95bf8dee01110b723e2bcd9:

[PULL] drm-misc-fixes

2024-06-06 Thread Maarten Lankhorst
Hi Dave, Sima, Lots of fixes for vmwgfx all over the place, and one fix for sitronix panel. Cheers, Maarten drm-misc-fixes-2024-06-07: drm-misc-fixes for v6.10-rc3: - Robustness fixes for vmwgfx. - Error check for of_drm_get_panel_orientation failing in sitronix-st7789v. The following changes

Re: [PATCH 1/2][RFC] amdgpu: fix a race in kfd_mem_export_dmabuf()

2024-06-06 Thread Felix Kuehling
On 2024-06-05 05:14, Christian König wrote: Am 04.06.24 um 20:08 schrieb Felix Kuehling: On 2024-06-03 22:13, Al Viro wrote: Using drm_gem_prime_handle_to_fd() to set dmabuf up and insert it into descriptor table, only to have it looked up by file descriptor and remove it from descriptor tab

[PULL] drm-xe-next

2024-06-06 Thread Rodrigo Vivi
Hi Dave and Sima, Here goes our first Xe pull request targeting 6.11. A very active round, with highlight to many changes targeting SR-IOV support and many different clean-ups. Thanks, Rodrigo. drm-xe-next-2024-06-06: UAPI Changes: - Expose the L3 bank mask (Francois) Cross-subsystem Changes:

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

2024-06-06 Thread Julia Filipchuk
On 5/28/2024 4:05 PM, john.c.harri...@intel.com wrote: > 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 > --- Reviewed-by

Re: [PATCH v3 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998

2024-06-06 Thread Rob Herring (Arm)
On Thu, 06 Jun 2024 18:07:48 +0200, Marc Gonzalez wrote: > HDMI TX block embedded in the APQ8098. > > Signed-off-by: Marc Gonzalez > --- > .../devicetree/bindings/display/msm/hdmi.yaml | 28 > -- > 1 file changed, 26 insertions(+), 2 deletions(-) > Reviewed-by: Rob

Re: [PATCH] dt-bindings: display: panel: constrain 'reg' in DSI panels (part two)

2024-06-06 Thread Rob Herring (Arm)
On Wed, 05 Jun 2024 12:56:59 +0200, Krzysztof Kozlowski wrote: > DSI-attached devices could respond to more than one virtual channel > number, thus their bindings are supposed to constrain the 'reg' property > to match hardware. Add missing 'reg' constrain for DSI-attached display > panels, base

RE: [syzbot] [mm?] general protection fault in dequeue_hugetlb_folio_nodemask

2024-06-06 Thread Deucher, Alexander
[AMD Official Use Only - AMD Internal Distribution Only] > -Original Message- > From: Limonciello, Mario > Sent: Thursday, June 6, 2024 10:56 AM > To: Deucher, Alexander > Cc: syzbot ; > Huang, Tim ; Pan, Xinhui ; > airl...@gmail.com; a...@linux-foundation.org; Deucher, Alexander > ; amd

Re: [PATCH v2] MAINTAINERS: Update Xe driver maintainers

2024-06-06 Thread Lucas De Marchi
On Sun, 02 Jun 2024 21:09:59 +0200, Thomas Hellström wrote: > Add Rodrigo Vivi as an Xe driver maintainer. > > v2: > - Cc also Lucas De Marchi (Rodrigo vivi) > - Remove a blank line in commit the commit message (Lucas De Marchi) > > > [...] Applied to drm-xe-fixes, thanks! [1/1] MAINTAINERS:

Re: [PATCH 12/14] dt-bindings: display: rockchip,dw-hdmi: Add compatible for RK3588

2024-06-06 Thread Cristian Ciocaltea
On 6/6/24 5:58 PM, Rob Herring wrote: > On Thu, Jun 6, 2024 at 5:51 AM Cristian Ciocaltea > wrote: >> >> On 6/6/24 2:22 AM, Rob Herring wrote: >>> On Sat, Jun 01, 2024 at 04:12:34PM +0300, Cristian Ciocaltea wrote: Document the Synopsys DesignWare HDMI 2.1 Quad-Pixel (QP) TX controller f

[pull] amdgpu drm-fixes-6.10

2024-06-06 Thread Alex Deucher
Hi Dave, Sima, A couple of fixes for 6.10. The following changes since commit c3f38fa61af77b49866b006939479069cd451173: Linux 6.10-rc2 (2024-06-02 15:44:56 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.10-2024-06-06 for

Re: [PATCH 2/2] drm/xe: Use drm_device managed mutex/mm init helpers in GGTT

2024-06-06 Thread Michal Wajdeczko
On 06.06.2024 19:25, Rodrigo Vivi wrote: > On Fri, May 24, 2024 at 03:35:18PM +0200, Michal Wajdeczko wrote: >> There is not need for private release action as there are existing >> drmm_mm_init() and drmm_mutex_init() helpers that can be used. >> >> Signed-off-by: Michal Wajdeczko >> Cc: Thoma

Re: [linux-next:master] BUILD REGRESSION ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f

2024-06-06 Thread Steven Rostedt
: > tree/branch: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f Add linux-next > specific files for 20240606 > > Error/Warning reports: > > https://lore.kernel.org/oe-kbuild-a

Re: [PATCH v10 6/6] Documentation: iio: Document high-speed DMABUF based API

2024-06-06 Thread Randy Dunlap
Hi, On 6/5/24 4:08 AM, Paul Cercueil wrote: > Document the new DMABUF based API. > > Signed-off-by: Paul Cercueil > Signed-off-by: Nuno Sa > > --- > v2: - Explicitly state that the new interface is optional and is > not implemented by all drivers. > - The IOCTLs can now only be calle

Re: [PATCH 1/2] drm: Add DRM-managed drm_mm_init()

2024-06-06 Thread Rodrigo Vivi
On Fri, May 24, 2024 at 03:35:17PM +0200, Michal Wajdeczko wrote: > Add drmm_mm_init(), a helper that provides managed allocator cleanup. > The allocator will be cleaned up with the final reference of the DRM > device. > > Signed-off-by: Michal Wajdeczko > Cc: Thomas Zimmermann > Cc: Daniel Vett

Re: [PATCH 2/2] drm/xe: Use drm_device managed mutex/mm init helpers in GGTT

2024-06-06 Thread Rodrigo Vivi
On Fri, May 24, 2024 at 03:35:18PM +0200, Michal Wajdeczko wrote: > There is not need for private release action as there are existing > drmm_mm_init() and drmm_mutex_init() helpers that can be used. > > Signed-off-by: Michal Wajdeczko > Cc: Thomas Hellström > Cc: Rodrigo Vivi > --- > drivers/

Re: [RFC PATCH 2/3] drm/tidss: Add support for display sharing

2024-06-06 Thread Maxime Ripard
On Wed, May 29, 2024 at 08:16:46PM GMT, Devarsh Thakkar wrote: > Hi Javier, Maxime, Daniel, > > Sorry for the delay. Please find response inline. > > On 16/05/24 18:21, Daniel Vetter wrote: > > On Wed, May 15, 2024 at 04:45:09PM +0200, Javier Martinez Canillas wrote: > >> Devarsh Thakkar writes:

[linux-next:master] BUILD REGRESSION ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f

2024-06-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f Add linux-next specific files for 20240606 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202406061744.rzdxfrrg-...@intel.com Error

Re: [PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-06-06 Thread Mina Almasry
On Thu, Jun 6, 2024 at 9:49 AM Mina Almasry wrote: > > On Tue, Jun 4, 2024 at 3:46 AM Paolo Abeni wrote: > > > > On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > > > diff --git a/net/core/gro.c b/net/core/gro.c > > > index 26f09c3e830b7..7b9d018f552bd 100644 > > > --- a/net/core/gro.c > >

Re: [PATCH net-next v10 10/14] net: add support for skbs with unreadable frags

2024-06-06 Thread Mina Almasry
On Tue, Jun 4, 2024 at 3:46 AM Paolo Abeni wrote: > > On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > > diff --git a/net/core/gro.c b/net/core/gro.c > > index 26f09c3e830b7..7b9d018f552bd 100644 > > --- a/net/core/gro.c > > +++ b/net/core/gro.c > > @@ -422,6 +422,9 @@ static void gro_pull

Re: [PATCH v3 1/4] drm/sched: store the drm_device instead of the device

2024-06-06 Thread Matthew Brost
On Thu, Jun 06, 2024 at 03:18:14PM +0200, Christian König wrote: > Am 06.06.24 um 15:06 schrieb Pierre-Eric Pelloux-Prayer: > > When tracing is enabled, being able to identify which device is sending > > events is useful; for this the next commit will extend events to include > > drm_device::primar

Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView

2024-06-06 Thread Neil Armstrong
Hi, On Thu, 06 Jun 2024 10:01:02 +0200, Primoz Fiser wrote: > The Prime View International (PVI) is a LCD panel manufacturer. > > Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next) [1/3] dt-bindings: vendor-prefixes: Add PrimeView https://gitlab.freed

Re: [PATCH v3 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998

2024-06-06 Thread Conor Dooley
On Thu, Jun 06, 2024 at 06:07:48PM +0200, Marc Gonzalez wrote: > HDMI TX block embedded in the APQ8098. > > Signed-off-by: Marc Gonzalez Reviewed-by: Conor Dooley Thanks, Conor. signature.asc Description: PGP signature

[PATCH v3 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998

2024-06-06 Thread Marc Gonzalez
HDMI PHY block embedded in the APQ8098. Acked-by: Rob Herring (Arm) Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml b/Documentation/dev

[PATCH v3 4/4] arm64: dts: qcom: add HDMI nodes for msm8998

2024-06-06 Thread Marc Gonzalez
From: Arnaud Vrac Port device nodes from vendor code. Signed-off-by: Arnaud Vrac Reviewed-by: Dmitry Baryshkov Signed-off-by: Marc Gonzalez --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 100 +- 1 file changed, 99 insertions(+), 1 deletion(-) diff --git a/arch/a

[PATCH v3 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998

2024-06-06 Thread Marc Gonzalez
HDMI TX block embedded in the APQ8098. Signed-off-by: Marc Gonzalez --- .../devicetree/bindings/display/msm/hdmi.yaml | 28 -- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetr

[PATCH v3 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs

2024-06-06 Thread Marc Gonzalez
MSM8998 GPIO pin controller reference design defines: - CEC: pin 31 - DDC: pin 32,33 - HPD: pin 34 Downstream vendor code for reference: https://git.codelinaro.org/clo/la/kernel/msm-4.4/-/blob/caf_migration/kernel.lnx.4.4.r38-rel/arch/arm/boot/dts/qcom/msm8998-pinctrl.dtsi#L2324-2400 mdss_hdmi_

[PATCH v3 0/4] HDMI TX support in msm8998

2024-06-06 Thread Marc Gonzalez
cetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 128 - 3 files changed, 154 insertions(+), 3 deletions(-) --- base-commit: 2c4f4d94dcbf6f500b92fff5600989ea23a207e8 change-id: 20240606-hdmi-tx-00ee8e7ddbac Best regards, -- Marc Gonzalez

Re: [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel

2024-06-06 Thread Conor Dooley
On Thu, Jun 06, 2024 at 10:01:03AM +0200, Primoz Fiser wrote: > Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string. > > Signed-off-by: Primoz Fiser Acked-by: Conor Dooley signature.asc Description: PGP signature

Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView

2024-06-06 Thread Conor Dooley
On Thu, Jun 06, 2024 at 10:01:02AM +0200, Primoz Fiser wrote: > The Prime View International (PVI) is a LCD panel manufacturer. > > Signed-off-by: Primoz Fiser Acked-by: Conor Dooley signature.asc Description: PGP signature

Re: [PATCH] drm/msm/a6xx: Fix A702 UBWC mode

2024-06-06 Thread Dmitry Baryshkov
On Thu, Jun 06, 2024 at 01:10:49PM +0200, Konrad Dybcio wrote: > UBWC_MODE is a one-bit-wide field, so a value of 2 is obviously bogus. > > Replace it with the correct value (0). > > Fixes: 18397519cb62 ("drm/msm/adreno: Add A702 support") > Reported-by: Connor Abbott > Closes: > https://lore.k

Re: [PATCH v4] drm/msm/a6xx: use __unused__ to fix compiler warnings for gen7_* includes

2024-06-06 Thread Dmitry Baryshkov
On Wed, Jun 05, 2024 at 11:34:15AM -0700, Abhinav Kumar wrote: > GCC diagnostic pragma method throws below warnings in some of the versions > > drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:16:9: warning: unknown > option after '#pragma GCC diagnostic' kind [-Wpragmas] > #pragma GCC diagnostic ign

Re: [RFC PATCH 6/8] rust: drm: gem: Add GEM object abstraction

2024-06-06 Thread Daniel Almeida
Hi Danilo, Lina > On 20 May 2024, at 14:24, Danilo Krummrich wrote: > > From: Asahi Lina > > The DRM GEM subsystem is the DRM memory management subsystem used by > most modern drivers. Add a Rust abstraction to allow Rust DRM driver > implementations to use it. > > Signed-off-by: Asahi Lina

Re: [PATCH 12/14] dt-bindings: display: rockchip,dw-hdmi: Add compatible for RK3588

2024-06-06 Thread Rob Herring
On Thu, Jun 6, 2024 at 5:51 AM Cristian Ciocaltea wrote: > > On 6/6/24 2:22 AM, Rob Herring wrote: > > On Sat, Jun 01, 2024 at 04:12:34PM +0300, Cristian Ciocaltea wrote: > >> Document the Synopsys DesignWare HDMI 2.1 Quad-Pixel (QP) TX controller > >> found on Rockchip RK3588 SoC family. > >> > >

Re: [syzbot] [mm?] general protection fault in dequeue_hugetlb_folio_nodemask

2024-06-06 Thread Mario Limonciello
On 6/6/2024 09:39, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:0e1980c40b6e Add linux-next specific files for 20240531 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=166086f298 kernel config: https://syzkaller.appspot.com/

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

2024-06-06 Thread Helen Koike
On 28/05/2024 23:40, Vignesh Raman wrote: 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 vari

[syzbot] [mm?] general protection fault in dequeue_hugetlb_folio_nodemask

2024-06-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0e1980c40b6e Add linux-next specific files for 20240531 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=166086f298 kernel config: https://syzkaller.appspot.com/x/.config?x=d9c3ca4e54577b88 dashbo

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

2024-06-06 Thread Helen Koike
On 29/05/2024 06:49, Vignesh Raman wrote: Hi Dmitry, On 29/05/24 13:30, Dmitry Baryshkov wrote: On Wed, May 29, 2024 at 08:10:49AM +0530, Vignesh Raman wrote: 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 so

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

2024-06-06 Thread Helen Koike
On 28/05/2024 23:40, Vignesh Raman wrote: 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 Acked-by: Helen Koike --- v2: - Skip xe tests for amdgpu and virtio. v3: - No ch

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

2024-06-06 Thread Helen Koike
On 28/05/2024 23:40, Vignesh Raman wrote: 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 drive

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

2024-06-06 Thread Helen Koike
On 28/05/2024 23:40, Vignesh Raman wrote: 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.

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

2024-06-06 Thread Helen Koike
On 28/05/2024 23:40, 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 Type Uprev mesa to latest

[PATCH 6.6 314/744] fbdev: sh7760fb: allow modular build

2024-06-06 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit 51084f89d687e14d96278241e5200cde4b0985c7 ] There is no reason to prohibit sh7760fb from being built as a loadable module as suggested by Geert, so change the conf

[PATCH 6.1 219/473] fbdev: sh7760fb: allow modular build

2024-06-06 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit 51084f89d687e14d96278241e5200cde4b0985c7 ] There is no reason to prohibit sh7760fb from being built as a loadable module as suggested by Geert, so change the conf

Re: [PATCH v12 12/13] media: imagination: Round to closest multiple for cropping region

2024-06-06 Thread Andy Shevchenko
On Thu, Jun 06, 2024 at 01:44:59PM +0200, Sebastian Fricke wrote: > Hey, > > On 04.06.2024 16:23, Devarsh Thakkar wrote: > > If neither of the flags to round down (V4L2_SEL_FLAG_LE) or round up > > (V4L2_SEL_FLAG_GE) are specified by the user, then round to nearest > > multiple of requested value

Re: [PATCH v3 1/2] dt-bindings: display: panel: Add WL-355608-A8 panel

2024-06-06 Thread Neil Armstrong
On 06/06/2024 13:23, Maxime Ripard wrote: On Thu, Jun 06, 2024 at 11:37:31AM GMT, Neil Armstrong wrote: On 06/06/2024 11:32, Maxime Ripard wrote: On Fri, May 31, 2024 at 09:12:14AM GMT, Ryan Walklin wrote: The WL-355608-A8 is a 3.5" 640x480@60Hz RGB LCD display used in a number of handheld gam

Re: [PATCH v12 12/13] media: imagination: Round to closest multiple for cropping region

2024-06-06 Thread Devarsh Thakkar
Hi Sebastian Thanks for the update. On 06/06/24 17:14, Sebastian Fricke wrote: > Hey, > > On 04.06.2024 16:23, Devarsh Thakkar wrote: >> If neither of the flags to round down (V4L2_SEL_FLAG_LE) or round up >> (V4L2_SEL_FLAG_GE) are specified by the user, then round to nearest >> multiple of reque

Re: [PATCH v3 1/4] drm/sched: store the drm_device instead of the device

2024-06-06 Thread Ville Syrjälä
On Thu, Jun 06, 2024 at 03:18:14PM +0200, Christian König wrote: > Am 06.06.24 um 15:06 schrieb Pierre-Eric Pelloux-Prayer: > > When tracing is enabled, being able to identify which device is sending > > events is useful; for this the next commit will extend events to include > > drm_device::primar

Re: [PATCH v3 3/4] drm/sched: cleanup gpu_scheduler trace events

2024-06-06 Thread Christian König
Am 06.06.24 um 15:19 schrieb Steven Rostedt: On Thu, 6 Jun 2024 15:06:24 +0200 Pierre-Eric Pelloux-Prayer wrote: Print identifiers instead of pointers: * "fence=%p" is replaced by "fence=(context:%llu, seqno:%lld)" to have a coherent way to print the fence. A possible follow up change would be

Re: [PATCH v3 3/4] drm/sched: cleanup gpu_scheduler trace events

2024-06-06 Thread Steven Rostedt
On Thu, 6 Jun 2024 15:06:24 +0200 Pierre-Eric Pelloux-Prayer wrote: > Print identifiers instead of pointers: > * "fence=%p" is replaced by "fence=(context:%llu, seqno:%lld)" to have a > coherent way to print the fence. A possible follow up change would be > to use the same format in traces/../dma

Re: [PATCH v3 1/4] drm/sched: store the drm_device instead of the device

2024-06-06 Thread Christian König
Am 06.06.24 um 15:06 schrieb Pierre-Eric Pelloux-Prayer: When tracing is enabled, being able to identify which device is sending events is useful; for this the next commit will extend events to include drm_device::primary::index. That sounds like a rather bad idea since the primary index is rea

[PATCH] backlight: lm3509_bl: Fix NULL vs IS_ERR() check in register() function

2024-06-06 Thread Dan Carpenter
The devm_backlight_device_register() doesn't return NULL, it returns error pointers. Update the error checking to match. Fixes: b72755f5b577 ("backlight: Add new lm3509 backlight driver") Signed-off-by: Dan Carpenter --- drivers/video/backlight/lm3509_bl.c | 5 +++-- 1 file changed, 3 insertion

[PATCH v3 4/4] drm/sched: trace dependencies for gpu jobs

2024-06-06 Thread Pierre-Eric Pelloux-Prayer
Trace the fence dependencies similarly to how we print fences: ... , dependencies:{(context:606, seqno:38006)} This allows tools to analyze the dependencies between the jobs (previously it was only possible for fences traced by drm_sched_job_wait_dep). Since drm_sched_job and drm_run_job use th

[PATCH v3 0/4] Improve gpu_scheduler trace events

2024-06-06 Thread Pierre-Eric Pelloux-Prayer
Hi, This is the new version of my patch series aiming at improving the trace events around gpu jobs. The main ideas implemented are: trace dependencies between jobs and identify the GPU running jobs (because 'ring' is not a unique attribute). Changes from v2: * dropped all amdgpu changes. The goa

[PATCH v3 3/4] drm/sched: cleanup gpu_scheduler trace events

2024-06-06 Thread Pierre-Eric Pelloux-Prayer
Print identifiers instead of pointers: * "fence=%p" is replaced by "fence=(context:%llu, seqno:%lld)" to have a coherent way to print the fence. A possible follow up change would be to use the same format in traces/../dma-fence.h. * "entity=%p" is removed because the fence's context is already an i

[PATCH v3 2/4] drm/sched: add dev_index=xx to the drm_sched_process_job event

2024-06-06 Thread Pierre-Eric Pelloux-Prayer
Until the switch from kthread to workqueue, a userspace application could determine the device index from the pid of the thread sending this event. With workqueues this is not possible anymore, so the event needs to contain this information (the ring name alone is not enough, because they're not u

[PATCH v3 1/4] drm/sched: store the drm_device instead of the device

2024-06-06 Thread Pierre-Eric Pelloux-Prayer
When tracing is enabled, being able to identify which device is sending events is useful; for this the next commit will extend events to include drm_device::primary::index. Since the device member is only used in the drm_* log macros, we can replace it by a drm_device pointer. Signed-off-by: Pier

Re: [PATCH] drm/mediatek: Don't print error if EDEFER_PROBE returned on component_add

2024-06-06 Thread Jonathan Cameron
On Wed, 05 Jun 2024 12:50:25 -0400 Nícolas F. R. A. Prado wrote: > Use dev_err_probe() in the component_add() error path to prevent > printing an error when the probe is deferred. This was observed on > mt8195 with the disp-rdma driver: > > mediatek-disp-rdma 1c002000.rdma: Failed to add compo

Re: [PATCH] arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations

2024-06-06 Thread Liviu Dudau
On Thu, Jun 06, 2024 at 08:08:42PM +0800, pengfuyuan wrote: > Since the debugfs functions have no-op stubs for CONFIG_DEBUG_FS=n, > the compiler will optimize the rest away since they are no longer referenced. > > The benefit of removing the conditional compilation is that the build > is actually

[PATCH] drm/edid: reduce DisplayID log spamming

2024-06-06 Thread Jani Nikula
Debug printing at DisplayID validation leads to lots of log spamming as it's called at DisplayID iterators during EDID parsing. Remove it, and replace with a less noisy message at connector EDID update. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_displayid.c | 3 --- drivers/gpu/drm/drm_e

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

2024-06-06 Thread Ville Syrjälä
On Thu, Jun 06, 2024 at 10:21:07AM +0300, Jani Nikula wrote: > On Wed, 05 Jun 2024, Chris Bainbridge wrote: > > On Tue, Jun 04, 2024 at 10:02:29AM +0800, kernel test robot wrote: > >> Hi Mario, > >> > >> kernel test robot noticed the following build errors: > >> > >> [auto build test ERROR on dr

[Bug 218900] amdgpu: Fatal error during GPU init

2024-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218900 Hanabishi (i.r.e.c.c.a.k.u.n+bugzilla.kernel@gmail.com) changed: What|Removed |Added CC|

Re: [PATCH v13 5/9] drm/dp: Add refresh rate divider to struct representing AS SDP

2024-06-06 Thread Maxime Ripard
On Thu, Jun 06, 2024 at 02:38:45PM GMT, Jani Nikula wrote: > On Wed, 05 Jun 2024, Mitul Golani > wrote: > > Add target_rr_divider to structure representing AS SDP. > > It is valid only in FAVT mode, sink device ignores the bit in AVT > > mode. > > > > --v2: > > - Update commit header and send pat

Re: [PATCH v2 10/12] media: platform: mtk-mdp3: Get fine-grain control of cmdq_pkt_finalize()

2024-06-06 Thread Benjamin Gaignard
Le 22/02/2024 à 16:41, Chun-Kuang Hu a écrit : In order to have fine-grained control, use cmdq_pkt_eoc() and cmdq_pkt_jump_rel() to replace cmdq_pkt_finalize(). Signed-off-by: Chun-Kuang Hu --- drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 3 ++- drivers/media/platform/mediatek/md

[PATCH] arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations

2024-06-06 Thread pengfuyuan
Since the debugfs functions have no-op stubs for CONFIG_DEBUG_FS=n, the compiler will optimize the rest away since they are no longer referenced. The benefit of removing the conditional compilation is that the build is actually tested for both CONFIG_DEBUG_FS configuration values. Assuming most de

Re: [PATCH] drm/msm/adreno: De-spaghettify the use of memory barriers

2024-06-06 Thread Konrad Dybcio
On 4.06.2024 4:40 PM, Will Deacon wrote: > On Thu, May 16, 2024 at 01:55:26PM -0500, Andrew Halaney wrote: >> On Thu, May 16, 2024 at 08:20:05PM GMT, Akhil P Oommen wrote: >>> On Thu, May 16, 2024 at 08:15:34AM -0500, Andrew Halaney wrote: If I understand correctly, you don't need any memory b

Re: [PATCH v3 1/2] dt-bindings: display: panel: Add WL-355608-A8 panel

2024-06-06 Thread Conor Dooley
On Thu, Jun 06, 2024 at 01:23:03PM +0200, Maxime Ripard wrote: > On Thu, Jun 06, 2024 at 11:37:31AM GMT, Neil Armstrong wrote: > > On 06/06/2024 11:32, Maxime Ripard wrote: > > > On Fri, May 31, 2024 at 09:12:14AM GMT, Ryan Walklin wrote: > > > > The WL-355608-A8 is a 3.5" 640x480@60Hz RGB LCD disp

Re: [PATCH 12/14] dt-bindings: display: rockchip,dw-hdmi: Add compatible for RK3588

2024-06-06 Thread Cristian Ciocaltea
On 6/6/24 2:22 AM, Rob Herring wrote: > On Sat, Jun 01, 2024 at 04:12:34PM +0300, Cristian Ciocaltea wrote: >> Document the Synopsys DesignWare HDMI 2.1 Quad-Pixel (QP) TX controller >> found on Rockchip RK3588 SoC family. >> >> Since RK3588 uses different clocks than previous Rockchip SoCs and als

[PATCH] i2c: imx-lpi2c: add eDMA mode support for LPI2C

2024-06-06 Thread carlos . song
From: Carlos Song Add eDMA mode support for LPI2C. There are some differences between TX DMA mode and RX DMA mode. LPI2C MTDR register is Controller Transmit Data Register. When LPI2C send data, it is tx cmd register and tx data fifo. When LPI2C receive data, it is just a rx cmd register. LPI2C

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-06 Thread Gautham R. Shenoy
On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > diff --git a/drivers/cpufreq/amd-pstate.

Re: [PATCH 13/14] drm/bridge: synopsys: Add DW HDMI QP TX controller driver

2024-06-06 Thread Luis de Arquer
On 6/5/24 16:48, Heiko Stübner wrote: Without this change, connecting to a DVI display does not work, and reading the EDID ends in the "i2c read error" below. I had a lot of problems initially with the vendor driver on my DVI display, and am aware that several changes were required. However,

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-06 Thread AngeloGioacchino Del Regno
Il 02/06/24 17:57, Andy Shevchenko ha scritto: Make two APIs look similar. Hence convert match_string() to be a 2-argument macro. In order to avoid unneeded churn, convert all users as well. There is no functional change intended. Signed-off-by: Andy Shevchenko For MediaTek Reviewed-by: Ange

[PATCH] drm/hisilicon: Fix a NULL pointer access when call hibmc_unload

2024-06-06 Thread oushixiong1025
From: Shixiong Ou If Calling hibmc_mm_init() failed in hibmc_load(), the hibmc_unload() will access a NULL pointer, as it don't call ww_mutex_init() to initialize mode_config.connection_mutex but try to lock it when calling drm_atomic_helper_shutdown() in hibmc_unload(). [ 50.939211][ 0] Unab

[PATCH] drivers/base/devres.c: refactor using guards

2024-06-06 Thread Andrea Calabrese
Refactored devres.c using lock guards and scoped locks. Changed functions: - devres_for_each_res - devres_add - devres_find - devres_get - devres_remove - release_nodes - release_all - devres_open_group - find_group - devres_remove_group - devres_release_group - devm_krealloc Signed-off-by: Andrea

Re: [PATCH v12 12/13] media: imagination: Round to closest multiple for cropping region

2024-06-06 Thread Sebastian Fricke
Hey, On 04.06.2024 16:23, Devarsh Thakkar wrote: If neither of the flags to round down (V4L2_SEL_FLAG_LE) or round up (V4L2_SEL_FLAG_GE) are specified by the user, then round to nearest multiple of requested value while updating the crop rectangle coordinates. Use the rounding macro which gives

  1   2   >