Re: [PATCH v3 07/11] drm/mediatek: Add secure layer config support for ovl

2023-12-26 Thread 林睿祥

Re: [PATCH v3 09/11] drm/mediatek: Add secure flow support to mediatek-drm

2023-12-26 Thread 林睿祥

Re: [v3 4/6] drm/vs: Add KMS crtc

2023-12-26 Thread Icenowy Zheng
在 2023-12-07星期四的 19:31 +0800,Keith Zhao写道: > > > On 2023/12/7 16:41, Icenowy Zheng wrote: > > 在 2023-12-04星期一的 20:33 +0800,Keith Zhao写道: > > *snip* > > > > > +static void update_cursor_plane(struct vs_dc *dc, struct > > > vs_plane > > > *plane, > > > +   struct

Re: [PATCH v3 08/11] drm/mediatek: Add secure layer config support for ovl_adaptor

2023-12-26 Thread 林睿祥

Re: [PATCH v3 06/11] drm/mediatek: Add get_sec_port interface to mtk_ddp_comp

2023-12-26 Thread 林睿祥

Re: [PATCH v3 01/11] drm/mediatek: Add interface to allocate MediaTek GEM buffer.

2023-12-26 Thread 林睿祥

Re: [PATCH v2 0/1] Implementation of resource_query_layout

2023-12-26 Thread Gurchetan Singh
On Thu, Dec 21, 2023 at 2:01 AM Julia Zhang wrote: > Hi all, > > Sorry to late reply. This is v2 of the implementation of > resource_query_layout. This adds a new ioctl to let guest query information > of host resource, which is originally from Daniel Stone. We add some > changes to support

Re: [PATCH v2 2/4] drm/panel: Add driver for BOE TH101MB31IG002-28A panel

2023-12-26 Thread Jessica Zhang
On 12/23/2023 7:20 AM, Manuel Traut wrote: From: Alexander Warnecke The BOE TH101MB31IG002-28A panel is a WXGA panel. It is used in Pine64 Pinetab2 and PinetabV. Signed-off-by: Alexander Warnecke Signed-off-by: Manuel Traut --- drivers/gpu/drm/panel/Kconfig | 11 +

Re: [PATCH 2/6] drm/panel: Add driver for BOE TH101MB31IG002-28A panel

2023-12-26 Thread Jessica Zhang
On 12/22/2023 3:05 AM, Manuel Traut wrote: From: Segfault The BOE TH101MB31IG002-28A panel is a WXGA panel. It is used in Pine64 Pinetab2 and PinetabV. Signed-off-by: Segfault Signed-off-by: Manuel Traut --- drivers/gpu/drm/panel/Kconfig | 11 +

[PATCH v2 3/4] drm/i915/guc: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Randy Dunlap
Document nested struct members with full names as described in Documentation/doc-guide/kernel-doc.rst. intel_guc.h:305: warning: Excess struct member 'lock' description in 'intel_guc' intel_guc.h:305: warning: Excess struct member 'guc_ids' description in 'intel_guc' intel_guc.h:305: warning:

[PATCH v2 4/4] drm/i915/perf: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Randy Dunlap
Document nested struct members with full names as described in Documentation/doc-guide/kernel-doc.rst. i915_perf_types.h:341: warning: Excess struct member 'ptr_lock' description in 'i915_perf_stream' i915_perf_types.h:341: warning: Excess struct member 'head' description in 'i915_perf_stream'

[PATCH v2 2/4] drm/i915/gt: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Randy Dunlap
Document nested struct members with full names as described in Documentation/doc-guide/kernel-doc.rst. intel_gsc.h:34: warning: Excess struct member 'gem_obj' description in 'intel_gsc' Also add missing field member descriptions. Signed-off-by: Randy Dunlap Cc: Jani Nikula Cc: Joonas

[PATCH v2 1/4] drm/i915/gem: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Randy Dunlap
Document nested struct members with full names as described in Documentation/doc-guide/kernel-doc.rst. i915_gem_context_types.h:420: warning: Excess struct member 'lock' description in 'i915_gem_context' Signed-off-by: Randy Dunlap Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc:

Re: [PATCH 4/4] drm/i915/perf: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Randy Dunlap
On 12/26/23 09:05, Rodrigo Vivi wrote: > On Wed, Dec 20, 2023 at 07:20:29PM -0800, Randy Dunlap wrote: >> Document nested struct members with full names as described in >> Documentation/doc-guide/kernel-doc.rst. >> >> i915_perf_types.h:341: warning: Excess struct member 'ptr_lock' description

Re: [PATCH] nightly.conf: Add the xe repo to drm-tip

2023-12-26 Thread Rodrigo Vivi
On Fri, Dec 22, 2023 at 12:36:39PM +0100, Thomas Hellström wrote: > Add the xe repo to drm-tip and the dim tools. > For now use the sha1 of the first drm-xe-next pull request for drm-tip, > since that branch tip is currently adapted for our CI testing. > > Cc: Rodrigo Vivi > Cc: Lucas De Marchi

[PULL] drm-xe-next-fixes

2023-12-26 Thread Rodrigo Vivi
Hi Dave and Sima, Here goes the fixes that I had promised last week. With these in place we should be good now with the all yes config W=1 and different compilers. Thanks for already include that one that disables the 32-bit. I had just noticed when I was trying to cherry-pick it to the

[PATCH] drm/vc4: Improve exception handling in vc4_validate_shader()

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 18:22:54 +0100 Memory releases were triggered during error handling only over the label “fail”. 1. Return directly after a call of the function “kcalloc” failed at the beginning. 2. Reduce the data processing at the end to a required kfree() call

Re: [PATCH 4/4] drm/i915/perf: reconcile Excess struct member kernel-doc warnings

2023-12-26 Thread Rodrigo Vivi
On Wed, Dec 20, 2023 at 07:20:29PM -0800, Randy Dunlap wrote: > Document nested struct members with full names as described in > Documentation/doc-guide/kernel-doc.rst. > > i915_perf_types.h:341: warning: Excess struct member 'ptr_lock' description > in 'i915_perf_stream' >

Re: [PATCH v2 0/4] arm64: rockchip: Pine64 pinetab2 support

2023-12-26 Thread Dang Huynh
On Tuesday, December 26, 2023 1:32:32 PM UTC Diederik de Haas wrote: > [5.570059] dwmmc_rockchip fe2c.mmc: could not set regulator OCR > (-22) [5.570835] dwmmc_rockchip fe2c.mmc: failed to enable vmmc > regulator [5.616373] dwmmc_rockchip fe2c.mmc: could not set > regulator

[PATCH 2/2] drm/sched: Return an error code only as a constant in drm_sched_init()

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 16:37:37 +0100 Return an error code without storing it in an intermediate variable. Signed-off-by: Markus Elfring --- drivers/gpu/drm/scheduler/sched_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 1/2] drm/sched: One function call less in drm_sched_init() after error detection

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 16:30:25 +0100 The kfree() function was called in one case by the drm_sched_init() function during error handling even if the passed data structure member contained a null pointer. This issue was detected by using the Coccinelle software. Thus adjust

[PATCH 0/2] drm/sched: Adjustments for drm_sched_init()

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 16:48:48 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): One function call less after error detection Return an error code only as a constant drivers/gpu/drm/scheduler/sched_main.c |

Re: [PATCH v5 0/8] iio: new DMABUF based API, v5

2023-12-26 Thread Jonathan Cameron
On Thu, 21 Dec 2023 18:56:52 +0100 Paul Cercueil wrote: > Hi Jonathan, > > Le jeudi 21 décembre 2023 à 16:30 +, Jonathan Cameron a écrit : > > On Tue, 19 Dec 2023 18:50:01 +0100 > > Paul Cercueil wrote: > > > > > [V4 was: "iio: Add buffer write() support"][1] > > > > > > Hi Jonathan, >

Re: [PATCH v5 7/8] iio: buffer-dmaengine: Support new DMABUF based userspace API

2023-12-26 Thread Jonathan Cameron
On Fri, 22 Dec 2023 09:58:29 +0100 Nuno Sá wrote: > On Thu, 2023-12-21 at 18:30 +0100, Paul Cercueil wrote: > > Hi Jonathan, > > > > Le jeudi 21 décembre 2023 à 16:12 +, Jonathan Cameron a écrit : > > > On Tue, 19 Dec 2023 18:50:08 +0100 > > > Paul Cercueil wrote: > > > > > > > Use

