[PATCH 0/2] drm: lcdif: Add i.MX93 LCDIF support

2023-01-22 Thread Liu Ying
Hi, This patch set aims to add i.MX93 LCDIF display controller support in the existing LCDIF DRM driver. The LCDIF embedded in i.MX93 SoC is essentially the same to those embedded in i.MX8mp SoC. Through internal bridges, i.MX93 LCDIF may drive a MIPI DSI display or a LVDS display or a parallel

[PATCH 1/2] dt-bindings: lcdif: Add i.MX93 LCDIF support

2023-01-22 Thread Liu Ying
There is one LCDIF embedded in i.MX93 SoC to connect with MIPI DSI controller through LCDIF cross line pattern(controlled by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) directly or connect with a parallel display through parallel display format(also controlled by mediamix blk-ctrl).

[PATCH 2/2] drm: lcdif: Add i.MX93 LCDIF support

2023-01-22 Thread Liu Ying
The LCDIF embedded in i.MX93 SoC is essentially the same to those in i.MX8mp SoC. However, i.MX93 LCDIF may connect with MIPI DSI controller through LCDIF cross line pattern(controlled by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) directly or a parallel display(also through mediam

[RFC PATCH] drm/msm/dpu: move UBWC/memory configuration to separate struct

2023-01-22 Thread Dmitry Baryshkov
UBWC and highest bank settings differ slightly between different DPU units of the same generation, while the dpu_caps and dpu_mdp_cfg are much more stable. To ease configuration reuse move ubwc_swizzle and highest_bank_bit data to separate structure. Signed-off-by: Dmitry Baryshkov --- .../gpu/d

[PATCH] drm/msm/dpu: disable features unsupported by QCM2290

2023-01-22 Thread Dmitry Baryshkov
QCM2290 doesn't seem to support reg-dma, smart-dma, UBWC, CDP, exclusion rectangles and CSC. Drop corresponding features being incorrectly enabled for qcm2290. Cc: Loic Poulain Fixes: 5334087ee743 ("drm/msm: add support for QCM2290 MDSS") Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp

[PATCH v2] drm/msm/dpu: add missing ubwc_swizzle setting to catalog

2023-01-22 Thread Dmitry Baryshkov
Use the values from the vendor DTs to set ubwc_swizzle in the catalog. Signed-off-by: Dmitry Baryshkov --- Changes since v1: - Added data for sc7280 and sm8550 --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/d

Re: [LSF/MM/BPF proposal]: Physr discussion

2023-01-22 Thread Matthew Wilcox
On Sat, Jan 21, 2023 at 11:03:05AM -0400, Jason Gunthorpe wrote: > I would like to have a session at LSF to talk about Matthew's > physr discussion starter: > > https://lore.kernel.org/linux-mm/ydykweu0htv8m...@casper.infradead.org/ I'm definitely interested in discussing phyrs (even if you'd ra

[PATCH v3 2/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through LDB_CTRL and LVDS_CTRL registers. i.MX93 LDB supports only one LVDS channel(channel 0) and it's LVDS_CTRL register bit1 is used as LVDS_EN instead of CH1_EN. Add i.MX93 LDB support in the existing i.MX8mp LDB bridge driver

[PATCH v3 1/2] dt-bindings: display: bridge: ldb: Add i.MX93 LDB

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through 'ldb' register and 'lvds' register. Also, the 'ldb' clock is required. i.MX93 LDB supports only one LVDS channel(channel 0, a.k.a, LVDS Channel-A in the device tree binding documentation), while i.MX8mp LDB supports at mos

[PATCH v3 0/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Hi, This patch set aims to add i.MX93 LVDS Display Bridge(LDB) support in the existing i.MX8mp LDB DRM bridge driver. Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through two registers. i.MX93 LDB supports only one LVDS channel(channel 0) while i.MX8mp supports at most two.

[PATCH v2 3/8] Docs/gpu/index: Add missing SPDX License Identifier

2023-01-22 Thread SeongJae Park
Add missing SPDX License Identifier for gpu documentation index file. Signed-off-by: SeongJae Park --- Documentation/gpu/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst index eee5996acf2c..9a6c7831d7fe 100644 --- a/Documen

[PATCH v2 0/8] Docs: Add missing SPDX license identifiers of

2023-01-22 Thread SeongJae Park
Some subsystem documents are missing SPDX license identifiers on index files. This patchset adds those. Changes from v1 (https://lore.kernel.org/lkml/20230114194741.115855-2...@kernel.org/) - Separate from index file content changes - Separate patch for each subsystem doc (Alex Deucher) - Use MIT

linux-next: duplicate patch in the drm-intel tree

2023-01-22 Thread Stephen Rothwell
Hi all, The following commit is also in Linus Torvalds' tree as a different commit (but the same patch): 0fe76b198d48 ("drm/i915/display: Check source height is > 0") -- Cheers, Stephen Rothwell pgp8xR58N8J3U.pgp Description: OpenPGP digital signature

Re: [PATCH 16/86] drm/drm_print: Minimize include footprint

2023-01-22 Thread Sam Ravnborg
mits/Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 > base: 2e337a8d14bd4b04913d52ccf076be29d846acd7 > patch link: > https://lore.kernel.org/r/20230113-drm-include-v1-v1-16-c5cf72d8a5a2%40ravnborg.org > patch subject: [PATCH 16

Re: [PATCH] agp/amd64: Fix full name of the GPL

2023-01-22 Thread Christophe JAILLET
Le 22/01/2023 à 19:16, Diederik de Haas a écrit : Signed-off-by: Diederik de Haas --- drivers/char/agp/amd64-agp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index ce8651436609..3020fd92fd00 100644 --- a/driv

Re: [PATCH] drm/amd/display: Simplify same effect if/else blocks

2023-01-22 Thread Deepak R Varma
On Sun, Jan 15, 2023 at 12:52:10PM -0800, Joe Perches wrote: > On Sun, 2023-01-15 at 15:30 +0530, Deepak R Varma wrote: > > The if / else block code has same effect irrespective of the logical > > evaluation. Hence, simply the implementation by removing the unnecessary > > conditional evaluation.

[PATCH v2 1/1] Docs/subsystem-apis: Remove '[The ]Linux' prefixes from titles of listed documents

2023-01-22 Thread SeongJae Park
Some documents that listed on subsystem-apis have 'Linux' or 'The Linux' title prefixes. It's duplicated information, and makes finding the document of interest with human eyes not easy. Remove the prefixes from the titles. Signed-off-by: SeongJae Park --- Changes from v1 (https://lore.kernel.o

Re: [PATCH 0/4] drm/amd/display: Use min()/max() helper macros

2023-01-22 Thread Deepak R Varma
On Sun, Jan 15, 2023 at 02:48:45AM +0530, Deepak R Varma wrote: > This patch series proposes using standard min() / max() helper macros instead > of > direct variable comparison using the ternary operator or if/else evaluations. > I > have tested the change using a dummy module and similar simula

Re: [PATCH] drm/sti: Avoid full proxy f_ops for sti debug attributes

2023-01-22 Thread Deepak R Varma
On Wed, Jan 11, 2023 at 01:50:06AM +0530, Deepak R Varma wrote: > Using DEFINE_SIMPLE_ATTRIBUTE macro with the debugfs_create_file() > function adds the overhead of introducing a proxy file operation > functions to wrap the original read/write inside file removal protection > functions. This adds s

Re: [PATCH] drm/tegra: submit: No need for Null pointer check before kfree

2023-01-22 Thread Deepak R Varma
On Mon, Jan 02, 2023 at 11:50:36PM +0530, Deepak R Varma wrote: > On Fri, Dec 30, 2022 at 12:03:25PM +0200, Mikko Perttunen wrote: > > On 12/30/22 12:01, Mikko Perttunen wrote: > > > On 12/30/22 11:15, Stanislaw Gruszka wrote: > > > > On Wed, Dec 28, 2022 at 03:17:59PM +0200, Mikko Perttunen wrote:

Re: [PATCH drm-next 13/14] drm/nouveau: implement new VM_BIND UAPI

2023-01-22 Thread Matthew Brost
On Fri, Jan 20, 2023 at 11:22:45AM +0100, Boris Brezillon wrote: > On Thu, 19 Jan 2023 16:38:06 + > Matthew Brost wrote: > > > On Thu, Jan 19, 2023 at 04:36:43PM +0100, Danilo Krummrich wrote: > > > On 1/19/23 05:58, Matthew Brost wrote: > > > > On Thu, Jan 19, 2023 at 04:44:23AM +0100, Dan

Re: [PATCH v2 00/14] Remove clang's -Qunused-arguments from KBUILD_CPPFLAGS

2023-01-22 Thread Masahiro Yamada
On Thu, Jan 12, 2023 at 12:05 PM Nathan Chancellor wrote: > > Hi all, > > Clang can emit a few different warnings when it encounters a flag that it > recognizes but does not support internally. These warnings are elevated to > errors within {as,cc}-option via -Werror to catch unsupported flags tha

Re: [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties

2023-01-22 Thread Rayyan Ansari
On 22/01/2023 15:31, Rob Herring wrote: On Sat, 21 Jan 2023 15:35:44 +, Rayyan Ansari wrote: Signed-off-by: Rayyan Ansari --- .../devicetree/bindings/display/simple-framebuffer.yaml | 8 1 file changed, 8 insertions(+) My bot found errors running 'make DT_CHECKER_FLAGS=-m

Re: [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties

2023-01-22 Thread Rayyan Ansari
On 22/01/2023 15:36, Rob Herring wrote: On Sat, Jan 21, 2023 at 9:36 AM Rayyan Ansari wrote: Why do you need this change? The 'simple-framebuffer' contains data on how the bootloader configured the display. The bootloader doesn't configure the display size, so this information doesn't belon

Re: [PATCH v2 2/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Marek Vasut
On 1/22/23 13:18, Liu Ying wrote: Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through LDB_CTRL and LVDS_CTRL registers. i.MX93 LDB supports only one LVDS channel(channel 0) and it's LVDS_CTRL register bit1 is used as LVDS_EN instead of CH1_EN. Add i.MX93 LDB support in th

Re: [PATCH] drm: panel-orientation-quirks: Add quirks for One XPlayer handheld variants

2023-01-22 Thread Matthew Anderson
I'm just following up to see where things are standing for this patch. I've seen other orientation patches make it's way to the kernel and am wondering if there is something I need to do on my end. On 12/13/22 11:10 AM, Matthew Anderson wrote: We have more handhelds in the One XPLAYER lineup n

Re: [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties

2023-01-22 Thread Hans de Goede
Hi, On 1/22/23 16:36, Rob Herring wrote: > On Sat, Jan 21, 2023 at 9:36 AM Rayyan Ansari wrote: >> > > Why do you need this change? > > The 'simple-framebuffer' contains data on how the bootloader > configured the display. The bootloader doesn't configure the display > size, so this information

Re: [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties

2023-01-22 Thread Rob Herring
On Sat, Jan 21, 2023 at 9:36 AM Rayyan Ansari wrote: > Why do you need this change? The 'simple-framebuffer' contains data on how the bootloader configured the display. The bootloader doesn't configure the display size, so this information doesn't belong here. The information should already be i

Re: [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties

2023-01-22 Thread Rob Herring
On Sat, 21 Jan 2023 15:35:44 +, Rayyan Ansari wrote: > Signed-off-by: Rayyan Ansari > --- > .../devicetree/bindings/display/simple-framebuffer.yaml | 8 > 1 file changed, 8 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT

Re: [PATCH] drm/bridge: panel: Set orientation on panel_bridge connector

2023-01-22 Thread Laurent Pinchart
Hello, On Sat, Jan 21, 2023 at 05:58:11PM +, John Keeping wrote: > On Sat, Jan 21, 2023 at 09:57:18AM +0100, Sam Ravnborg wrote: > > On Fri, Jan 20, 2023 at 01:44:38PM -0800, Doug Anderson wrote: > > > On Fri, Jan 20, 2023 at 3:43 AM John Keeping wrote: > > > > > > > > Commit 15b9ca1641f0 ("dr

[PATCH v2 2/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through LDB_CTRL and LVDS_CTRL registers. i.MX93 LDB supports only one LVDS channel(channel 0) and it's LVDS_CTRL register bit1 is used as LVDS_EN instead of CH1_EN. Add i.MX93 LDB support in the existing i.MX8mp LDB bridge driver

[PATCH v2 1/2] dt-bindings: display: bridge: ldb: Add i.MX93 LDB

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through 'ldb' register and 'lvds' register. Also, the 'ldb' clock is required. i.MX93 LDB supports only one LVDS channel(channel 0, a.k.a, LVDS Channel-A in the device tree binding documentation), while i.MX8mp LDB supports at mos

[PATCH v2 0/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Hi, This patch set aims to add i.MX93 LVDS Display Bridge(LDB) support in the existing i.MX8mp LDB DRM bridge driver. Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through two registers. i.MX93 LDB supports only one LVDS channel(channel 0) while i.MX8mp supports at most two.

Re: [PATCH v4 2/2] drm/panel: Add driver for the AUO A030JTN01 TFT LCD

2023-01-22 Thread Paul Cercueil
Le dimanche 22 janvier 2023 à 09:59 +0100, Sam Ravnborg a écrit : > Hi Christophe/Paul. > > On Sat, Jan 21, 2023 at 05:24:19PM +0100, Christophe Branchereau > wrote: > > Add driver for the AUO A030JTN01 panel, which is a 320x480 3.0" 4:3 > > 24-bit TFT LCD panel with non-square pixels and a delta-

Re: [PATCH linux-next 2/3] habanalabs: Fix list of /sys/class/habanalabs/hl/status

2023-01-22 Thread Oded Gabbay
On Fri, Jan 20, 2023 at 2:35 PM Bagas Sanjaya wrote: > > Stephen Rothwell reported htmldocs warnings when merging accel tree: > > Documentation/ABI/testing/sysfs-driver-habanalabs:201: ERROR: Unexpected > indentation. > Documentation/ABI/testing/sysfs-driver-habanalabs:201: WARNING: Block quote

Re: [PATCH linux-next 1/3] Documentation: accel: escape wildcard in special file path

2023-01-22 Thread Oded Gabbay
On Fri, Jan 20, 2023 at 5:00 PM Jeffrey Hugo wrote: > > On 1/20/2023 5:35 AM, Bagas Sanjaya wrote: > > Stephen Rothwell reported htmldocs warning then merging accel tree: > > > > Documentation/accel/introduction.rst:72: WARNING: Inline emphasis > > start-string without end-string. > > > > Sphinx

Re: [PATCH 1/2] dt-bindings: display: bridge: ldb: Add i.MX93 LDB device tree binding

2023-01-22 Thread Krzysztof Kozlowski
On 22/01/2023 09:14, Liu Ying wrote: > Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl > through 'ldb' register and 'lvds' register. Also, the 'ldb' clock Subject: drop second/last, redundant "device tree binding". The "dt-bindings" prefix is already stating that these are bind

Re: linux-next: manual merge of the accel tree with the drm-misc tree

2023-01-22 Thread Oded Gabbay
On Fri, Jan 20, 2023 at 2:32 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the accel tree got conflicts in: > > drivers/Makefile > drivers/accel/Kconfig > drivers/accel/Makefile > > between commit: > > 35b137630f08 ("accel/ivpu: Introduce a new DRM driver for Intel

Re: [PATCH v4 2/2] drm/panel: Add driver for the AUO A030JTN01 TFT LCD

2023-01-22 Thread Sam Ravnborg
Hi Christophe/Paul. On Sat, Jan 21, 2023 at 05:24:19PM +0100, Christophe Branchereau wrote: > Add driver for the AUO A030JTN01 panel, which is a 320x480 3.0" 4:3 > 24-bit TFT LCD panel with non-square pixels and a delta-RGB 8-bit > interface. Two small nits about alphabetic ordering - that can be

[PATCH 2/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through LDB_CTRL and LVDS_CTRL registers. i.MX93 LDB supports only one LVDS channel(channel 0) and it's LVDS_CTRL register bit1 is used as LVDS_EN instead of CH1_EN. Add i.MX93 LDB support in the existing i.MX8mp LDB bridge driver

[PATCH 1/2] dt-bindings: display: bridge: ldb: Add i.MX93 LDB device tree binding

2023-01-22 Thread Liu Ying
Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through 'ldb' register and 'lvds' register. Also, the 'ldb' clock is required. i.MX93 LDB supports only one LVDS channel(channel 0, a.k.a, LVDS Channel-A in the device tree binding documentation), while i.MX8mp LDB supports at mos

[PATCH 0/2] drm/bridge: fsl-ldb: Add i.MX93 LDB support

2023-01-22 Thread Liu Ying
Hi, This patch set aims to add i.MX93 LVDS Display Bridge(LDB) support in the existing i.MX8mp LDB DRM bridge driver. Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl through two registers. i.MX93 LDB supports only one LVDS channel(channel 0) while i.MX8mp supports at most two.