RE: [PATCH v4 01/11] mtd: core: always create master device

2025-01-18 Thread Usyskin, Alexander
> >> > This streamlines device tree and allows to anchor > >> > runtime power management on master device in all cases. > >> > >> Please explain in more detail why this is needed. > >> If this change makes the overall situation better and breaks > >> no userspace, I'm happy. :-) > >> > > > > The re

Re: [PATCH v3 1/7] dt-bindings: mailbox: mediatek: Add MT8196 support for gce-mailbox

2025-01-18 Thread Jassi Brar
On Thu, Dec 19, 2024 at 11:08 AM Jason-JH.Lin wrote: > > 1. Add compatible name and iommus property to mediatek,gce-mailbox.yaml >for MT8196. > >- The compatible name "mediatek,mt8196-gce-mailbox" is added to > ensure that the device tree can correctly identify and configure > th

Re: [PATCH v4 2/5] drm: adp: Add Apple Display Pipe driver

2025-01-18 Thread Dmitry Baryshkov
On Fri, Jan 17, 2025 at 03:17:32PM +0100, Sasha Finkelstein wrote: > On Fri, 17 Jan 2025 at 11:24, Maxime Ripard wrote: > > > > > > I was thinking about using drmm_ here, as the DRM device is also created > > > and destroyed each time. But I might be mistaken here. > > > > Ah, right, it makes sens

[PATCH] drm/panthor: avoid garbage value in panthor_ioctl_dev_query()

2025-01-18 Thread Su Hui
'priorities_info' is uninitialized, and the uninitialized value is copied to user object when calling PANTHOR_UOBJ_SET(). Using memset to initialize 'priorities_info' to avoid this garbage value problem. Fixes: f7ef2352 ("drm/panthor: Add DEV_QUERY_GROUP_PRIORITIES_INFO dev query") Signed-off

Re: [PATCH 03/12] dt-bindings: display: mediatek: add EXDMA yaml for MT8196

2025-01-18 Thread Krzysztof Kozlowski
On 17/01/2025 11:36, Paul-pl Chen (陳柏霖) wrote: >>> b/Documentation/devicetree/bindings/display/mediatek/mediatek,exdma >>> .yaml >> >> Filename matching compatible. >> >> Why is this in display? DMA goes to dma. > > Hi Krzysztof , > > Regarding the issue of the EXDMA driver, we have conducted an

Re: [PATCH 2/2] drm/tidss: Add support for AM62L display subsystem

2025-01-18 Thread Aradhya Bhatia
Hi Devarsh, Thanks for the patches. On 31/12/24 14:34, Devarsh Thakkar wrote: > Enable display for AM62L DSS [1] which supports only a single display > pipeline using a single overlay manager, single video port and a single > video lite pipeline which does not support scaling. > > The output of

Re: [PATCH 03/12] dt-bindings: display: mediatek: add EXDMA yaml for MT8196

2025-01-18 Thread Krzysztof Kozlowski
On 14/01/2025 06:49, Paul-pl Chen (陳柏霖) wrote: > Hi Rob > Thanks for the advice. > The root cause of the erroneous log message is due to missing power/clock > dependencies. > Once the MTK clock/power header file is upstreamed, So this cannot be merged. Decouple dependencies or wait with your sub

Re: [PATCH 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-01-18 Thread Krzysztof Kozlowski
On Thu, Jan 16, 2025 at 03:25:58PM +0100, Louis-Alexis Eyraud wrote: > This commit adds a compatible for the MediaTek MT8370 SoC, with an > integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core), and adds > platform data using the same supplies and the same power domain lists > as MT8186 (one regu

[PATCH] drm/panfrost: Drop redundant Mediatek driver data

2025-01-18 Thread Krzysztof Kozlowski
mediatek_mt8192_supplies are exactly the same as mediatek_mt8183_b_supplies. mediatek_mt8188_data is exactly the same as &mediatek_mt8183_b_data. There is never point in duplicating all these structures - it only raises questions or encourages bugs when someone updates one variant without changin

Re: [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E

2025-01-18 Thread Krzysztof Kozlowski
On Fri, Jan 17, 2025 at 05:14:36PM +0800, Langyan Ye wrote: > The STARRY 2082109QFH040022-50E is a 10.95" WUXGA TFT LCD panel, > which fits in nicely with the existing panel-boe-tv101wum-nl6 > driver. Hence, we add a new compatible with panel specific config. > > Signed-off-by: Langyan Ye > ---

Re: [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE

2025-01-18 Thread Krzysztof Kozlowski
On Fri, Jan 17, 2025 at 05:14:35PM +0800, Langyan Ye wrote: > The KINGDISPLAY KD110N11-51IE is a 10.95" WUXGA TFT LCD panel, > which fits in nicely with the existing panel-boe-tv101wum-nl6 > driver. Hence, we add a new compatible with panel specific config. > > Signed-off-by: Langyan Ye > --- No

Re: [V7 33/45] drm/colorop: Add 1D Curve Custom LUT type

2025-01-18 Thread Simon Ser
On Friday, January 17th, 2025 at 00:33, Alex Hung wrote: > On 1/15/25 01:14, Simon Ser wrote: > >> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c > >> b/drivers/gpu/drm/drm_atomic_uapi.c > >> index a3e1fcad47ad..4744c12e429d 100644 > >> --- a/drivers/gpu/drm/drm_atomic_uapi.c > >> +++ b/drivers/

Re: [PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-01-18 Thread Krzysztof Kozlowski
On Thu, Jan 16, 2025 at 03:25:57PM +0100, Louis-Alexis Eyraud wrote: > This commit adds a compatible for the MediaTek MT8370 SoC, with an Please do not use "This commit/patch/change", but imperative mood. See longer explanation here: https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/pr

Re: [PATCH v4] drm/i915/slpc: Add sysfs for SLPC power profiles

2025-01-18 Thread Michal Wajdeczko
On 17.01.2025 22:57, Vinay Belgaumkar wrote: > Default SLPC power profile is Base(0). Power Saving mode(1) > has conservative up/down thresholds and is suitable for use with > apps that typically need to be power efficient. > > Selected power profile will be displayed in this format- > > $ cat

Re: [syzbot] [dri?] divide error in drm_mode_debug_printmodeline

2025-01-18 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 9398332f23fab10c5ec57c168b44e72997d6318e Author: Ville Syrjälä Date: Fri Nov 29 04:26:28 2024 + drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11797a18580