[Bug 219888] amdgpu: Oops connecting HDMI/DVI/DP on DCE6

2025-03-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=219888 --- Comment #9 from Alexandre Demers (alexandre.f.dem...@gmail.com) --- It will be patched in upcoming 6.14, but this should be backported. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching t

[PATCH v2 05/15] dt-bindings: display: mediatek: add OUTPROC yaml for MT8196

2025-03-22 Thread paul-pl . chen
From: Paul-pl Chen Add mediate,outproc.yaml to support OUTPROC for MT8196. MediaTek display overlap output processor, namely OVL_OUTPROC or OUTPROC,handles the post-stage of pixel processing in the overlapping procedure. Signed-off-by: Paul-pl Chen --- .../display/mediatek/mediatek,outproc.yam

[PATCH v20 08/10] drm/shmem-helper: Use refcount_t for pages_use_count

2025-03-22 Thread Dmitry Osipenko
Use atomic refcount_t helper for pages_use_count to optimize pin/unpin functions by skipping reservation locking while GEM's pin refcount > 1. Acked-by: Maxime Ripard Reviewed-by: Boris Brezillon Suggested-by: Boris Brezillon Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_gem_shmem_he

[PATCH v2 13/15] drm/mediatek: add ovlsys_adaptor support for MT8196

2025-03-22 Thread paul-pl . chen
From: Nancy Lin Ovlsys_adaptor is an encapsulated module designed to simplify the DRM control flow. This module is composed of 20 EXDMAs, 20 BLENDERs, and 12 OUTPROCs. Two EXDMAs merge into one layer, allowing the module to support 20 layers for 3 display paths. Ovlsys_adaptor driver is integrate

RE: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats

2025-03-22 Thread Biju Das
Hi Laurent, > -Original Message- > From: Biju Das > Sent: 22 March 2025 09:29 > Subject: RE: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats > > Hi Laurent, > > > -Original Message- > > From: Laurent Pinchart > > Sent: 21 March 2025 22:33 > > Subject: Re: [PATCH] drm:

[PATCH 1/3] bits: split the definition of the asm and non-asm GENMASK*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Vincent Mailhol In an upcoming change, the non-asm GENMASK*() will all be unified to depend on GENMASK_TYPE() which indirectly depend on sizeof(), something not available in asm. Instead of adding further complexity to GENMASK_TYPE() to make it work for both asm and non asm, just split the

[PATCH 3/3] test_bits: add tests for __GENMASK() and __GENMASK_ULL()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Vincent Mailhol The definitions of GENMASK() and GENMASK_ULL() do not depend any more on __GENMASK() and __GENMASK_ULL(). Duplicate the existing unit tests so that __GENMASK{,ULL}() are still covered. Because __GENMASK() and __GENMASK_ULL() do use GENMASK_INPUT_CHECK(), drop the TEST_GENMA

[PATCH 0/3] bits: Split asm and non-asm GENMASK*() and unify definitions

2025-03-22 Thread Vincent Mailhol via B4 Relay
This is a subset of below series: bits: Fixed-type GENMASK_U*() and BIT_U*() Link: https://lore.kernel.org/r/20250308-fixed-type-genmasks-v6-0-f59315e73...@wanadoo.fr Yury suggested to split the above series in two steps: #1 Introduce the new fixed type GENMASK_U*() #2 Consolidate the e

[PATCH 2/3] bits: unify the non-asm GENMASK*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Vincent Mailhol The newly introduced GENMASK_TYPE() macro can also be used to generate the pre-existing non-asm GENMASK*() variants. Apply GENMASK_TYPE() to GENMASK(), GENMASK_ULL() and GENMASK_U128(). Signed-off-by: Vincent Mailhol --- include/linux/bits.h | 26

Re: [PATCH v3 06/11] backlight: Replace fb events with a dedicated function call

2025-03-22 Thread Thomas Zimmermann
Hi Am 18.03.25 um 10:23 schrieb Daniel Thompson: On Thu, Mar 06, 2025 at 03:05:48PM +0100, Thomas Zimmermann wrote: Remove support for fb events from backlight subsystem. Provide the helper backlight_notify_blank_all() instead. Also export the existing helper backlight_notify_blank() to update

Re: [PATCH v4 2/6] drm/panfrost: Use GPU_MMU_FEATURES_VA_BITS/PA_BITS macros

