RE: [PATCH v11 1/4] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2023-10-02 Thread Biju Das
Hi Rob, > Subject: Re: [PATCH v11 1/4] dt-bindings: display: Document Renesas RZ/G2L > DU bindings > > > On Mon, 02 Oct 2023 13:27:37 +0100, Biju Das wrote: > > The RZ/G2L LCD controller is composed of Frame Compression Processor > > (FCPVD), Video Signal Processor (VSPD), and Display Unit

Re: [PATCH v2 1/3] drm/nouveau: chan: use struct nvif_mclass

2023-10-02 Thread Lyude Paul
For the whole series: Reviewed-by: Lyude Paul On Mon, 2023-10-02 at 15:46 +0200, Danilo Krummrich wrote: > Use actual struct nvif_mclass instead of identical anonymous struct. > > Signed-off-by: Danilo Krummrich > --- > drivers/gpu/drm/nouveau/nouveau_chan.c | 5 + > 1 file changed, 1

Re: [PATCH 0/9] drm: Annotate structs with __counted_by

2023-10-02 Thread Kees Cook
On Mon, Oct 02, 2023 at 08:11:41PM +0200, Christian König wrote: > Am 02.10.23 um 20:08 schrieb Kees Cook: > > On Mon, Oct 02, 2023 at 08:01:57PM +0200, Christian König wrote: > > > Am 02.10.23 um 18:53 schrieb Kees Cook: > > > > On Mon, Oct 02, 2023 at 11:06:19AM -0400, Alex Deucher wrote: > > >

[PATCH V3 0/2] Support Anbernic RG351V Panel

2023-10-02 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic RG351V panel. This panel is mostly identical to the one used in the 353 series, except it has a different panel ID when queried (0x4000 for the 351V, 0x3052 for the 353 panel) and will not work without the inclusion of the

[PATCH V3 1/2] dt-bindings: display: newvision, nv3051d: Add Anbernic 351V

2023-10-02 Thread Chris Morgan
From: Chris Morgan Document the Anbernic RG351V panel, which is identical to the panel used in their 353 series except for in inclusion of an additional DSI format flag. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/newvision,nv3051d.yaml | 5 ++--- 1 file changed, 2

[PATCH V3 2/2] drm/panel: nv3051d: Add Support for Anbernic 351V

2023-10-02 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic 351V. Just like the 353 series the underlying vendor is unknown/unmarked (at least not visible in a non-destructive manner). The panel had slightly different init sequences and timings in the BSP kernel, but works fine with the same ones used in

Re: [PATCH V3 1/2] dt-bindings: display: newvision,nv3051d: Add Anbernic 351V

2023-10-02 Thread Conor Dooley
On Mon, Oct 02, 2023 at 02:30:15PM -0500, Chris Morgan wrote: > From: Chris Morgan > > Document the Anbernic RG351V panel, which is identical to the panel > used in their 353 series except for in inclusion of an additional DSI > format flag. > > Signed-off-by: Chris Morgan Acked-by: Conor

[PATCH v4] drm/i915/display/lspcon: Increase LSPCON mode settle timeout

2023-10-02 Thread Niko Tsirakis
This is to eliminate all cases of "*ERROR* LSPCON mode hasn't settled", followed by link training errors. Intel engineers recommended increasing this timeout and that does resolve the issue. On some CometLake-based device designs the Parade PS175 takes more than 400ms to settle in PCON mode. 100

Re: [PATCH] dma-buf: heaps: Fix off by one in cma_heap_vm_fault()

2023-10-02 Thread T.J. Mercier
On Mon, Oct 2, 2023 at 12:04 AM Dan Carpenter wrote: > > The buffer->pages[] has "buffer->pagecount" elements so this > comparison > has to be changed to >= to avoid reading beyond the end of the array. > The buffer->pages[] array is allocated in cma_heap_allocate(). > > Fixes: a5d2d29e24be

Re: [PATCH] drm/ci: Enable CONFIG_BACKLIGHT_CLASS_DEVICE

2023-10-02 Thread Helen Koike
On 02/10/2023 13:47, Rob Clark wrote: From: Rob Clark Dependency for CONFIG_DRM_PANEL_EDP. Missing this was causing the drm driver to not probe on devices that use panel-edp. Signed-off-by: Rob Clark Thank you a lot! Now sc7180, apq8096 and sdm845 are probing! Tested-by: Helen Koike