Re: [PATCH v5 6/8] iio: buffer-dma: Enable support for DMABUFs

2023-12-26 Thread Jonathan Cameron
> > > +struct iio_dma_buffer_block * > > > +iio_dma_buffer_attach_dmabuf(struct iio_buffer *buffer, > > > +    struct dma_buf_attachment *attach) > > > +{ > > > +   struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); > > > +   struct

Re: [PATCH v8 2/2] drm/i915/guc: Close deregister-context race against CT-loss

2023-12-26 Thread Rodrigo Vivi
On Wed, Dec 20, 2023 at 11:08:59PM +, Teres Alexis, Alan Previn wrote: > On Wed, 2023-12-13 at 16:23 -0500, Vivi, Rodrigo wrote: > > On Tue, Dec 12, 2023 at 08:57:16AM -0800, Alan Previn wrote: > > > If we are at the end of suspend or very early in resume > > > its possible an async fence

Re: [PATCH v2 0/4] arm64: rockchip: Pine64 pinetab2 support

2023-12-26 Thread Diederik de Haas
On Saturday, 23 December 2023 16:20:14 CET Manuel Traut wrote: > This adds support for the BOE TH101MB31IG002 LCD Panel used in Pinetab2 [1] > and Pinetab-V [2] as well as the devictrees for the Pinetab2 v0.1 and v2.0. I have a PineTab2 4GB/64GB model and I run a Debian Trixie system *from an

Re: [PATCH v2 2/4] drm/mediatek: dsi: Cleanup functions mtk_dsi_ps_control{_vact}()

2023-12-26 Thread Fei Shao
Hi Angelo, On Wed, Dec 20, 2023 at 9:57 PM AngeloGioacchino Del Regno wrote: > > Function mtk_dsi_ps_control() is a subset of mtk_dsi_ps_control_vact(): > merge the two in one mtk_dsi_ps_control() function by adding one > function parameter `config_vact` which, when true, writes the VACT >

Re: [PATCH v2 1/4] drm/mediatek: dsi: Use GENMASK() for register mask definitions

2023-12-26 Thread Fei Shao
Hi Angelo, On Wed, Dec 20, 2023 at 9:57 PM AngeloGioacchino Del Regno wrote: > > Change magic numerical masks with usage of the GENMASK() macro > to improve readability. > > This commit brings no functional changes. > > Signed-off-by: AngeloGioacchino Del Regno > > --- >

Re: [PATCH 3/3] drm: property: Improve four size determinations

2023-12-26 Thread Simon Ser
The whole series is: Reviewed-by: Simon Ser

[PATCH 1/3] drm: property: One function call less in drm_property_create() after error detection

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 08:44:37 +0100 The kfree() function was called in one case by the drm_property_create() function during error handling even if the passed data structure member contained a null pointer. This issue was detected by using the Coccinelle software. Thus

[PATCH 3/3] drm: property: Improve four size determinations

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 09:45:36 +0100 Replace the specification of data structures by pointer dereferences as the parameter for the operator “sizeof” to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was

[PATCH 2/3] drm: property: Delete an unnecessary initialisation in drm_property_create()

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 08:46:12 +0100 The variable “property” will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/drm_property.c | 2 +- 1 file changed, 1

[PATCH 0/3] drm: property: Adjustments for three function implementations

2023-12-26 Thread Markus Elfring
From: Markus Elfring Date: Tue, 26 Dec 2023 10:26:36 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): One function call less in drm_property_create() after error detection Delete an unnecessary initialisation in