Re: [PATCH v4 03/12] dt-bindings: gpu: mali-bifrost: Fix power-domain-names validation

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > Commit ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183") > incorrectly introduced power domain names for MT8183, causing > validation issues. > > Add power-domain-names to the base schema, allowing a maximum of > five

Re: [PATCH v4 04/12] dt-bindings: gpu: mali-bifrost: Add sub-schema for MT8192's power domains

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > MediaTek MT8192 (and similar) needs five power domains for the > Mali GPU and no sram-supply: change the binding to allow so by > also introducing power-domain-names in the generic binding; > while at it, also disallow the

Re: [PATCH v4 05/12] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > Since new platform data was required in Panfrost for getting GPU DVFS > finally working on MediaTek SoCs, add a new "mediatek,mt8183b-mali" > compatible. > > Signed-off-by: AngeloGioacchino Del Regno > > Reviewed-by: Rob

Re: [PATCH v4 06/12] dt-bindings: gpu: mali-bifrost: Add support for MediaTek MT8186

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > MT8186 has a Mali-G52 MC2 2EE GPU (two cores): add a binding with > two power domains (one per core) for it. > > Signed-off-by: AngeloGioacchino Del Regno > > Reviewed-by: Chen-Yu Tsai Tested-by: Chen-Yu Tsai with `make

Re: [PATCH v4] dt-bindings: display: mediatek: clean unnecessary item

2023-03-07 Thread AngeloGioacchino Del Regno
Il 07/03/23 11:07, Alexandre Mergnat ha scritto: The item which have the mediatek,mt8192-disp-ccorr as const compatible already exist above. Merge all compatibles which have the same fallback under the same item. Acked-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat Alexandre, the

Re: [PATCH] drm/rockchip: dsi: Remove the unused function dsi_read()

2023-03-07 Thread Heiko Stuebner
On Wed, 8 Feb 2023 10:34:29 +0800, Jiapeng Chong wrote: > The function dsi_read is defined in the dw-mipi-dsi-rockchip.c file, but > not called elsewhere, so remove this unused function. > > drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:362:19: warning: unused > function 'dsi_read'. > >

[PULL] drm-misc-next

2023-03-07 Thread Maarten Lankhorst
Hi Dave, Daniel, I apparently didn't send my 2023-02-23 pull request or at least don't see it on dri-devel, so I added both shortlogs here. Enjoy! ~Maarten drm-misc-next-2023-03-07: drm-misc-next for v6.4-rc1: UAPI Changes: Cross-subsystem Changes: - Add Neil Armstrong as linaro maintainer.

[PATCH v4] dt-bindings: display: mediatek: clean unnecessary item

2023-03-07 Thread Alexandre Mergnat
The item which have the mediatek,mt8192-disp-ccorr as const compatible already exist above. Merge all compatibles which have the same fallback under the same item. Acked-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- Fix MTK color correction binding The fallback compatible has

Re: [PATCH v4 07/12] dt-bindings: gpu: mali-bifrost: Add compatible for MT8195 SoC

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > The MediaTek MT8195 SoC has a Mali G57 MC5 (Valhall-JM) and has the > same number of power domains and requirements as MT8192 in terms of > bindings. > > Signed-off-by: AngeloGioacchino Del Regno > > Reviewed-by: Rob Herring

Re: [PATCH v4 08/12] drm/panfrost: Increase MAX_PM_DOMAINS to 5

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > From: Alyssa Rosenzweig > > Increase the MAX_PM_DOMAINS constant from 3 to 5, to support the > extra power domains required by the Mali-G57 on the MT8192. > > Signed-off-by: Alyssa Rosenzweig > Signed-off-by: AngeloGioacchino

Re: [PATCH v4 09/12] drm/panfrost: Add the MT8192 GPU ID

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > From: Alyssa Rosenzweig > > MediaTek MT8192 has a Mali-G57 with a special GPU ID. Add its GPU ID, > but treat it as otherwise identical to a standard Mali-G57. > > We do _not_ fix up the GPU ID here -- userspace needs to be

Re: [PATCH v4 10/12] drm/panfrost: Add mediatek, mt8192-mali compatible

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > From: Alyssa Rosenzweig > > Required for Mali-G57 on the Mediatek MT8192 and MT8195, which > uses even more power domains than the MT8183 before it. > > Signed-off-by: Alyssa Rosenzweig > [Angelo: Removed unneeded "sram"

Re: [PATCH v4 11/12] drm/panfrost: Add new compatible for Mali on the MT8183 SoC

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > The "mediatek,mt8183-mali" compatible uses platform data that calls for > getting (and managing) two regulators ("mali" and "sram") but devfreq > does not support this usecase, resulting in DVFS not working. > > Since a lot of

Re: [PATCH v4 12/12] drm/panfrost: Add support for Mali on the MT8186 SoC

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:27 PM AngeloGioacchino Del Regno wrote: > > MediaTek MT8186 has a Mali-G52 MC2 2EE (Bifrost): add a new compatible > and platform data using the same supplies list as "mt8183_b" (only one > regulator), and a new pm_domains list with only two power domains. > >

Re: [Intel-gfx] [PATCH v3 0/2] Fix error propagation amongst request

2023-03-07 Thread Andi Shyti
Hi GG, On Tue, Mar 07, 2023 at 09:33:12AM +0200, Gwan-gyeong Mun wrote: > Hi Andi, > > After applying these two patches, deadlock is being detected in the call > stack below. Please review whether the patch to update the > intel_context_migrate_copy() part affected the deadlock. > >

Re: [PATCH v4 00/12] Panfrost: Improve and add MediaTek SoCs support

2023-03-07 Thread Chen-Yu Tsai
On Tue, Feb 28, 2023 at 6:26 PM AngeloGioacchino Del Regno wrote: > > Changes in v4: > - Refactored power-domains and power-domain-names exclusions as >suggested by Krzysztof > - Small changes in MT8192 bindings addition > > Changes in v3: > - Changed MT8186 bindings to declare only two

Re: [PATCH v15 00/16] drm: Add Samsung MIPI DSIM bridge

2023-03-07 Thread Jagan Teki
Hi Marek, On Tue, Mar 7, 2023 at 1:25 PM Jagan Teki wrote: > > Hi Marek, > > On Tue, Mar 7, 2023 at 4:11 AM Marek Szyprowski > wrote: > > > > Dear Jagan, > > > > On 06.03.2023 18:24, Jagan Teki wrote: > > > On Mon, Mar 6, 2023 at 4:32 PM Marek Szyprowski > > > wrote: > > >> On 04.03.2023

Re: [PATCH 2/2] gpu/drm/panel: Add Lenovo NT36523W BOE panel

2023-03-07 Thread Neil Armstrong
Hi, On 17/02/2023 12:29, Konrad Dybcio wrote: Introduce support for the BOE panel with a NT36523W touch/driver IC found on some Lenovo Tab P11 devices. It's a 2000x1200, 24bit RGB MIPI DSI panel with integrated DCS-controlled backlight (that expects big-endian communication). Signed-off-by:

Re: [PATCH v2 8/9] dt-bindings: display/msm: dsi-controller-main: Add SM6115

2023-03-07 Thread Krzysztof Kozlowski
On 13/02/2023 13:10, Konrad Dybcio wrote: > Add a compatible for the DSI on SM6115. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/display/msm/dsi-controller-main.yaml| 2 ++ > 1 file changed, 2 insertions(+) > > diff --git >

Re: [PATCH 2/2] gpu/drm/panel: Add Lenovo NT36523W BOE panel

2023-03-07 Thread Neil Armstrong
On 17/02/2023 12:29, Konrad Dybcio wrote: Introduce support for the BOE panel with a NT36523W touch/driver IC found on some Lenovo Tab P11 devices. It's a 2000x1200, 24bit RGB MIPI DSI panel with integrated DCS-controlled backlight (that expects big-endian communication). Signed-off-by: Konrad

Re: [PATCH v3 2/2] dt-bindings: display: msm: sm6115-mdss: Fix DSI compatible

2023-03-07 Thread Krzysztof Kozlowski
On 06/03/2023 11:06, Konrad Dybcio wrote: > > > On 6.03.2023 09:57, Krzysztof Kozlowski wrote: >> On 04/03/2023 16:55, Konrad Dybcio wrote: >>> Since the DSI autodetection is bound to work correctly on 6115 now, >>> switch to using the correct per-SoC + generic fallback compatible >>> combo. >>>

Re: [PATCHv4 2/2] i915/display/dp: SDP CRC16 for 128b132b link layer

2023-03-07 Thread Jani Nikula
On Tue, 07 Mar 2023, Jani Nikula wrote: > On Thu, 02 Mar 2023, Arun R Murthy wrote: >> Enable SDP error detection configuration, this will set CRC16 in >> 128b/132b link layer. >> For Display version 13 a hardware bit31 in register VIDEO_DIP_CTL is >> added to enable/disable SDP CRC applicable

Re: [PATCHv4 2/2] i915/display/dp: SDP CRC16 for 128b132b link layer

2023-03-07 Thread Jani Nikula
On Thu, 02 Mar 2023, Arun R Murthy wrote: > Enable SDP error detection configuration, this will set CRC16 in > 128b/132b link layer. > For Display version 13 a hardware bit31 in register VIDEO_DIP_CTL is > added to enable/disable SDP CRC applicable for DP2.0 only, but the > default value of this

Re: [PATCH 00/99] fbdev: Fix memory leak in option parsing

2023-03-07 Thread Geert Uytterhoeven
Hi Thomas, On Tue, Mar 7, 2023 at 9:23 AM Thomas Zimmermann wrote: > Am 07.03.23 um 08:53 schrieb Geert Uytterhoeven: > > On Mon, Mar 6, 2023 at 5:00 PM Thomas Zimmermann > > wrote: > >> Introduce struct option_iter and helpers to parse command-line > >> options with comma-separated key-value

Re: [PATCH 00/22] drm/dma-helper: Add dedicated fbdev emulation

2023-03-07 Thread Thomas Zimmermann
Hi Am 06.03.23 um 23:19 schrieb Linus Walleij: On Wed, Mar 1, 2023 at 4:31 PM Thomas Zimmermann wrote: Add fbdev emulation that is optimized for DMA helpers, as used by most drivers. It operates directly on GEM DMA buffers in system memory. Memory pages are mmap'ed directly to userspace. No

Re: [PATCH 01/99] lib: Add option iterator

2023-03-07 Thread Thomas Zimmermann
Hi Am 06.03.23 um 23:37 schrieb Randy Dunlap: [...] + * + * The call to option_iter_init() initializes the iterator instance + * from the option string. The while loop walks over the individual + * options in the sting and returns each in the second argument. The + * returned memory is owned by

Re: [PATCH 22/99] fbdev/fsl-diu-fb: Duplicate video-mode option string

2023-03-07 Thread Thomas Zimmermann
Hi Am 06.03.23 um 21:04 schrieb Timur Tabi: On Mon, Mar 6, 2023 at 10:01 AM Thomas Zimmermann wrote: Assume that the driver does not own the option string or its substrings and hence duplicate the option string for the video mode. The driver only parses the option string once as part of

Re: [PATCH 11/99] fbdev/aty: Duplicate video-mode option string

2023-03-07 Thread Thomas Zimmermann
Hi Am 06.03.23 um 17:13 schrieb Geert Uytterhoeven: Hi Thomas, Thanks for your patch! On Mon, Mar 6, 2023 at 5:00 PM Thomas Zimmermann wrote: Assume that the driver does not own the option string or its substrings and hence duplicate the option string for the video mode. The driver only

Re: [PATCH 00/99] fbdev: Fix memory leak in option parsing

2023-03-07 Thread Thomas Zimmermann
Hi Geert Am 07.03.23 um 08:53 schrieb Geert Uytterhoeven: Hi Thomas, On Mon, Mar 6, 2023 at 5:00 PM Thomas Zimmermann wrote: Introduce struct option_iter and helpers to parse command-line options with comma-separated key-value pairs. Then convert fbdev drivers to the new interface. Fixes a

Re: [PATCH v3] dt-bindings: display: mediatek: Fix the duplicated fallback

2023-03-07 Thread Krzysztof Kozlowski
On 06/03/2023 17:20, Alexandre Mergnat wrote: > The item which have the mediatek,mt8192-disp-ccorr const compatible already > exist above. Remove duplicated fallback. Your commit msg is really misleading - I was looking for duplicated compatible, but could not find it. You just have there

Re: [PATCH 00/99] fbdev: Fix memory leak in option parsing

2023-03-07 Thread Geert Uytterhoeven
Hi Thomas, On Mon, Mar 6, 2023 at 5:00 PM Thomas Zimmermann wrote: > Introduce struct option_iter and helpers to parse command-line > options with comma-separated key-value pairs. Then convert fbdev > drivers to the new interface. Fixes a memory leak in the parsing of > the video= option. > >

<    1   2   3