Re: [PATCH 0/9] drm: Annotate structs with __counted_by

2023-10-02 Thread Christian König
Am 02.10.23 um 18:53 schrieb Kees Cook: On Mon, Oct 02, 2023 at 11:06:19AM -0400, Alex Deucher wrote: On Mon, Oct 2, 2023 at 5:20 AM Christian König wrote: Am 29.09.23 um 21:33 schrieb Kees Cook: On Fri, 22 Sep 2023 10:32:05 -0700, Kees Cook wrote: This is a batch of patches touching drm

Re: [PATCH 0/9] drm: Annotate structs with __counted_by

2023-10-02 Thread Kees Cook
On Mon, Oct 02, 2023 at 08:01:57PM +0200, Christian König wrote: > Am 02.10.23 um 18:53 schrieb Kees Cook: > > On Mon, Oct 02, 2023 at 11:06:19AM -0400, Alex Deucher wrote: > > > On Mon, Oct 2, 2023 at 5:20 AM Christian König > > > wrote: > > > > Am 29.09.23 um 21:33 schrieb Kees Cook: > > > > >

Re: [PATCH 0/9] drm: Annotate structs with __counted_by

2023-10-02 Thread Christian König
Am 02.10.23 um 20:08 schrieb Kees Cook: On Mon, Oct 02, 2023 at 08:01:57PM +0200, Christian König wrote: Am 02.10.23 um 18:53 schrieb Kees Cook: On Mon, Oct 02, 2023 at 11:06:19AM -0400, Alex Deucher wrote: On Mon, Oct 2, 2023 at 5:20 AM Christian König wrote: Am 29.09.23 um 21:33 schrieb

Re: [PATCH v17 13/18] drm/shmem-helper: Add memory shrinker

2023-10-02 Thread Dmitry Osipenko
On 9/26/23 10:35, Boris Brezillon wrote: >> On 9/15/23 11:46, Boris Brezillon wrote: >>> The naming becomes quite confusing, with drm_gem_shmem_unpin_locked() >>> and drm_gem_shmem_unpin_pages_locked(). By the look of it, it seems to >>> do exactly the opposite of drm_gem_shmem_swapin_locked(),

Re: [PATCH V3 2/2] drm/panel: nv3051d: Add Support for Anbernic 351V

2023-10-02 Thread Jessica Zhang
On 10/2/2023 12:30 PM, Chris Morgan wrote: From: Chris Morgan Add support for the Anbernic 351V. Just like the 353 series the underlying vendor is unknown/unmarked (at least not visible in a non-destructive manner). The panel had slightly different init sequences and timings in the BSP

Re: [PATCH v3 6/7] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-10-02 Thread Stephen Boyd
Quoting Abhinav Kumar (2023-09-28 17:46:11) > On 9/27/2023 3:01 PM, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2023-09-25 09:07:18) > >> > >> However for external DP case, link training can not be guarantee always > >> success without link rate or lane being reduced as Abhinav mentioned. > >> >

linux-next: manual merge of the drm-intel tree with the drm tree

2023-10-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/i915_drv.h between commits: c9517783060a ("drm/i915/dg2: Drop Wa_16011777198") 5a213086a025 ("drm/i915: Eliminate IS_MTL_GRAPHICS_STEP") 81af8abe6513 ("drm/i915: Eliminate IS_MTL_MEDIA_STEP")