2025-03-22 Thread Adrian Larumbe
On 17.03.2025 11:52, Ariel D'Alessandro wrote: > As done in panthor, define and use these GPU_MMU_FEATURES_* macros, > which makes code easier to read and reuse. > > Signed-off-by: Ariel D'Alessandro > Reviewed-by: Boris Brezillon > Reviewed-by: Steven Price > Reviewed-by: AngeloGioacchino Del R

Re: [PATCH v4 1/6] drm/panfrost: Set IOMMU_CACHE flag

2025-03-22 Thread Adrian Larumbe
On 17.03.2025 11:52, Ariel D'Alessandro wrote: > Panfrost does not support uncached mappings, so flag them properly. Also > flag the pages that are mapped as response to a page fault as cached. > > Signed-off-by: Boris Brezillon > Signed-off-by: Ariel D'Alessandro > Reviewed-by: AngeloGioacchino

Re: [PATCH v4 3/6] drm/panfrost: Set HW_FEATURE_AARCH64_MMU feature flag on Bifrost models

2025-03-22 Thread Adrian Larumbe
On 17.03.2025 11:52, Ariel D'Alessandro wrote: > Set this feature flag on all Mali Bifrost platforms as the MMU supports > AARCH64 4K page table format. > > Signed-off-by: Ariel D'Alessandro > Reviewed-by: Boris Brezillon > Reviewed-by: Steven Price > Reviewed-by: AngeloGioacchino Del Regno >

Re: [PATCH v4 4/6] drm/panfrost: Add support for AARCH64_4K page table format

2025-03-22 Thread Adrian Larumbe
On 17.03.2025 11:52, Ariel D'Alessandro wrote: > Currently, Panfrost only supports MMU configuration in "LEGACY" (as > Bifrost calls it) mode, a (modified) version of LPAE "Large Physical > Address Extension", which in Linux we've called "mali_lpae". > > This commit adds support for conditionally e

Re: [PATCH v1 2/3] dt-bindings: media: mediatek: mdp3: Add compatibles for MT8188 MDP3

2025-03-22 Thread AngeloGioacchino Del Regno
Il 19/02/25 16:38, Nicolas Dufresne ha scritto: Hi Angelo, Le mercredi 18 décembre 2024 à 11:53 +0100, AngeloGioacchino Del Regno a écrit : Add compatible strings for the FG, HDR, RSZ, STITCH, TCC, TDSHP and WROT hardware components found in MediaTek's MT8188 SoC. The firmware for this is mis

Re: [PATCH v2 4/9] drm/panthor: Move GPU info initialization into panthor_hw.c

2025-03-22 Thread Boris Brezillon
On Fri, 21 Mar 2025 09:16:45 +0100 Boris Brezillon wrote: > On Thu, 20 Mar 2025 11:17:36 + > Karunika Choo wrote: > > > This patch moves GPU info initialization into panthor_hw.c in > > preparation of handling GPU register changes. The GPU register reading > > operations to populate gpu_inf

Re: [PATCH v8 2/3] drm/panel: startek-kd070fhfid015: add another init step

2025-03-22 Thread Alexandre Mergnat
Hi Angelo, Thanks for the fast feedback :) On 20/03/2025 13:37, AngeloGioacchino Del Regno wrote: Il 20/03/25 09:48, Alexandre Mergnat ha scritto: Currently, the panel set power, set gpio and enable the display link in stk_panel_prepare, pointed by drm_panel_funcs.prepare, called by panel_bridg

Re: [PATCH] drm/panel-edp: Add panel used by T14s Gen6 Snapdragon (OLED)

2025-03-22 Thread Christopher Obbard
Hi Doug & Dmitry, On Thu, 20 Mar 2025 at 14:10, Doug Anderson wrote: > > Hi, > > On Thu, Mar 20, 2025 at 6:47 AM Dmitry Baryshkov > wrote: > > > > On Thu, Mar 20, 2025 at 12:47:09PM +, Christopher Obbard wrote: > > > The Lenovo Thinkpad T14s Gen6 Snapdragon OLED model has a Samsung > > > pan

[PATCH v7 2/5] bits: introduce fixed-type BIT_U*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Lucas De Marchi Implement fixed-type BIT_U*() to help drivers add stricter checks, like it was done for GENMASK_U*(). Signed-off-by: Lucas De Marchi Acked-by: Jani Nikula Co-developed-by: Vincent Mailhol Signed-off-by: Vincent Mailhol --- Changelog: v6 -> v7: v5 -> v6: - No c

[PATCH -next] drm/xe: Fix unmet direct dependencies warning

