Re: [PATCH v2 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00

2024-03-04 Thread Krzysztof Kozlowski
On 04/03/2024 17:04, Jérémie Dautheribes wrote: > Add Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel > compatible string. > > Signed-off-by: Jérémie Dautheribes > --- > .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ > 1 file changed, 2 insertions(+)

Re: [PATCH v2 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix

2024-03-04 Thread Krzysztof Kozlowski
On 04/03/2024 17:04, Jérémie Dautheribes wrote: > Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > include "cct" as a vendor prefix for "Crystal Clear Technology". CCT is > the vendor of the CMT430B19N00 TFT-LCD panel. > > Link: http://www.cct.com.my/ > Signed-off-by: Jérémie

Re: [RFC PATCH net-next v6 07/15] page_pool: convert to use netmem

2024-03-04 Thread David Howells
Hi Mina, I recommend you cc linux-mm and Matthew Wilcox on these two patches also. David

[PATCH v7 9/9] usb: misc: onboard_dev: add support for XMOS XVF3500

2024-03-04 Thread Javier Carrasco
The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit multicore controller for voice processing. This device requires a specific power sequence, which consists of enabling the regulators that control the 3V3 and 1V0 device supplies, and a reset de-assertion after a delay of at

[PATCH v7 6/9] ARM: multi_v7_defconfig: update ONBOARD_USB_HUB to ONBOAD_USB_DEV

2024-03-04 Thread Javier Carrasco
The onboard_usb_hub driver has been updated to support non-hub devices, which has led to some renaming. Update to the new name accordingly. Update to the new name (ONBOARD_USB_DEV) accordingly. Reviewed-by: Matthias Kaehlcke Signed-off-by: Javier Carrasco ---

[PATCH v7 5/9] arm64: defconfig: update ONBOARD_USB_HUB to ONBOARD_USB_DEV

2024-03-04 Thread Javier Carrasco
The onboard_usb_hub driver has been updated to support non-hub devices, which has led to some renaming. Update to the new name (ONBOARD_USB_DEV) accordingly. Reviewed-by: Matthias Kaehlcke Signed-off-by: Javier Carrasco --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+),

[PATCH v7 3/9] usb: misc: onboard_hub: rename to onboard_dev

2024-03-04 Thread Javier Carrasco
This patch prepares onboad_hub to support non-hub devices by renaming the driver files and their content, the headers and their references. The comments and descriptions have been slightly modified to keep coherence and account for the specific cases that only affect onboard hubs (e.g. peer-hub).

[PATCH v7 8/9] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor

2024-03-04 Thread Javier Carrasco
The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit multicore controller for voice processing. Add new bindings to define the device properties. [1] https://www.xmos.com/xvf3500/ Reviewed-by: Krzysztof Kozlowski Acked-by: Mark Brown Signed-off-by: Javier Carrasco ---

[PATCH v7 4/9] drm: ci: arm64.config: update ONBOARD_USB_HUB to ONBOARD_USB_DEV

2024-03-04 Thread Javier Carrasco
The onboard_usb_hub driver has been updated to support non-hub devices, which has led to some renaming. Update to the new name (ONBOARD_USB_DEV) accordingly. Acked-by: Helen Koike Reviewed-by: Matthias Kaehlcke Signed-off-by: Javier Carrasco --- drivers/gpu/drm/ci/arm64.config | 4 ++-- 1

[PATCH v7 7/9] usb: misc: onboard_dev: add support for non-hub devices

2024-03-04 Thread Javier Carrasco
Most of the functionality this driver provides can be used by non-hub devices as well. To account for the hub-specific code, add a flag to the device data structure and check its value for hub-specific code. The 'always_powered_in_supend' attribute is only available for hub devices, keeping the

[PATCH v7 1/9] usb: misc: onboard_hub: use pointer consistently in the probe function

2024-03-04 Thread Javier Carrasco
Commit 14485de431b0 ("usb: Use device_get_match_data()") overlooked the already existing pointer to pdev->dev 'dev'. Use the existing pointer 'dev' in device_get_match_data() to keep code consistency. Acked-by: Matthias Kaehlcke Signed-off-by: Javier Carrasco ---

[PATCH v7 0/9] usb: misc: onboard_hub: add support for XMOS XVF3500

2024-03-04 Thread Javier Carrasco
This series adds support for the XMOS XVF3500 VocalFusion Voice Processor[1], a low-latency, 32-bit multicore controller for voice processing. The XVF3500 requires a specific power sequence, which consists of enabling the regulators that control the 3V3 and 1V0 device supplies, and a reset

[PATCH v7 2/9] usb: misc: onboard_hub: use device supply names

2024-03-04 Thread Javier Carrasco
The current implementation uses generic names for the power supplies, which conflicts with proper name definitions in the device bindings. Add a per-device property to include real supply names and keep generic names for existing devices to keep backward compatibility. Acked-by: Matthias

[PATCH] Removed funcs field description for kernel doc warning.

2024-03-04 Thread R SUNDAR
./include/drm/drm_gem_vram_helper.h:185: warning: Excess struct member 'funcs' description in 'drm_vram_mm' Signed-off-by: R SUNDAR --- include/drm/drm_gem_vram_helper.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h

Re: [PATCH] drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused

2024-03-04 Thread Dawei Li
Hi, On Sun, Feb 04, 2024 at 02:23:24PM +0800, Dawei Li wrote: > Kernel test robot reports building error: > > drivers/gpu/drm/xe/xe_lrc.c:544:1: error: unused function > '__xe_lrc_regs_ggtt_addr' [-Werror,-Wunused-function] > 544 | DECL_MAP_ADDR_HELPERS(regs) > | ^~~

Re: [PATCH] Removed funcs field description for kernel doc warning.

2024-03-04 Thread Randy Dunlap
Hi-- On 3/4/24 18:48, R SUNDAR wrote: > /include/drm/drm_gem_vram_helper.h:185: warning: Excess struct member 'funcs' > description in 'drm_vram_mm' > > Signed-off-by: R SUNDAR or https://lore.kernel.org/lkml/20240204145348.56924-1-agarwala.kar...@gmail.com/ or

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Hsin-Yi Wang
On Mon, Mar 4, 2024 at 4:09 PM Jani Nikula wrote: > > On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > > On Mon, Mar 4, 2024 at 12:38 PM Jani Nikula > > wrote: > >> > >> On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > >> > Add a function to check if the EDID base block contains a given string. > >> > >

Re: [RFC] drm/msm: Add GPU memory traces

2024-03-04 Thread Rob Clark
On Mon, Mar 4, 2024 at 5:38 PM Gurchetan Singh wrote: > > > > > On Fri, Mar 1, 2024 at 10:54 AM Rob Clark wrote: >> >> From: Rob Clark >> >> Perfetto can use these traces to track global and per-process GPU memory >> usage. >> >> Signed-off-by: Rob Clark >> --- >> I realized the tracepoint

[RFC PATCH net-next v6 15/15] selftests: add ncdevmem, netcat for devmem TCP

2024-03-04 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,

[RFC PATCH net-next v6 10/15] net: support non paged skb frags

2024-03-04 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 --- v6: - Rebased on top of the merged netmem changes. Changes in v1: - Fix illegal_highdma() (Yunsheng). - Rework napi_pp_put_page()

[RFC PATCH net-next v6 13/15] net: add SO_DEVMEM_DONTNEED setsockopt to release RX frags

2024-03-04 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 ---

[RFC PATCH net-next v6 14/15] net: add devmem TCP documentation

2024-03-04 Thread Mina Almasry
Signed-off-by: Mina Almasry --- v1 -> v2: - Missing spdx (simon) - add to index.rst (simon) --- Documentation/networking/devmem.rst | 271 Documentation/networking/index.rst | 1 + 2 files changed, 272 insertions(+) create mode 100644

[RFC PATCH net-next v6 12/15] tcp: RX path for devmem TCP

2024-03-04 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

[RFC PATCH net-next v6 09/15] memory-provider: dmabuf devmem memory provider

2024-03-04 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

[RFC PATCH net-next v6 11/15] net: add support for skbs with unreadable frags

2024-03-04 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

[RFC PATCH net-next v6 08/15] page_pool: devmem support

2024-03-04 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

[RFC PATCH net-next v6 07/15] page_pool: convert to use netmem

2024-03-04 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

[RFC PATCH net-next v6 06/15] netdev: netdevice devmem allocator

2024-03-04 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:

[RFC PATCH net-next v6 05/15] netdev: support binding dma-buf to netdevice

2024-03-04 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

[RFC PATCH net-next v6 04/15] net: netdev netlink api to bind dma-buf to a net device

2024-03-04 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 --- Changes in v1: - Add rx-queue-type to distingish rx from tx (Jakub) - Return dma-buf ID from netlink

[RFC PATCH net-next v6 03/15] net: page_pool: factor out page_pool recycle check

2024-03-04 Thread Mina Almasry
The check is duplicated in 2 places, factor it out into a common helper. Signed-off-by: Mina Almasry --- net/core/page_pool.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/core/page_pool.c b/net/core/page_pool.c index 8776fcad064a..fe9de4ecce94 100644 ---

[RFC PATCH net-next v6 02/15] net: page_pool: create hooks for custom page providers

2024-03-04 Thread Mina Almasry
From: Jakub Kicinski The page providers which try to reuse the same pages will need to hold onto the ref, even if page gets released from the pool - as in releasing the page from the pp just transfers the "ownership" reference from pp to the provider, and provider will wait for other references

[RFC PATCH net-next v6 01/15] queue_api: define queue api

2024-03-04 Thread Mina Almasry
This API enables the net stack to reset the queues used for devmem. Signed-off-by: Mina Almasry --- include/linux/netdevice.h | 24 1 file changed, 24 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c41019f34179..3105c586355d

[RFC PATCH net-next v6 00/15] Device Memory TCP

2024-03-04 Thread Mina Almasry
RFC v6: === Major Changes: -- This revision largely rebases on top of net-next and addresses the little feedback RFCv5 received. The series remains in RFC because the queue-API ndos defined in this series are not yet implemented. I have a GVE implementation I carry out of tree

Re: [RFC] drm/msm: Add GPU memory traces

2024-03-04 Thread Gurchetan Singh
On Fri, Mar 1, 2024 at 10:54 AM Rob Clark wrote: > From: Rob Clark > > Perfetto can use these traces to track global and per-process GPU memory > usage. > > Signed-off-by: Rob Clark > --- > I realized the tracepoint that perfetto uses to show GPU memory usage > globally and per-process was

[PATCH V2] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)