Re: [PATCH v2 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Phillip Potter
> From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run time > memory bloat by ~64 bytes per sentinel (further information

Re: [PATCH v4 5/8] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-02 Thread Kuogee Hsieh
On 9/27/2023 2:41 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This lead to msm edp panel can not be detected by edp_panel driver at generic_edp_panel_probe() due to aux dpcd read failed at

Re: [PATCH] drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device

2023-10-02 Thread Doug Anderson
Hi, On Mon, Oct 2, 2023 at 4:54 PM Stephen Boyd wrote: > > The kernel produces a warning splat and the DSI device fails to register > in this driver if the i2c driver probes, populates child auxiliary > devices, and then somewhere in ti_sn_bridge_probe() a function call > returns -EPROBE_DEFER.

Re: [PATCH v17 13/18] drm/shmem-helper: Add memory shrinker

2023-10-02 Thread Dmitry Osipenko
On 9/26/23 10:35, Boris Brezillon wrote: + __drm_gem_shmem_release_pages(shmem); >>> Make sure you drop the implicit pages_use_count ref the sgt had, this >>> way you can still tie the necessity to drop the pages to sgt != NULL in >>> drm_gem_shmem_free(). >> This will require further

[PATCH 1/3] drm/uapi: drm_mode: fix doc typos

2023-10-02 Thread Randy Dunlap
Correct grammar (add s for plural, insert "the"). Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- include/uapi/drm/drm_mode.h |6 +++--- 1 file changed, 3 insertions(+),

[PATCH 2/3] drm/fourcc: fix doc typos

2023-10-02 Thread Randy Dunlap
Correct spelling and remove an extraneous word. Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- include/uapi/drm/drm_fourcc.h | 12 ++-- 1 file changed, 6

[PATCH 3/3] drm/rect: fix kernel-doc typos

2023-10-02 Thread Randy Dunlap
Correct typos of "translated". Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- include/drm/drm_rect.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[RFC PATCH v2 0/1] fence per plane state

2023-10-02 Thread Dongwon Kim
The patch "drm/virtio: new fence for every plane update" is to prevent a fence synchronization problem when multiple planes are referencing a single large FB (i.e. Xorg with multi displays configured as one extended surface.). One example of a possible problematic flow is

[RFC PATCH v2 1/1] drm/virtio: new fence for every plane update

2023-10-02 Thread Dongwon Kim
Having a fence linked to a virtio_gpu_framebuffer in the plane update sequence would cause conflict when several planes referencing the same framebuffer (e.g. Xorg screen covering multi-displays configured for an extended mode) and those planes are updated concurrently. So it is needed to allocate

Re: [PATCH v8 2/5] drm/panfrost: Add fdinfo support GPU load metrics

2023-10-02 Thread kernel test robot
Hi Adrián, kernel test robot noticed the following build warnings: [auto build test WARNING on f45acf7acf75921c0409d452f0165f51a19a74fd] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230930-041528 base:

Re: [PATCH 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-02 Thread Richard Acayan
On Mon, Sep 25, 2023 at 07:26:32PM -0400, Richard Acayan wrote: > The Snapdragon 670 uses similar clocks (with one frequency added) to the > Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU > with configuration from the Pixel 3a downstream kernel. > > Since revision 4.0 is

Re: [PATCH v4 5/8] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-02 Thread Kuogee Hsieh
On 9/27/2023 2:41 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This lead to msm edp panel can not be detected by edp_panel driver at generic_edp_panel_probe() due to aux dpcd read failed at

[PATCH] drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device

2023-10-02 Thread Stephen Boyd
The kernel produces a warning splat and the DSI device fails to register in this driver if the i2c driver probes, populates child auxiliary devices, and then somewhere in ti_sn_bridge_probe() a function call returns -EPROBE_DEFER. When the auxiliary driver probe defers, the dsi device created by

Re: [PATCH v3 6/7] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-10-02 Thread Abhinav Kumar
On 10/2/2023 3:58 PM, Stephen Boyd wrote: Quoting Abhinav Kumar (2023-09-28 17:46:11) On 9/27/2023 3:01 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2023-09-25 09:07:18) However for external DP case, link training can not be guarantee always success without link rate or lane being

Re: [PATCH V3 2/2] drm/panel: nv3051d: Add Support for Anbernic 351V

2023-10-02 Thread Chris Morgan
On Mon, Oct 02, 2023 at 01:33:03PM -0700, Jessica Zhang wrote: > > > On 10/2/2023 12:30 PM, Chris Morgan wrote: > > From: Chris Morgan > > > > Add support for the Anbernic 351V. Just like the 353 series the > > underlying vendor is unknown/unmarked (at least not visible in a > >

Re: [PATCH 1/2] Revert "drm/tidss: Annotate dma-fence critical section in commit path"

2023-10-02 Thread Aradhya Bhatia
On 20-Sep-23 18:27, Tomi Valkeinen wrote: > This reverts commit 4d56a4f08391857ba93465de489707b66adad114. > > The DMA-fence annotations cause a lockdep warning (see below). As per > https://patchwork.freedesktop.org/patch/462170/ it sounds like the > annotations don't work correctly. > >

[PATCH v2 4/6] drm/msm: mdss: add support for SDM670

2023-10-02 Thread Richard Acayan
Add support for the MDSS block on the SDM670 platform. Signed-off-by: Richard Acayan --- drivers/gpu/drm/msm/msm_mdss.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 2e87dd6cb17b..2afb843271aa 100644 ---

[PATCH v2 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)

2023-10-02 Thread Richard Acayan
The Snapdragon 670 uses similar clocks (with one frequency added) to the Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU with configuration from the Pixel 3a downstream kernel. Since revision 4.0 is SDM845, reuse some configuration from its catalog entry. Link:

[PATCH v2 6/6] arm64: dts: qcom: sdm670: add display subsystem

2023-10-02 Thread Richard Acayan
The Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 294 +++ 1 file changed, 294 insertions(+) diff --git

[PATCH v2 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-10-02 Thread Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-10-02 Thread Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller. Acked-by: Rob Herring Signed-off-by: Richard Acayan ---

[PATCH v2 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-10-02 Thread Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation. Signed-off-by: Richard Acayan --- .../display/msm/qcom,sdm670-mdss.yaml | 287 ++ 1 file changed, 287 insertions(+) create mode 100644

[PATCH v2 0/6] SDM670 display subsystem support

2023-10-02 Thread Richard Acayan
Changes since v1 (20230925232625.84-9-mailingrad...@gmail.com): - prefix dsi1 labels with `mdss_` in example dts (3/6) - make all parts of catalog entry const (5/6) - add spaces before closing brackets on same line (5/6) - join opening and closing braces on the same line in dsc array (5/6)

Re: [PATCH] drm/amd/display: add kernel docs for dc_dmub_caps

2023-10-02 Thread Randy Dunlap
On 10/1/23 21:41, Sagar Vashnav wrote: > Add kernel documentation for the dc_dmub_caps structure. > > Signed-off-by: Sagar Vashnav Reviewed-by: Randy Dunlap Thanks. > --- > drivers/gpu/drm/amd/display/dc/dc.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git

[PATCH] dma-buf: heaps: Fix off by one in cma_heap_vm_fault()

2023-10-02 Thread Dan Carpenter
The buffer->pages[] has "buffer->pagecount" elements so this > comparison has to be changed to >= to avoid reading beyond the end of the array. The buffer->pages[] array is allocated in cma_heap_allocate(). Fixes: a5d2d29e24be ("dma-buf: heaps: Move heap-helper logic into the cma_heap

RE: [PATCH v2 0/8] ADV7511 driver enhancements

2023-10-02 Thread Biju Das
Hi All, Gentle ping. Are we happy with this patch serries? Cheers, Biju > -Original Message- > From: Biju Das > Sent: Wednesday, August 30, 2023 3:24 PM > Subject: [PATCH v2 0/8] ADV7511 driver enhancements > > This patch series aims to improve ADV7511 driver by adding feature bits

Re: [PATCH v10 5/9] drm/mediatek: Add connector dynamic selection capability

2023-10-02 Thread 林睿祥

Re: [PATCH] drm/i915/uapi: fix doc typos

2023-10-02 Thread Ville Syrjälä
On Sun, Oct 01, 2023 at 06:08:24PM -0700, Randy Dunlap wrote: > Correct typo of "its". > Add a comma for clarity. > > Signed-off-by: Randy Dunlap > Cc: Jani Nikula > Cc: Joonas Lahtinen > Cc: Rodrigo Vivi > Cc: Tvrtko Ursulin > Cc: intel-...@lists.freedesktop.org > Cc: Maarten Lankhorst >

Re: [PATCH] drm/bridge: adv7511: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Fri, 29 Sep 2023 14:54:19 +0200, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH] drm/bridge: sn65dsi83: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 11:26:22 +0100, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH 0/2] drm/panel: ili9322: Minor regmap improvements

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 11:24:12 +0100, Mark Brown wrote: > These two patches provide some minor improvements to the ili9322 regmap > API usage. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/2] drm/panel: ili9322: Remove redundant

Re: [PATCH v2 0/2] Raydium RM692E5-based BOE panel driver

2023-10-02 Thread Neil Armstrong
Hi, On Fri, 29 Sep 2023 14:54:19 +0200, Konrad Dybcio wrote: > The Fairphone 5 smartphone ships with a BOE AMOLED panel in conjunction > with a Raydium RM692E5 driver IC. This series adds the bindings and driver > for that. > > Thanks, Applied to

Re: [PATCH] drm/bridge: tc358767: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 01:43:13 +0200, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH] drm/bridge: lt9211: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 11:24:49 +0100, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH] drm/bridge: icn6211: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 00:46:38 +0100, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH] drm/bridge: dpc3433: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
Hi, On Sun, 01 Oct 2023 01:42:24 +0200, Mark Brown wrote: > The maple tree register cache is based on a much more modern data structure > than the rbtree cache and makes optimisation choices which are probably > more appropriate for modern systems than those made by the rbtree cache. > >

Re: [PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Jiri Slaby
On 28. 09. 23, 15:21, Joel Granados via B4 Relay wrote: From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-02 Thread Oleksandr Natalenko
Hello. On pondělí 2. října 2023 1:45:44 CEST Bagas Sanjaya wrote: > On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > > Hello. > > > > I've got a VM from a cloud provider, and since v6.5 I observe the following > > kfence splat in dmesg during boot: > > > > ``` > > BUG:

Re: [PATCH v2 2/2] drm/panel: Add driver for BOE RM692E5 AMOLED panel

2023-10-02 Thread Neil Armstrong
On 29/09/2023 14:54, Konrad Dybcio wrote: Add support for the 2700x1224 AMOLED BOE panel bundled with a RM692E5 driver IC, as found on the Fairphone 5 smartphone. Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/panel/Kconfig

Re: [PATCH 2/2] drm/panel: ili9322: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 12:24, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH drm-misc-next v5 3/6] drm/gpuvm: add an abstraction for a VM / BO combination

2023-10-02 Thread kernel test robot
: a4ead6e37e3290cff399e2598d75e98777b69b37 patch link: https://lore.kernel.org/r/20230928191624.13703-4-dakr%40redhat.com patch subject: [PATCH drm-misc-next v5 3/6] drm/gpuvm: add an abstraction for a VM / BO combination reproduce: (https://download.01.org/0day-ci/archive/20231002/202310021416.3jqeztqg

Re: [PATCH 1/2] drm/panel: ili9322: Remove redundant volatle_reg() operation

2023-10-02 Thread Neil Armstrong
On 01/10/2023 12:24, Mark Brown wrote: The ili9322 driver has a volatile_reg() operation in it's regmap which always returns false. This is redundant since it is the default in the regmap core, remove the operation for a trivial code size and performance improvement. Signed-off-by: Mark Brown

Re: [PATCH] MAINTAINERS: drm/ci: add entries for xfail files

2023-10-02 Thread neil . armstrong
On 19/09/2023 20:22, Helen Koike wrote: DRM CI keeps track of which tests are failing, flaking or being skipped by the ci in the expectations files. Add entries for those files to the corresponding driver maintainer, so they can be notified when they change. Signed-off-by: Helen Koike --- For

[PATCH v2] drm: panel-orientation-quirks: Add quirk for One Mix 2S

2023-10-02 Thread Kai Uwe Broulik
The One Mix 2S is a mini laptop with a 1200x1920 portrait screen mounted in a landscape oriented clamshell case. Because of the too generic DMI strings this entry is also doing bios-date matching. Signed-off-by: Kai Uwe Broulik --- Changes since v1: * Got two more BIOS dates reported

[PATCH v3] drm: rcar-du: turn rcar_du_group_get() into void and remove its return value check

2023-10-02 Thread Alexandra Diupina
rcar_du_group_get() never returns a negative error code (always returns 0), so change the comment about returned value, turn function into void (return code of rcar_du_group_get has been redundant for a long time, so perhaps it's just not required) and remove redundant error path handling in

Re: [PATCH v2] drm: rcar-du: turn rcar_du_group_get() into void and remove its return value check

2023-10-02 Thread Александра Дюпина
Hi Laurent, I'm sorry, my mistake. Thank you for your comment, I will be more careful in the future 30.09.2023 17:50, Laurent Pinchart пишет: Using tools to find issues is fine in principle, but not even compile-testing the resulting patch before submitting it is not. Alexandra

Re: [PATCH] drm/bridge: sn65dsi83: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 12:26, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH] drm/bridge: tc358767: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 01:43, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH] drm/i915/uapi: fix doc typos

2023-10-02 Thread Randy Dunlap
Hi-- On 10/1/23 23:47, Ville Syrjälä wrote: > On Sun, Oct 01, 2023 at 06:08:24PM -0700, Randy Dunlap wrote: >> Correct typo of "its". >> Add a comma for clarity. >> >> Signed-off-by: Randy Dunlap >> Cc: Jani Nikula >> Cc: Joonas Lahtinen >> Cc: Rodrigo Vivi >> Cc: Tvrtko Ursulin >> Cc:

Re: [PATCH] drm/bridge: icn6211: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 01:46, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH] drm/bridge: lt9211: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 12:24, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH] drm/bridge: dpc3433: Convert to use maple tree register cache

2023-10-02 Thread Neil Armstrong
On 01/10/2023 01:42, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown ---

Re: [PATCH 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados
On Sat, Sep 30, 2023 at 05:52:17PM +0100, Phillip Potter wrote: > On Fri, Sep 29, 2023 at 02:17:30PM +0200, Joel Granados wrote: > > On Thu, Sep 28, 2023 at 03:36:55PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Sep 28, 2023 at 03:21:26PM +0200, Joel Granados via B4 Relay > > > wrote: > > > >

Re: [PATCH v2] drm/ttm: Make sure the mapped tt pages are decrypted when needed

2023-10-02 Thread Thomas Hellström
Hi, Zack On 9/26/23 19:51, Zack Rusin wrote: From: Zack Rusin Some drivers require the mapped tt pages to be decrypted. In an ideal world this would have been handled by the dma layer, but the TTM page fault handling would have to be rewritten to able to do that. A side-effect of the TTM

[PATCH v2 00/15] sysctl: Remove sentinel elements from drivers

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados What? These commits remove the sentinel element (last empty element) from the sysctl arrays of all the files under the "drivers/" directory that use a sysctl array for registration. The merging of the preparation patches (in

[PATCH v2 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 07/15] macintosh: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 06/15] parport: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 02/15] hpet: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 03/15] xen: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 09/15] char-misc: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

Re: [PATCH] Revert "drm/amd/display: Check all enabled planes in dm_check_crtc_cursor"

2023-10-02 Thread Michel Dänzer
On 10/2/23 12:05, Michel Dänzer wrote: > On 9/29/23 22:41, Hamza Mahfooz wrote: >> From: Ivan Lipski >> >> This reverts commit 45e1ade04b4d60fe5df859076005779f27c4c9be. >> >> Since, it causes the following IGT tests to fail: >> kms_cursor_legacy@cursor-vs-flip.* >>

[PATCH v2 0/5] drm/etnaviv: Various cleanup

2023-10-02 Thread Sui Jingfeng
v2: * refine on v1 and update Sui Jingfeng (5): drm/etnaviv: Drop the second argument of the etnaviv_gem_new_impl() drm/etnaviv: Fix coding style drm/etnaviv: Add helper functions to create and destroy platform device drm/etnaviv: Add a helper to get the first available GPU

[PATCH v2 5/5] drm/etnaviv: Using 'dev' instead of 'etnaviv_obj->base.dev'

2023-10-02 Thread Sui Jingfeng
As in the etnaviv_gem_get_pages() function, the point to the drm_device has already been cached to the 'dev' local variable. We can use it directly, While at it, using 'unsigned int' type to count the number of pages. As the drm_prime_pages_to_sg() function takes an unsigned int type for its third

[PATCH v2 4/5] drm/etnaviv: Add a helper to get the first available GPU device node

2023-10-02 Thread Sui Jingfeng
This patch make the code in the etnaviv_pdev_probe() less twisted, and it also make it easier to drop the reference to device node after finished. Before apply this patch, there is no call to of_node_put() when done. We should call of_node_put() when done. Signed-off-by: Sui Jingfeng ---