2025-03-22 Thread Yue Haibing
WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] Selected by [m]: - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m [=m] && HAS_IOPORT [=y] FB_IOMEM_HELPERS depends on FB_CORE, Select it before

RE: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats

2025-03-22 Thread Biju Das
Hi Kieran, Thanks for the patch. > -Original Message- > From: Kieran Bingham > Sent: 21 March 2025 19:06 > Subject: RE: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats > > Hi Biju, > > Quoting Biju Das (2025-03-21 18:40:50) > > Hi Kieran, > > > > Thanks for the patch. > > > >

[PATCH v7 0/5] bits: Fixed-type GENMASK_U*() and BIT_U*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
Introduce some fixed width variant of the GENMASK() and the BIT() macros in bits.h. Note that the main goal is not to get the correct type, but rather to enforce more checks at compile time. For example: GENMASK_U16(16, 0) will raise a build bug. This series is a continuation of: https://l

[PATCH v7 1/5] bits: introduce fixed-type GENMASK_U*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Vincent Mailhol Add GENMASK_TYPE() which generalizes __GENMASK() to support different types, and implement fixed-types versions of GENMASK() based on it. The fixed-type version allows more strict checks to the min/max values accepted, which is useful for defining registers like implemented

[PATCH v7 5/5] test_bits: add tests for BIT_U*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Vincent Mailhol Add some additional tests in lib/test_bits.c to cover the expected results of the fixed type BIT_U*() macros. Signed-off-by: Vincent Mailhol Reviewed-by: Lucas De Marchi --- Changelog: v6 -> v7: - Add Lucas's Reviewed-by tag. v5 -> v6: - No changes. v4

[PATCH v7 4/5] test_bits: add tests for GENMASK_U*()

2025-03-22 Thread Vincent Mailhol via B4 Relay
From: Lucas De Marchi Add some additional tests in lib/test_bits.c to cover the expected/non-expected values of the fixed-type GENMASK_U*() macros. Also check that the result value matches the expected type. Since those are known at build time, use static_assert() instead of normal kunit tests.

RE: [PATCH v9 3/3] drm/i915/display: Add i915 hook for format_mod_supported_async

2025-03-22 Thread Borah, Chaitanya Kumar
> -Original Message- > From: Murthy, Arun R > Sent: Wednesday, March 19, 2025 4:02 PM > To: dri-devel@lists.freedesktop.org; intel-...@lists.freedesktop.org; intel- > x...@lists.freedesktop.org > Cc: Borah, Chaitanya Kumar ; Murthy, > Arun R > Subject: [PATCH v9 3/3] drm/i915/display: A

RE: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats

2025-03-22 Thread Biju Das
Hi Laurent, > -Original Message- > From: Laurent Pinchart > Sent: 21 March 2025 22:33 > Subject: Re: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats > > Hi Kieran, > > Thank you for the patch. > > On Fri, Mar 21, 2025 at 05:22:19PM +, Kieran Bingham wrote: > > From: Kiera

[PATCH V2] accel/amdxdna: Add BO import and export

2025-03-22 Thread Lizhi Hou
Add amdxdna_gem_prime_export() and amdxdna_gem_prime_import() for BO import and export. Register mmu notifier for imported BO as well. When MMU_NOTIFIER_UNMAP event is received, queue work to remove the notifier. The same BO could be mapped multiple times if it is exported and imported by an appli

Re: [PATCH -next] drm/xe: Fix unmet direct dependencies warning

2025-03-22 Thread Lucas De Marchi
On Sat, Mar 22, 2025 at 05:55:21PM +0800, Yue Haibing wrote: WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] Selected by [m]: - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m [=m] && HAS_IOPORT

[PATCH] drm/edid: Add non-desktop quirk for Playstation VR Headsets with Product ID 0xB403

2025-03-22 Thread devbrones
This fixes a bug where some Playstation VR Headsets would not be assigned the EDID_QUIRK_NON_DESKTOP quirk, causing them to be inaccessible by certain software under Wayland. Signed-off-by: devbrones --- drivers/gpu/drm/drm_edid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/d

Re: [PATCH] drm/msm/adreno: Drop fictional address_space_size

2025-03-22 Thread Dmitry Baryshkov
On Fri, Mar 21, 2025 at 11:54:37AM -0700, Rob Clark wrote: > From: Rob Clark > > Really the only purpose of this was to limit the address space size to > 4GB to avoid 32b rollover problems in 64b pointer math in older sqe fw. > So replace the address_space_size with a quirk limiting the address >