2024-03-04 Thread Cong Yang
The current measured frame rate is 59.95Hz, which does not meet the requirements of touch-stylus and stylus cannot work normally. After adjustment, the actual measurement is 60.001Hz. Now this panel looks like it's only used by me on the MTK platform, so let's change this set of parameters.

Re: [PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2024-03-04 Thread cong yang
Hi, On Tue, Mar 5, 2024 at 12:51 AM Doug Anderson wrote: > > Hi, > > On Thu, Feb 29, 2024 at 10:11 PM Cong Yang > wrote: > > > > The current measured frame rate is 59.95Hz, which does not meet the > > requirements of touch-stylus and stylus cannot work normally. After > > adjustment, the actual

[PATCH V2 2/2] arm64: dts: imx8mp-beacon-kit: Enable HDMI bridge HPD

2024-03-04 Thread Adam Ford
The DSI to HDMI bridge supports hot-plut-detect, but the driver didn't previously support a shared IRQ GPIO. With the driver updated, the interrupt can be added to the bridge. Signed-off-by: Adam Ford Reviewed-by: Laurent Pinchart --- V2: No Change diff --git

[PATCH V2 1/2] drm/bridge: adv7511: Allow IRQ to share GPIO pins

2024-03-04 Thread Adam Ford
The IRQ registration currently assumes that the GPIO is dedicated to it, but that may not necessarily be the case. If the board has another device sharing the GPIO, it won't be registered and the hot-plug detect fails to function. Currently, the handler reads two registers and blindly assumes one

Re: [PATCH] powerpc: include linux/backlight.h from asm/backlight.h

2024-03-04 Thread Michael Ellerman
Jani Nikula writes: > On Mon, 04 Mar 2024, Jani Nikula wrote: >> Removal of the backlight include from fb.h uncovered an implicit >> dependency in powerpc asm/backlight.h. Add the explicit include. >> >> Reported-by: Naresh Kamboju >> Closes: >>

Re: [PATCH] powerpc: include linux/backlight.h from asm/backlight.h

2024-03-04 Thread Michael Ellerman
Christophe Leroy writes: > Le 04/03/2024 à 11:32, Thomas Zimmermann a écrit : >> Hi >> >> Am 04.03.24 um 10:55 schrieb Jani Nikula: >>> Removal of the backlight include from fb.h uncovered an implicit >>> dependency in powerpc asm/backlight.h. Add the explicit include. >>> >>> Reported-by:

Re: [PATCH v5 00/19] Add support for CDM over DP

2024-03-04 Thread Dmitry Baryshkov
On Thu, 22 Feb 2024 11:39:45 -0800, Paloma Arellano wrote: > The Chroma Down Sampling (CDM) block is a hardware component in the DPU > pipeline that includes a CSC block capable of converting RGB input from > the DPU to YUV data. > > This block can be used with either HDMI, DP, or writeback

Re: [PATCH v4 0/3] drm/msm/dpu: debug commit_done timeouts

2024-03-04 Thread Dmitry Baryshkov
On Mon, 26 Feb 2024 04:27:58 +0200, Dmitry Baryshkov wrote: > In order to debug commit_done timeouts ([1]) display the sticky bits of > the CTL_FLUSH register and capture the devcore dump when the first such > timeout occurs. > > [1] https://gitlab.freedesktop.org/drm/msm/-/issues/33 > > >

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Doug Anderson
Hi, On Mon, Mar 4, 2024 at 4:19 PM Hsin-Yi Wang wrote: > > > > Probably change to u32 drm_edid_get_panel_id(const struct drm_edid > > > *);? Given that we still need to parse id from > > > drm_edid_read_base_block(). > > > > No, we no longer need to parse the id outside of drm_edid.c. You'll

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Hsin-Yi Wang
On Mon, Mar 4, 2024 at 4:09 PM Jani Nikula wrote: > > On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > > On Mon, Mar 4, 2024 at 12:38 PM Jani Nikula > > wrote: > >> > >> On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > >> > Add a function to check if the EDID base block contains a given string. > >> > >

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Jani Nikula
On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > On Mon, Mar 4, 2024 at 12:38 PM Jani Nikula > wrote: >> >> On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: >> > Add a function to check if the EDID base block contains a given string. >> > >> > One of the use cases is fetching panel from a list of panel

[PATCH v3] drm/i915/guc: Use context hints for GT frequency

2024-03-04 Thread Vinay Belgaumkar
Allow user to provide a low latency context hint. When set, KMD sends a hint to GuC which results in special handling for this context. SLPC will ramp the GT frequency aggressively every time it switches to this context. The down freq threshold will also be lower so GuC will ramp down the GT freq

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Dmitry Baryshkov
On Mon, 4 Mar 2024 at 22:38, Jani Nikula wrote: > > On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > > Add a function to check if the EDID base block contains a given string. > > > > One of the use cases is fetching panel from a list of panel names, since > > some panel vendors put the monitor name

Re: [PATCH v3] dt-bindings: display: atmel,lcdc: convert to dtschema

2024-03-04 Thread Rob Herring
ested using the following command. > 'make DT_CHECKER_FLAGS=-m dt_binding_check' > --- > Changes in v3: > - Remove the generic property "bits-per-pixel" > - Link to v2: > https://lore.kernel.org/r/20240304-lcdc-fb-v2-1-a14b463c1...@microchip.com > > Changes

[PATCH 5.15 44/84] fbcon: always restore the old font data in fbcon_do_set_font()

2024-03-04 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby (SUSE) [ Upstream commit 00d6a284fcf3fad1b7e1b5bc3cd87cbfb60ce03f ] Commit a5a923038d70 (fbdev: fbcon: Properly revert changes when vc_resize() failed) started restoring old font

[PATCH 6.1 068/215] fbcon: always restore the old font data in fbcon_do_set_font()

2024-03-04 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby (SUSE) [ Upstream commit 00d6a284fcf3fad1b7e1b5bc3cd87cbfb60ce03f ] Commit a5a923038d70 (fbdev: fbcon: Properly revert changes when vc_resize() failed) started restoring old font

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-04 Thread Helen Koike
Hi Linus, Thank you for your reply and valuable inputs. On 01/03/2024 17:10, Linus Torvalds wrote: On Fri, 1 Mar 2024 at 02:27, Nikolai Kondrashov wrote: I agree, it's hard to imagine even a simple majority agreeing on how GitLab CI should be done. Still, we would like to help people, who

Re: [RFC] How to test panic handlers, without crashing the kernel

2024-03-04 Thread Guilherme G. Piccoli
On 04/03/2024 18:12, John Ogness wrote: > [...] >> The second question is how to simulate a panic context in a >> non-destructive way, so we can test the panic notifiers in CI, without >> crashing the machine. > > I'm wondering if a "fake panic" can be implemented that quiesces all the > other

Re: [PATCH 2/3] drm/panel: add samsung s6e3fa7 panel driver

2024-03-04 Thread Caleb Connolly
On 04/03/2024 21:41, Caleb Connolly wrote: > > > On 09/02/2024 00:16, Richard Acayan wrote: >> The S6E3FA7 display controller is enabled in every Pixel 3a (non-XL) >> variant. Add the driver for it, generated by >> linux-mdss-dsi-panel-driver-generator. >> >> There are other panels connected

Re: [PATCH 2/3] drm/panel: add samsung s6e3fa7 panel driver

2024-03-04 Thread Caleb Connolly
On 09/02/2024 00:16, Richard Acayan wrote: > The S6E3FA7 display controller is enabled in every Pixel 3a (non-XL) > variant. Add the driver for it, generated by > linux-mdss-dsi-panel-driver-generator. > > There are other panels connected to the same S6E3FA7 display controller, > such as the

Re: [PATCH v2] drm/i915/guc: Use context hints for GT freq

2024-03-04 Thread Rodrigo Vivi
On Wed, Feb 28, 2024 at 11:58:06AM -0800, Belgaumkar, Vinay wrote: > > On 2/28/2024 4:54 AM, Tvrtko Ursulin wrote: > > > > On 27/02/2024 23:51, Vinay Belgaumkar wrote: > > > Allow user to provide a low latency context hint. When set, KMD > > > sends a hint to GuC which results in special

[PATCH 6.6 059/143] fbcon: always restore the old font data in fbcon_do_set_font()

2024-03-04 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby (SUSE) [ Upstream commit 00d6a284fcf3fad1b7e1b5bc3cd87cbfb60ce03f ] Commit a5a923038d70 (fbdev: fbcon: Properly revert changes when vc_resize() failed) started restoring old font

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Hsin-Yi Wang
On Mon, Mar 4, 2024 at 12:38 PM Jani Nikula wrote: > > On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > > Add a function to check if the EDID base block contains a given string. > > > > One of the use cases is fetching panel from a list of panel names, since > > some panel vendors put the monitor name

[PATCH 6.7 062/162] fbcon: always restore the old font data in fbcon_do_set_font()

2024-03-04 Thread Greg Kroah-Hartman
6.7-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby (SUSE) [ Upstream commit 00d6a284fcf3fad1b7e1b5bc3cd87cbfb60ce03f ] Commit a5a923038d70 (fbdev: fbcon: Properly revert changes when vc_resize() failed) started restoring old font

Re: [PATCH v2 0/3] panel-simple: add support for Crystal Clear CMT430B19N00

2024-03-04 Thread Rob Herring
On Mon, Mar 04, 2024 at 07:29:04PM +, Conor Dooley wrote: > On Mon, Mar 04, 2024 at 05:04:51PM +0100, Jérémie Dautheribes wrote: > > Hello everyone, > > > > This patch series add support for the Crystal Clear Technology > > CMT430B19N00 4.3" 480x272 TFT-LCD panel. > > It also adds Crystal

Re: [RFC] How to test panic handlers, without crashing the kernel

2024-03-04 Thread John Ogness
[Added printk maintainer and kdb folks] Hi Jocelyn, On 2024-03-01, Jocelyn Falempe wrote: > While writing a panic handler for drm devices [1], I needed a way to > test it without crashing the machine. > So from debugfs, I called > atomic_notifier_call_chain(_notifier_list, ...), but it has

Re: ECC memory semantics for heaps

2024-03-04 Thread John Stultz
On Mon, Mar 4, 2024 at 5:46 AM Maxime Ripard wrote: > On Wed, Feb 28, 2024 at 08:17:55PM -0800, John Stultz wrote: > > On Wed, Feb 28, 2024 at 7:24 AM Maxime Ripard wrote: > > > > > > I'm currently working on a platform that seems to have togglable RAM ECC > > > support. Enabling ECC reduces the

Re: [PATCH 1/2] drm_edid: Add a function to get EDID base block

2024-03-04 Thread Jani Nikula
On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > On Mon, Mar 4, 2024 at 8:17 AM Doug Anderson wrote: >> >> Hi, >> >> On Sun, Mar 3, 2024 at 1:30 PM Dmitry Baryshkov >> wrote: >> > >> > > The problem is that Dmitry didn't like the idea of using a hash and in >> > > v2 Hsin-Yi has moved to using the

Re: [PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Jani Nikula
On Mon, 04 Mar 2024, Hsin-Yi Wang wrote: > Add a function to check if the EDID base block contains a given string. > > One of the use cases is fetching panel from a list of panel names, since > some panel vendors put the monitor name after EDID_DETAIL_MONITOR_STRING > instead of

Re: [PATCH v2 3/3] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-03-04 Thread Hsin-Yi Wang
On Wed, Feb 28, 2024 at 4:22 PM Doug Anderson wrote: > > Hi, > > On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > > > There are 2 different AUO panels using the same panel id. One of the > > variants requires using overridden modes to resolve glitching issue as > > described in commit

Re: [PATCH 1/2] drm_edid: Add a function to get EDID base block

2024-03-04 Thread Hsin-Yi Wang
On Mon, Mar 4, 2024 at 8:17 AM Doug Anderson wrote: > > Hi, > > On Sun, Mar 3, 2024 at 1:30 PM Dmitry Baryshkov > wrote: > > > > > The problem is that Dmitry didn't like the idea of using a hash and in > > > v2 Hsin-Yi has moved to using the name of the display. ...except of > > > course that

[PATCH v3 4/4] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-03-04 Thread Hsin-Yi Wang
There are 2 different AUO panels using the same panel id. One of the variants requires using overridden modes to resolve glitching issue as described in commit 70e0d5550f5c ("drm/panel-edp: Add auo_b116xa3_mode"). Other variants should use the modes parsed from EDID. Signed-off-by: Hsin-Yi Wang

[PATCH v3 3/4] drm/panel: panel-edp: Match edp_panels with panel name

2024-03-04 Thread Hsin-Yi Wang
It's found that some panels have variants that they share the same panel id although their EDID and names are different. When matching generic edp panels, we should first match with both panel id and panel name by checking if edid contains the name string. If not found, match with panel id only.

[PATCH v3 1/4] drm_edid: Add a function to get EDID base block

2024-03-04 Thread Hsin-Yi Wang
It's found that some panels have variants that they share the same panel id although their EDID and names are different. Besides panel id, now we need more information from the EDID base block to distinguish these panel variants. Add drm_edid_get_base_block() to return the EDID base block, which

[PATCH v3 2/4] drm/edid: Add a function to check monitor string

2024-03-04 Thread Hsin-Yi Wang
Add a function to check if the EDID base block contains a given string. One of the use cases is fetching panel from a list of panel names, since some panel vendors put the monitor name after EDID_DETAIL_MONITOR_STRING instead of EDID_DETAIL_MONITOR_NAME. Signed-off-by: Hsin-Yi Wang --- v2->v3:

[PATCH v3 0/4] Match panel with id and name

2024-03-04 Thread Hsin-Yi Wang
This series is a follow up for 1a5e81de180e ("Revert "drm/panel-edp: Add auo_b116xa3_mode""). It's found that 2 different AUO panels use the same product id. One of them requires an overridden mode, while the other should use the mode directly from edid. Match the panel for both name and id. If

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-04 Thread Guenter Roeck
On Mon, Mar 4, 2024 at 9:09 AM Maxime Ripard wrote: [ ...] > > And singling out DRM because it regularly allegedly breaks things on > xtensa or m68k and claiming we're not taking CI seriously because of it > is completely ridiculous. If the all the subsystems were taking CI as > seriously as

Re: [PATCH 2/2] drm/nouveau: move more missing UAPI bits

2024-03-04 Thread Lyude Paul
Reviewed-by: Lyude Paul On Mon, 2024-03-04 at 19:31 +0100, Karol Herbst wrote: > Those are already de-facto UAPI, so let's just move it into the uapi > header. > > Signed-off-by: Karol Herbst > --- > drivers/gpu/drm/nouveau/nouveau_abi16.c | 20 +++- >

Re: [PATCH 1/2] drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf

2024-03-04 Thread Lyude Paul
Reviewed-by: Lyude Paul On Mon, 2024-03-04 at 19:31 +0100, Karol Herbst wrote: > If VM_BIND is enabled on the client the legacy submission ioctl can't be > used, however if a client tries to do so regardless it will return an > error. In this case the clients mutex remained unlocked leading to a

Re: [PATCH v2 0/3] panel-simple: add support for Crystal Clear CMT430B19N00

2024-03-04 Thread Conor Dooley
On Mon, Mar 04, 2024 at 05:04:51PM +0100, Jérémie Dautheribes wrote: > Hello everyone, > > This patch series add support for the Crystal Clear Technology > CMT430B19N00 4.3" 480x272 TFT-LCD panel. > It also adds Crystal Clear Technology to vendor-prefixes.yaml. > > Please note that unfortunately

[PATCH 2/2] drm/nouveau: move more missing UAPI bits

2024-03-04 Thread Karol Herbst
Those are already de-facto UAPI, so let's just move it into the uapi header. Signed-off-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_abi16.c | 20 +++- drivers/gpu/drm/nouveau/nouveau_abi16.h | 12 include/uapi/drm/nouveau_drm.h | 22

[PATCH 1/2] drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf

2024-03-04 Thread Karol Herbst
If VM_BIND is enabled on the client the legacy submission ioctl can't be used, however if a client tries to do so regardless it will return an error. In this case the clients mutex remained unlocked leading to a deadlock inside nouveau_drm_postclose or any other nouveau ioctl call. Fixes:

Re: [PATCH stable v6.7] drm/nouveau: don't fini scheduler before entity flush

2024-03-04 Thread Greg KH
On Mon, Mar 04, 2024 at 07:10:56PM +0100, Danilo Krummrich wrote: > On 3/4/24 18:55, Greg KH wrote: > > On Mon, Mar 04, 2024 at 06:01:46PM +0100, Danilo Krummrich wrote: > > > Cc: # v6.7 only > > You say 6.7 only, but this commit is in 6.6, so why not 6.6 also? > > Good catch, I was sure I

Patch "drm/nouveau: don't fini scheduler before entity flush" has been added to the 6.6-stable tree

2024-03-04 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/nouveau: don't fini scheduler before entity flush to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [PATCH v1 1/1] drm/msm/hdmi: Replace of_gpio.h by proper one

2024-03-04 Thread Dmitry Baryshkov
On Mon, 4 Mar 2024 at 19:51, Andy Shevchenko wrote: > > of_gpio.h is deprecated and subject to remove. > The driver doesn't use it directly, replace it > with what is really being used. > > Signed-off-by: Andy Shevchenko Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/hdmi/hdmi.c |

Re: [PATCH] powerpc: include linux/backlight.h from asm/backlight.h

2024-03-04 Thread Christophe Leroy
Le 04/03/2024 à 11:32, Thomas Zimmermann a écrit : > Hi > > Am 04.03.24 um 10:55 schrieb Jani Nikula: >> Removal of the backlight include from fb.h uncovered an implicit >> dependency in powerpc asm/backlight.h. Add the explicit include. >> >> Reported-by: Naresh Kamboju >> Closes: >>

Re: [PATCH stable v6.7] drm/nouveau: don't fini scheduler before entity flush

2024-03-04 Thread Danilo Krummrich
On 3/4/24 18:55, Greg KH wrote: On Mon, Mar 04, 2024 at 06:01:46PM +0100, Danilo Krummrich wrote: Cc: # v6.7 only You say 6.7 only, but this commit is in 6.6, so why not 6.6 also? Good catch, I was sure I originally merged this for 6.7. This fix should indeed be applied to 6.6 as well.

Re: [PATCH 1/2] drm/msm/dpu: drop unused dpu_kms from interface initialization

2024-03-04 Thread Abhinav Kumar
On 3/4/2024 5:06 AM, Dmitry Baryshkov wrote: On Wed, 28 Feb 2024 at 21:47, Abhinav Kumar wrote: dpu_kms seems unused while initializing DSI, HDMI and DP through their respective _dpu_kms_initialize_* functions. Hence lets drop the parameter altogether. Signed-off-by: Abhinav Kumar ---

Re: [PATCH stable v6.7] drm/nouveau: don't fini scheduler before entity flush

2024-03-04 Thread Greg KH
On Mon, Mar 04, 2024 at 06:01:46PM +0100, Danilo Krummrich wrote: > This bug is present in v6.7 only, since the scheduler design has been > re-worked in v6.8. Now queued up, thanks. greg k-h

Re: [PATCH stable v6.7] drm/nouveau: don't fini scheduler before entity flush

2024-03-04 Thread Greg KH
On Mon, Mar 04, 2024 at 06:01:46PM +0100, Danilo Krummrich wrote: > This bug is present in v6.7 only, since the scheduler design has been > re-worked in v6.8. > > Client scheduler entities must be flushed before an associated GPU > scheduler is teared down. Otherwise the entitiy might still hold

Patch "drm/nouveau: don't fini scheduler before entity flush" has been added to the 6.7-stable tree

2024-03-04 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/nouveau: don't fini scheduler before entity flush to the 6.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[PATCH v1 1/1] drm/msm/hdmi: Replace of_gpio.h by proper one

2024-03-04 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The driver doesn't use it directly, replace it with what is really being used. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/msm/hdmi/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c

[PATCH] drm/drm_connector: Document Colorspace property variants

2024-03-04 Thread Sebastian Wick
The initial idea of the Colorspace prop was that this maps 1:1 to InfoFrames/SDP but KMS does not give user space enough information nor control over the output format to figure out which variants can be used for a given KMS commit. At the same time, properties like Broadcast RGB expect full range

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-04 Thread Guenter Roeck
On Mon, Mar 4, 2024 at 9:09 AM Maxime Ripard wrote: > And singling out DRM because it regularly allegedly breaks things on > xtensa or m68k and claiming we're not taking CI seriously because of it > is completely ridiculous. If the all the subsystems were taking CI as > seriously as DRM, we

Re: [PATCH] drm/panel: panel-edp: Add prepare_to_enable to 200ms for MNC207QS1-1

2024-03-04 Thread Doug Anderson
Hi, On Fri, Mar 1, 2024 at 12:40 AM Zhengqiao Xia wrote: > > For MNC207QS1-1 panel, Splash screen occur when switch from VT1 to VT2. > The BL_EN signal does not conform to the VESA protocol. > BL_EN signal needs to be pulled high after video signal. > So add prepare_to_enable to 200ms. > >

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-04 Thread Maxime Ripard
On Mon, Mar 04, 2024 at 08:17:22AM -0800, Guenter Roeck wrote: > On Mon, Mar 4, 2024 at 8:05 AM Maxime Ripard wrote: > > > > On Mon, Mar 04, 2024 at 07:46:34AM -0800, Guenter Roeck wrote: > > > On Mon, Mar 4, 2024 at 1:24 AM Maxime Ripard wrote: > > > [ ... ] > > > > > > > > If anything, it's

Re: [PATCH v2 1/1] drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfs

2024-03-04 Thread Boris Brezillon
On Mon, 4 Mar 2024 16:04:34 + Steven Price wrote: > On 02/03/2024 15:48, Adrián Larumbe wrote: > > Debugfs isn't always available in production builds that try to squeeze > > every single byte out of the kernel image, but we still need a way to > > toggle the timestamp and cycle counter

[PATCH stable v6.7] drm/nouveau: don't fini scheduler before entity flush

2024-03-04 Thread Danilo Krummrich
This bug is present in v6.7 only, since the scheduler design has been re-worked in v6.8. Client scheduler entities must be flushed before an associated GPU scheduler is teared down. Otherwise the entitiy might still hold a pointer to the scheduler's runqueue which is freed at scheduler tear down

Re: [PATCH v2 6/9] drm/vkms: Add YUV support

2024-03-04 Thread Arthur Grillo
On 04/03/24 12:48, Louis Chauvet wrote: > [...] > >>> @arthur, I will submit a v4 with this: >>> - matrix selection in plane_atomic_update (so it's selected only once) >>> - s64 numbers for matrix >>> - avoiding multiple loop implementation by switching matrix columns >> >> This looks good to

Re: [PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2024-03-04 Thread Doug Anderson
Hi, On Thu, Feb 29, 2024 at 10:11 PM Cong Yang wrote: > > The current measured frame rate is 59.95Hz, which does not meet the > requirements of touch-stylus and stylus cannot work normally. After > adjustment, the actual measurement is 60.001Hz. Now this panel looks > like it's only used by me

Re: [PATCH v8 3/3] drm/buddy: Add user for defragmentation

2024-03-04 Thread Christian König
Am 04.03.24 um 17:32 schrieb Arunpravin Paneer Selvam: Add amdgpu driver as user for the drm buddy defragmentation. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 17 +++-- drivers/gpu/drm/drm_buddy.c | 1 + 2 files

[PATCH v8 2/3] drm/amdgpu: Enable clear page functionality

2024-03-04 Thread Arunpravin Paneer Selvam
Add clear page support in vram memory region. v1(Christian): - Dont handle clear page as TTM flag since when moving the BO back in from GTT again we don't need that. - Make a specialized version of amdgpu_fill_buffer() which only clears the VRAM areas which are not already cleared -

[PATCH v8 3/3] drm/buddy: Add user for defragmentation

2024-03-04 Thread Arunpravin Paneer Selvam
Add amdgpu driver as user for the drm buddy defragmentation. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 17 +++-- drivers/gpu/drm/drm_buddy.c | 1 + 2 files changed, 16 insertions(+), 2 deletions(-) diff --git

[PATCH v8 1/3] drm/buddy: Implement tracking clear page feature

2024-03-04 Thread Arunpravin Paneer Selvam
- Add tracking clear page feature. - Driver should enable the DRM_BUDDY_CLEARED flag if it successfully clears the blocks in the free path. On the otherhand, DRM buddy marks each block as cleared. - Track the available cleared pages size - If driver requests cleared memory we prefer cleared

[PATCH v3 06/10] backlight/pwm-backlight: Remove struct backlight_ops.check_fb

2024-03-04 Thread Thomas Zimmermann
The internal check_fb callback from struct pwm_bl_data is never implemented. The driver's implementation of check_fb always returns true, which is the backlight core's default if no implementation has been set. So remove the code from the driver. v2: * reword commit message

  1   2   3   >