[PATCH v2 3/5] drm/etnaviv: Add helper functions to create and destroy platform device

2023-10-02 Thread Sui Jingfeng
The newly introduced functions are etnaviv_create_platform_device() and etnaviv_destroy_platform_device(). Those two function are pure function and can be shared for other use case. Currently, the benefit is that we no longer need to call of_node_put() for three different cases, we only need to

[PATCH v2 1/5] drm/etnaviv: Drop the second argument of the etnaviv_gem_new_impl()

2023-10-02 Thread Sui Jingfeng
The mentioned second parameter is the 'u32 size', but it is not get used by the etnaviv_gem_new_impl() function, so drop it. No functional change. Signed-off-by: Sui Jingfeng --- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Christophe Leroy
Le 02/10/2023 à 10:17, Jiri Slaby a écrit : > On 28. 09. 23, 15:21, Joel Granados via B4 Relay wrote: >> From: Joel Granados >> >> This commit comes at the tail end of a greater effort to remove the >> empty elements at the end of the ctl_table arrays (sentinels) which >> will reduce the

Re: [PATCH v2 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Jiri Slaby
On 02. 10. 23, 10:55, Joel Granados via B4 Relay wrote: From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by

Re: [PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Greg Kroah-Hartman
On Mon, Oct 02, 2023 at 08:47:53AM +, Christophe Leroy wrote: > > > Le 02/10/2023 à 10:17, Jiri Slaby a écrit : > > On 28. 09. 23, 15:21, Joel Granados via B4 Relay wrote: > >> From: Joel Granados > >> > >> This commit comes at the tail end of a greater effort to remove the > >> empty

Re: [PATCH 00/15] sysctl: Remove sentinel elements from drivers

2023-10-02 Thread Christophe Leroy
Le 02/10/2023 à 10:47, Joel Granados a écrit : > On Thu, Sep 28, 2023 at 04:31:30PM +, Christophe Leroy wrote: > I followed this trace and proc_handler is correctly defined in tty_table > (struct ctl_table) in drivers/tty/tty_io.c:tty_init and there is not > path that changes these values.

Re: [PATCH v3] drm/i915/display/lspcon: Increase LSPCON mode settle timeout

2023-10-02 Thread Jani Nikula
On Wed, 16 Aug 2023, Pablo Ceballos wrote: > This is to eliminate all cases of "*ERROR* LSPCON mode hasn't settled", > followed by link training errors. Intel engineers recommended increasing > this timeout and that does resolve the issue. > > On some CometLake-based device designs the Parade

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-02 Thread Bagas Sanjaya
On Mon, Oct 02, 2023 at 08:20:15AM +0200, Oleksandr Natalenko wrote: > Hello. > > On pondělí 2. října 2023 1:45:44 CEST Bagas Sanjaya wrote: > > On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > > > Hello. > > > > > > I've got a VM from a cloud provider, and since v6.5 I

Re: [PATCH 0/5] drm/amd/display: Remove migrate-disable and move memory allocation.

2023-10-02 Thread Sebastian Andrzej Siewior
On 2023-09-22 07:33:26 [+0200], Christian König wrote: > Am 21.09.23 um 16:15 schrieb Sebastian Andrzej Siewior: > > Hi, > > > > I stumbled uppon the amdgpu driver via a bugzilla report. The actual fix > > is #4 + #5 and the rest was made while looking at the code. > > Oh, yes please :) > >

Re: [PATCH 00/15] sysctl: Remove sentinel elements from drivers

2023-10-02 Thread Joel Granados
On Thu, Sep 28, 2023 at 04:31:30PM +, Christophe Leroy wrote: > > > Le 28/09/2023 à 15:21, Joel Granados via B4 Relay a écrit : > > From: Joel Granados > > Automatic test fails on powerpc, see >

[PATCH v2 14/15] Drivers: hv: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 13/15] raid: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 12/15] fw loader: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 05/15] scsi: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 15/15] intel drm: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 08/15] infiniband: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v2 11/15] sgi-xp: Remove the now superfluous sentinel element from ctl_table array

2023-10-02 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

  1   2   >