[PATCH v20 09/10] drm/shmem-helper: Switch drm_gem_shmem_vmap/vunmap to use pin/unpin

2025-03-22 Thread Dmitry Osipenko
The vmapped pages shall be pinned in memory and previously get/put_pages() were implicitly hard-pinning/unpinning the pages. This will no longer be the case with addition of memory shrinker because pages_use_count > 0 won't determine anymore whether pages are hard-pinned (they will be soft-pinned),

[PATCH v20 04/10] drm/shmem-helper: Make all exported symbols GPL

2025-03-22 Thread Dmitry Osipenko
Make all drm-shmem exported symbols GPL to make them consistent with the rest of drm-shmem symbols. Acked-by: Maxime Ripard Reviewed-by: Boris Brezillon Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_gem_shmem_helper.c | 16 1 file changed, 8 insertions(+), 8 deletions

[PATCH v20 02/10] drm/gem: Add _locked postfix to functions that have unlocked counterpart

2025-03-22 Thread Dmitry Osipenko
Add _locked postfix to drm_gem functions that have unlocked counterpart functions to make GEM functions naming more consistent and intuitive in regards to the locking requirements. Acked-by: Maxime Ripard Reviewed-by: Boris Brezillon Suggested-by: Boris Brezillon Signed-off-by: Dmitry Osipenko

[PATCH v20 03/10] drm/gem: Document locking rule of vmap and evict callbacks

2025-03-22 Thread Dmitry Osipenko
The vmap/vunmap/evict GEM callbacks are always invoked with a held GEM's reservation lock. Document this locking rule for clarity. Reviewed-by: Boris Brezillon Signed-off-by: Dmitry Osipenko --- include/drm/drm_gem.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/i

[PATCH v20 06/10] drm/shmem-helper: Remove obsoleted is_iomem test

2025-03-22 Thread Dmitry Osipenko
Everything that uses the mapped buffer should be agnostic to is_iomem. The only reason for the is_iomem test is that we're setting shmem->vaddr to the returned map->vaddr. Now that the shmem->vaddr code is gone, remove the obsoleted is_iomem test to clean up the code. Acked-by: Maxime Ripard Sugg

[PATCH v20 07/10] drm/shmem-helper: Add and use pages_pin_count

2025-03-22 Thread Dmitry Osipenko
Add separate pages_pin_count for tracking of whether drm-shmem pages are moveable or not. With the addition of memory shrinker support to drm-shmem, the pages_use_count will no longer determine whether pages are hard-pinned in memory, but whether pages exist and are soft-pinned (and could be swappe

[PATCH v2 0/2] drm/panic: Add support to scanout buffer as array of pages

2025-03-22 Thread Jocelyn Falempe
Some drivers like virtio-gpu, don't map the scanout buffer in the kernel. Calling vmap() in a panic handler is not safe, and writing an atomic_vmap() API is more complex than expected [1]. So instead, pass the array of pages of the scanout buffer to the panic handler, and map only one page at a tim

Re: [PATCH v5 04/16] drm/atomic: Introduce helper to lookup connector by encoder

2025-03-22 Thread Dmitry Baryshkov
On Fri, Mar 21, 2025 at 10:46:56AM +0100, Maxime Ripard wrote: > On Tue, Mar 18, 2025 at 09:00:29PM +0200, Dmitry Baryshkov wrote: > > On Tue, Mar 18, 2025 at 04:51:19PM +0100, Maxime Ripard wrote: > > > On Fri, Mar 14, 2025 at 08:28:22PM +0200, Dmitry Baryshkov wrote: > > > > On Fri, Mar 14, 2025

Re: [PATCH -next] drm/xe: Fix unmet direct dependencies warning

2025-03-22 Thread Yue Haibing
On 2025/3/22 20:51, Lucas De Marchi wrote: > On Sat, Mar 22, 2025 at 05:55:21PM +0800, Yue Haibing wrote: >> WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS >>  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] >>  Selected by [m]: >>  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=

[PATCH] drm/panel: himax-hx8394: transition to mipi_dsi wrapped functions

2025-03-22 Thread Tejas Vipin
Changes the himax-hx8394 panel to use multi style functions for improved error handling. Signed-off-by: Tejas Vipin --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 444 ++--- 1 file changed, 210 insertions(+), 234 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-himax-hx83

[Bug 219888] amdgpu: Oops connecting HDMI/DVI/DP on DCE6

2025-03-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=219888 Alexandre Demers (alexandre.f.dem...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED