Re: [PATCH 1/4] accel/ivpu: Fix FW API data alignment issues

2023-02-03 Thread Jacek Lawrynowicz
Hi, On 02.02.2023 16:04, Jeffrey Hugo wrote: > On 2/2/2023 2:21 AM, Stanislaw Gruszka wrote: >> From: Andrzej Kacprowski >> >> FW API structures have been updated to fix misaligned >> structure members. >> >> Also changed JSM message header format to account for >> future improvements. >> >>

Re: [PATCH] tree-wide: trivial: s/ a SPI/ an SPI/

2023-02-03 Thread Geert Uytterhoeven
Hi Tudor, On Fri, Feb 3, 2023 at 11:17 AM Tudor Ambarus wrote: > The deciding factor for when a/an should be used is the sound > that begins the word which follows these indefinite articles, > rather than the letter which does. Use "an SPI" (SPI begins > with the consonant letter S, but the S is

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Ville Syrjälä
On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: > Userspace has no way of controlling or knowing the pixel encoding > currently, so there is no way for it to ever get the right values here. That applies to a lot of the other values as well (they are explicitly RGB or YCC). The idea

Re: [PATCH v2 1/4] memcg: Track exported dma-buffers

2023-02-03 Thread Tvrtko Ursulin
On 02/02/2023 23:43, T.J. Mercier wrote: On Wed, Feb 1, 2023 at 6:23 AM Tvrtko Ursulin wrote: On 01/02/2023 01:49, T.J. Mercier wrote: On Tue, Jan 31, 2023 at 6:01 AM Tvrtko Ursulin wrote: On 25/01/2023 20:04, T.J. Mercier wrote: On Wed, Jan 25, 2023 at 9:31 AM Tvrtko Ursulin wrote:

Re: [PATCH 2/3] drm/scheduler: Fix elapsed_ns kernel-doc error

2023-02-03 Thread Lucas Stach
Am Freitag, dem 03.02.2023 um 17:02 +0700 schrieb Bagas Sanjaya: > Stephen Rothwell reported htmldocs warnings: > > include/drm/gpu_scheduler.h:232: warning: Incorrect use of kernel-doc format: > * @elapsed_ns > include/drm/gpu_scheduler.h:238: warning: Function parameter or member >

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Sebastian Wick
On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä wrote: > > On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: > > Userspace has no way of controlling or knowing the pixel encoding > > currently, so there is no way for it to ever get the right values here. > > That applies to a lot of

Re: [PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Iddamsetty, Aravind
On 03-02-2023 17:42, Matthew Auld wrote: > On 03/02/2023 11:57, Aravind Iddamsetty wrote: >> Obj flags for shmem objects is not being set correctly. >> >> Cc: Matthew Auld >> Signed-off-by: Aravind Iddamsetty > > Subject should have "drm/i915:" prefix. My bad missed that. > > This is also a

Re: [PATCH v3 0/3] drm/rockchip: dw_hdmi: Add 4k@30 support

2023-02-03 Thread Sascha Hauer
Hi, On Wed, Feb 01, 2023 at 09:23:56AM +0900, FUKAUMI Naoki wrote: > hi, > > I'm trying this patch series with 6.1.x kernel. it works fine on rk356x > based boards (ROCK 3), but it has a problem on rk3399 boards (ROCK 4). > > on rk3399 with this patch, I can see large noise area (about one

[PATCH v2] drm/i915/huc: Add and use HuC oriented print macros

2023-02-03 Thread Michal Wajdeczko
Like we did it for GuC, introduce some helper print macros for HuC to have unified format of messages that also include GT#. While around improve some messages and use %pe if possible. v2: update GSC/PXP timeout message Signed-off-by: Michal Wajdeczko Cc: John Harrison Cc: Daniele Ceraolo

Re: remove arch/sh

2023-02-03 Thread Geert Uytterhoeven
Hi Adrian, On Fri, Feb 3, 2023 at 11:29 AM John Paul Adrian Glaubitz wrote: > On Fri, 2023-02-03 at 09:30 +0100, Christoph Hellwig wrote: > > On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz wrote: > > > Since this is my very first time stepping up as a kernel maintainer, I >

Re: [RESEND PATCH v11 02/18] drm: bridge: panel: Add devm_drm_of_dsi_get_bridge helper

2023-02-03 Thread Jagan Teki
On Fri, Feb 3, 2023 at 1:56 PM Maxime Ripard wrote: > > On Thu, Feb 02, 2023 at 10:22:42PM +0530, Jagan Teki wrote: > > Hi Maxime, > > > > On Mon, Jan 30, 2023 at 6:28 PM Maxime Ripard wrote: > > > > > > On Thu, Jan 26, 2023 at 08:48:48PM +0530, Jagan Teki wrote: > > > > On Thu, Jan 26, 2023 at

Re: [EXT] Re: [PATCH v2 1/1] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2023-02-03 Thread Etienne Carriere
Hell all, +jerome f. On Fri, 3 Feb 2023 at 12:01, Olivier Masse wrote: > > On jeu., 2023-02-02 at 10:58 +0100, Etienne Carriere wrote: > > Caution: EXT Email > > > > On Thu, 2 Feb 2023 at 09:35, Sumit Garg > > wrote: > > > Hi Cyrille, > > > > > > Please don't top post as it makes it harder to

Re: [Intel-gfx] [PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Tvrtko Ursulin
On 03/02/2023 11:57, Aravind Iddamsetty wrote: Obj flags for shmem objects is not being set correctly. Cc: Matthew Auld Signed-off-by: Aravind Iddamsetty Could even be: Fixes: 13d29c823738 ("drm/i915/ehl: unconditionally flush the pages on acquire") Cc: # v5.15+ ? Regards, Tvrtko

Re: [PATCH v2 1/4] memcg: Track exported dma-buffers

2023-02-03 Thread Tvrtko Ursulin
On 02/02/2023 23:43, T.J. Mercier wrote: On Wed, Feb 1, 2023 at 6:52 AM Tvrtko Ursulin wrote: On 01/02/2023 14:23, Tvrtko Ursulin wrote: On 01/02/2023 01:49, T.J. Mercier wrote: On Tue, Jan 31, 2023 at 6:01 AM Tvrtko Ursulin wrote: On 25/01/2023 20:04, T.J. Mercier wrote: On Wed,

Re: [PATCH] tree-wide: trivial: s/ a SPI/ an SPI/

2023-02-03 Thread Mark Brown
On Fri, Feb 03, 2023 at 11:28:03AM +0100, Geert Uytterhoeven wrote: > On Fri, Feb 3, 2023 at 11:17 AM Tudor Ambarus > wrote: > > The deciding factor for when a/an should be used is the sound > > that begins the word which follows these indefinite articles, > > rather than the letter which does.

Re: [Intel-gfx] [PATCH] drm/i915/pxp: limit drm-errors or warnings on firmware API failures

2023-02-03 Thread Tvrtko Ursulin
On 02/02/2023 17:11, Teres Alexis, Alan Previn wrote: On Thu, 2023-02-02 at 08:43 +, Tvrtko Ursulin wrote: On 02/02/2023 08:13, Alan Previn wrote: MESA driver is creating protected context on every driver handle initialization to query caps bit for app. So when running CI tests, they

Re: remove arch/sh

2023-02-03 Thread John Paul Adrian Glaubitz
Hi Christoph! On Fri, 2023-02-03 at 09:30 +0100, Christoph Hellwig wrote: > On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz wrote: > > Since this is my very first time stepping up as a kernel maintainer, I was > > hoping > > to get some pointers on what to do to make this

Re: [RESEND PATCH v11 02/18] drm: bridge: panel: Add devm_drm_of_dsi_get_bridge helper

2023-02-03 Thread Jagan Teki
On Fri, Feb 3, 2023 at 4:19 PM Maxime Ripard wrote: > > On Fri, Feb 03, 2023 at 04:13:49PM +0530, Jagan Teki wrote: > > On Fri, Feb 3, 2023 at 1:56 PM Maxime Ripard wrote: > > > > > > On Thu, Feb 02, 2023 at 10:22:42PM +0530, Jagan Teki wrote: > > > > Hi Maxime, > > > > > > > > On Mon, Jan 30,

[Bug 216119] 087451f372bf76d breaks hibernation on amdgpu Radeon R9 390

2023-02-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216119 --- Comment #51 from Harald Judt (h.j...@gmx.at) --- Ok. After some tests with 6.1.8 and later, things seem to be a bit more stable, though I do not know whether the reason is actually the newer kernel or more exact tests on my part. It now

Re: [EXT] Re: [PATCH v2 1/1] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2023-02-03 Thread Olivier Masse
On jeu., 2023-02-02 at 10:58 +0100, Etienne Carriere wrote: > Caution: EXT Email > > On Thu, 2 Feb 2023 at 09:35, Sumit Garg > wrote: > > Hi Cyrille, > > > > Please don't top post as it makes it harder to follow-up. > > > > On Thu, 2 Feb 2023 at 13:26, Cyrille Fleury > > wrote: > > > Hi

Re: [Intel-gfx] [PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Matthew Auld
On 03/02/2023 12:10, Tvrtko Ursulin wrote: On 03/02/2023 11:57, Aravind Iddamsetty wrote: Obj flags for shmem objects is not being set correctly. Cc: Matthew Auld Signed-off-by: Aravind Iddamsetty Could even be: Fixes: 13d29c823738 ("drm/i915/ehl: unconditionally flush the pages on

Re: linux-next: build warning after merge of the drm tree

2023-02-03 Thread Gustavo Sousa
On Fri, Feb 03, 2023 at 01:46:22PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the drm tree, today's linux-next build (htmldocs) produced > this warning: > > Documentation/gpu/i915:64: drivers/gpu/drm/i915/gt/intel_workarounds.c:32: > WARNING: Inline emphasis start-string without

Re: remove arch/sh

2023-02-03 Thread John Paul Adrian Glaubitz
Hello Christoph! On Fri, 2023-02-03 at 08:14 +0100, Christoph Hellwig wrote: > On Mon, Jan 16, 2023 at 09:52:10AM +0100, John Paul Adrian Glaubitz wrote: > > We have had a discussion between multiple people invested in the SuperH > > port and > > I have decided to volunteer as a co-maintainer of

Re: [RESEND PATCH v11 02/18] drm: bridge: panel: Add devm_drm_of_dsi_get_bridge helper

2023-02-03 Thread Maxime Ripard
On Thu, Feb 02, 2023 at 10:22:42PM +0530, Jagan Teki wrote: > Hi Maxime, > > On Mon, Jan 30, 2023 at 6:28 PM Maxime Ripard wrote: > > > > On Thu, Jan 26, 2023 at 08:48:48PM +0530, Jagan Teki wrote: > > > On Thu, Jan 26, 2023 at 5:42 PM Maxime Ripard wrote: > > > > > > > > Hi, > > > > > > > > On

Re: [PATCH v3 00/19] fix DRM_USE_DYNAMIC_DEBUG regression

2023-02-03 Thread Jani Nikula
On Wed, 25 Jan 2023, Jim Cromie wrote: > Hi everyone, > > In v6.1 DRM_USE_DYNAMIC_DEBUG=y has a regression enabling drm.debug in > drivers at modprobe. I realize we haven't actually addressed the regression in any way yet, and any distro enabling DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE will have

Re: [PATCH 5/6] drm/i915/guc: More debug print updates - GuC SLPC

2023-02-03 Thread Michal Wajdeczko
On 03.02.2023 01:11, john.c.harri...@intel.com wrote: > From: John Harrison > > Update a bunch more debug prints to use the new GT based scheme. > > Signed-off-by: John Harrison > --- > drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c | 8 +-- > drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 60

Re: [EXT] Re: [PATCH v2 1/1] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2023-02-03 Thread Sumit Garg
On Fri, 3 Feb 2023 at 16:31, Olivier Masse wrote: > > On jeu., 2023-02-02 at 10:58 +0100, Etienne Carriere wrote: > > Caution: EXT Email > > > > On Thu, 2 Feb 2023 at 09:35, Sumit Garg > > wrote: > > > Hi Cyrille, > > > > > > Please don't top post as it makes it harder to follow-up. > > > > > >

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-02-03 Thread Linux kernel regression tracking (#update)
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 05.01.23 13:28, Thorsten Leemhuis wrote: > On 28.12.22 15:49, Diogo Ivo wrote: >> Hello, >> >> Commit 2541626cfb79 breaks GM20B probe with >> the following kernel log: >

Re: [PATCH 2/6] drm/i915/guc: More debug print updates - GSC firmware

2023-02-03 Thread Michal Wajdeczko
On 03.02.2023 01:11, john.c.harri...@intel.com wrote: > From: John Harrison > > Update a bunch more debug prints to use the new GT based scheme. > > Signed-off-by: John Harrison > --- > drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 8 +++- > drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c | 7

[PATCH 3/3] media: v4l2-core: Describe privacy_led field of v4l2_subdev

2023-02-03 Thread Bagas Sanjaya
Stephen Rothwell reported htmldocs warning: include/media/v4l2-subdev.h:1088: warning: Function parameter or member 'privacy_led' not described in 'v4l2_subdev' Describe privacy_led field to fix the warning. Link: https://lore.kernel.org/linux-next/20230203135303.32da1...@canb.auug.org.au/

[PATCH 1/3] drm/i915/doc: Escape wildcard in method names

2023-02-03 Thread Bagas Sanjaya
Stephen Rothwell reported htmldocs warnings: Documentation/gpu/i915:64: drivers/gpu/drm/i915/gt/intel_workarounds.c:32: WARNING: Inline emphasis start-string without end-string. Documentation/gpu/i915:64: drivers/gpu/drm/i915/gt/intel_workarounds.c:57: WARNING: Inline emphasis start-string

[PATCH 2/3] drm/scheduler: Fix elapsed_ns kernel-doc error

2023-02-03 Thread Bagas Sanjaya
Stephen Rothwell reported htmldocs warnings: include/drm/gpu_scheduler.h:232: warning: Incorrect use of kernel-doc format: * @elapsed_ns include/drm/gpu_scheduler.h:238: warning: Function parameter or member 'elapsed_ns' not described in 'drm_sched_entity' Fix the error by appending

[PATCH 0/3] htmldocs fixes for next-20230203

2023-02-03 Thread Bagas Sanjaya
Here are small htmldocs fixes for htmldocs warnings that are recently reported for next-20230203. Each patch can be applied separately by respective maintainers. Bagas Sanjaya (3): drm/i915/doc: Escape wildcard in method names drm/scheduler: Fix elapsed_ns kernel-doc error media: v4l2-core

Re: [PATCH 6/6] drm/i915/guc: More debug print updates - GuC logging

2023-02-03 Thread Michal Wajdeczko
On 03.02.2023 01:11, john.c.harri...@intel.com wrote: > From: John Harrison > > Update a bunch more debug prints to use the new GT based scheme. > > Signed-off-by: John Harrison > --- > drivers/gpu/drm/i915/gt/intel_gt_print.h | 3 +++ > drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 3

[PATCH] tree-wide: trivial: s/ a SPI/ an SPI/

2023-02-03 Thread Tudor Ambarus
The deciding factor for when a/an should be used is the sound that begins the word which follows these indefinite articles, rather than the letter which does. Use "an SPI" (SPI begins with the consonant letter S, but the S is pronounced with its letter name, "es."). Used sed to do the

Re: [RESEND PATCH v11 02/18] drm: bridge: panel: Add devm_drm_of_dsi_get_bridge helper

2023-02-03 Thread Maxime Ripard
On Fri, Feb 03, 2023 at 04:13:49PM +0530, Jagan Teki wrote: > On Fri, Feb 3, 2023 at 1:56 PM Maxime Ripard wrote: > > > > On Thu, Feb 02, 2023 at 10:22:42PM +0530, Jagan Teki wrote: > > > Hi Maxime, > > > > > > On Mon, Jan 30, 2023 at 6:28 PM Maxime Ripard wrote: > > > > > > > > On Thu, Jan 26,

[PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Aravind Iddamsetty
Obj flags for shmem objects is not being set correctly. Cc: Matthew Auld Signed-off-by: Aravind Iddamsetty --- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c

Re: [PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Matthew Auld
On 03/02/2023 11:57, Aravind Iddamsetty wrote: Obj flags for shmem objects is not being set correctly. Cc: Matthew Auld Signed-off-by: Aravind Iddamsetty Subject should have "drm/i915:" prefix. This is also a bug fix due to not setting BO_ALLOC_USER (the other flags don't seem to matter

Re: [PATCH v12 00/18] drm: Add Samsung MIPI DSIM bridge

2023-02-03 Thread Rasmus Villemoes
On 01/02/2023 23.00, Marek Vasut wrote: > On 1/30/23 13:45, Rasmus Villemoes wrote: >> On 27/01/2023 12.30, Marek Vasut wrote: >>> On 1/27/23 12:04, Jagan Teki wrote: >> > Thanks, but that's exactly what I'm doing, and I don't see any > modification of imx8mp.dtsi in that branch. I'm

Re: [PATCH] tree-wide: trivial: s/ a SPI/ an SPI/

2023-02-03 Thread Tudor Ambarus
On 2/3/23 11:47, Mark Brown wrote: On Fri, Feb 03, 2023 at 11:28:03AM +0100, Geert Uytterhoeven wrote: On Fri, Feb 3, 2023 at 11:17 AM Tudor Ambarus wrote: The deciding factor for when a/an should be used is the sound that begins the word which follows these indefinite articles, rather

Re: [Intel-gfx] [PATCH] Initialize the obj flags for shmem objects

2023-02-03 Thread Iddamsetty, Aravind
On 03-02-2023 17:40, Tvrtko Ursulin wrote: > > > On 03/02/2023 11:57, Aravind Iddamsetty wrote: >> Obj flags for shmem objects is not being set correctly. >> >> Cc: Matthew Auld >> Signed-off-by: Aravind Iddamsetty > > Could even be: > > Fixes: 13d29c823738 ("drm/i915/ehl: unconditionally

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

2023-02-03 Thread Neil Armstrong
On 03/02/2023 01:45, Doug Anderson wrote: Hi, On Mon, Jan 23, 2023 at 8:05 AM Laurent Pinchart wrote: Hi John, On Mon, Jan 23, 2023 at 12:16:45PM +, John Keeping wrote: On Sun, Jan 22, 2023 at 05:01:27PM +0200, Laurent Pinchart wrote: On Sat, Jan 21, 2023 at 05:58:11PM +, John

Re: [Intel-gfx] [PATCH 4/6] drm/i915/guc: More debug print updates - GuC selftests

2023-02-03 Thread Michal Wajdeczko
On 03.02.2023 01:11, john.c.harri...@intel.com wrote: > From: John Harrison > > Update a bunch more debug prints to use the new GT based scheme. > > Signed-off-by: John Harrison > --- > drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 35 ++- >

Re: remove arch/sh

2023-02-03 Thread John Paul Adrian Glaubitz
Hi Geert! On Fri, 2023-02-03 at 11:33 +0100, Geert Uytterhoeven wrote: > Hi Adrian, > > On Fri, Feb 3, 2023 at 11:29 AM John Paul Adrian Glaubitz > wrote: > > On Fri, 2023-02-03 at 09:30 +0100, Christoph Hellwig wrote: > > > On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz

Re: [RESEND PATCH v11 02/18] drm: bridge: panel: Add devm_drm_of_dsi_get_bridge helper

2023-02-03 Thread Maxime Ripard
On Fri, Feb 03, 2023 at 04:28:30PM +0530, Jagan Teki wrote: > On Fri, Feb 3, 2023 at 4:19 PM Maxime Ripard wrote: > > > > On Fri, Feb 03, 2023 at 04:13:49PM +0530, Jagan Teki wrote: > > > On Fri, Feb 3, 2023 at 1:56 PM Maxime Ripard wrote: > > > > > > > > On Thu, Feb 02, 2023 at 10:22:42PM

Re: [EXT] Re: [PATCH v2 1/1] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2023-02-03 Thread Jerome Forissier
On 2/3/23 12:37, Etienne Carriere wrote: > Hell all, > > +jerome f. > > On Fri, 3 Feb 2023 at 12:01, Olivier Masse wrote: >> >> On jeu., 2023-02-02 at 10:58 +0100, Etienne Carriere wrote: >>> Caution: EXT Email >>> >>> On Thu, 2 Feb 2023 at 09:35, Sumit Garg >>> wrote: Hi Cyrille,

Re: [PATCH 01/22] gpu/drm: remove the shmobile drm driver

2023-02-03 Thread Laurent Pinchart
On Fri, Feb 03, 2023 at 08:15:06AM +0100, Christoph Hellwig wrote: > So given that the big series doesn't go in, can we get this removal > picked up through the drm tree? Geert has a board with an ARM-based SoC compatible with this driver, and he expressed interest in taking over maintainership.

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Sebastian Wick
On Fri, Feb 3, 2023 at 2:35 PM Ville Syrjälä wrote: > > On Fri, Feb 03, 2023 at 01:59:07PM +0100, Sebastian Wick wrote: > > On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > > wrote: > > > > > > On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: > > > > Userspace has no way of

Re: [PATCH 01/22] gpu/drm: remove the shmobile drm driver

2023-02-03 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Feb 3, 2023 at 2:49 PM Laurent Pinchart wrote: > On Fri, Feb 03, 2023 at 08:15:06AM +0100, Christoph Hellwig wrote: > > So given that the big series doesn't go in, can we get this removal > > picked up through the drm tree? > > Geert has a board with an ARM-based SoC

Re: remove arch/sh

2023-02-03 Thread Randy Dunlap
Hi-- On 2/3/23 02:33, Geert Uytterhoeven wrote: > Hi Adrian, > > On Fri, Feb 3, 2023 at 11:29 AM John Paul Adrian Glaubitz > wrote: >> On Fri, 2023-02-03 at 09:30 +0100, Christoph Hellwig wrote: >>> On Fri, Feb 03, 2023 at 09:24:46AM +0100, John Paul Adrian Glaubitz wrote: Since this is my

Re: [PATCH drm-next 03/14] drm: manager to keep track of GPUs VA mappings

2023-02-03 Thread Matthew Brost
On Wed, Jan 18, 2023 at 07:12:45AM +0100, Danilo Krummrich wrote: > This adds the infrastructure for a manager implementation to keep track > of GPU virtual address (VA) mappings. > > New UAPIs, motivated by Vulkan sparse memory bindings graphics drivers > start implementing, allow userspace

Re: [PATCH 1/2] drm/i915: Fix GEN8_MISCCPCTL

2023-02-03 Thread Lucas De Marchi
On Thu, Feb 02, 2023 at 05:12:10PM -0800, Matt Roper wrote: On Thu, Feb 02, 2023 at 04:57:08PM -0800, Lucas De Marchi wrote: Register 0x9424 is not replicated on any platform, so it shouldn't be declared with REG_MCR(). Declaring it with _MMIO() is basically duplicate of the GEN7 version, so

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Ville Syrjälä
On Fri, Feb 03, 2023 at 02:52:50PM +0100, Sebastian Wick wrote: > On Fri, Feb 3, 2023 at 2:35 PM Ville Syrjälä > wrote: > > > > On Fri, Feb 03, 2023 at 01:59:07PM +0100, Sebastian Wick wrote: > > > On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > > > wrote: > > > > > > > > On Fri, Feb 03, 2023 at

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Harry Wentland
On 2/3/23 07:59, Sebastian Wick wrote: > On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > wrote: >> >> On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: >>> Userspace has no way of controlling or knowing the pixel encoding >>> currently, so there is no way for it to ever get the

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Harry Wentland
On 2/3/23 10:19, Ville Syrjälä wrote: > On Fri, Feb 03, 2023 at 09:39:42AM -0500, Harry Wentland wrote: >> >> >> On 2/3/23 07:59, Sebastian Wick wrote: >>> On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä >>> wrote: On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: >

Re: [PATCH v7 3/6] drm/tidss: Add support for AM625 DSS

2023-02-03 Thread Tomi Valkeinen
On 25/01/2023 13:35, Aradhya Bhatia wrote: Add support for the DSS controller on TI's new AM625 SoC in the tidss driver. The first video port (VP0) in am625-dss can output OLDI signals through 2 OLDI TXes. A 3rd output port has been added with "DISPC_PORT_OLDI" bus type. Not a big thing here

Re: [PATCH v3 0/3] drm/rockchip: dw_hdmi: Add 4k@30 support

2023-02-03 Thread Jonas Karlman
Hi, On 2023-02-03 14:09, Sascha Hauer wrote: > Hi, > > On Wed, Feb 01, 2023 at 09:23:56AM +0900, FUKAUMI Naoki wrote: >> hi, >> >> I'm trying this patch series with 6.1.x kernel. it works fine on rk356x >> based boards (ROCK 3), but it has a problem on rk3399 boards (ROCK 4). >> >> on rk3399 with

Re: [PATCH v2 05/27] drm/msm/dpu: drop EAGAIN check from dpu_format_populate_layout

2023-02-03 Thread Abhinav Kumar
On 2/3/2023 6:16 AM, Dmitry Baryshkov wrote: On 28/01/2023 01:59, Abhinav Kumar wrote: On 1/26/2023 10:05 PM, Dmitry Baryshkov wrote: On Fri, 27 Jan 2023 at 02:52, Abhinav Kumar wrote: On 12/29/2022 11:18 AM, Dmitry Baryshkov wrote: The pipe's layout is not cached, corresponding data

Re: [PATCH v2 05/27] drm/msm/dpu: drop EAGAIN check from dpu_format_populate_layout

2023-02-03 Thread Dmitry Baryshkov
On 28/01/2023 01:59, Abhinav Kumar wrote: On 1/26/2023 10:05 PM, Dmitry Baryshkov wrote: On Fri, 27 Jan 2023 at 02:52, Abhinav Kumar wrote: On 12/29/2022 11:18 AM, Dmitry Baryshkov wrote: The pipe's layout is not cached, corresponding data structure is zeroed out each time in the

Re: [Intel-gfx] [PATCH v2] drm/i915: Initialize the obj flags for shmem objects

2023-02-03 Thread Andrzej Hajda
On 03.02.2023 14:52, Aravind Iddamsetty wrote: Obj flags for shmem objects is not being set correctly. Fixes in setting BO_ALLOC_USER flag which applies to shmem objs as well. Fixes: 13d29c823738 ("drm/i915/ehl: unconditionally flush the pages on acquire") Cc: # v5.15+ v2: Add fixes tag

Re: [PATCH v7 4/6] drm/tidss: Add support to configure OLDI mode for am625-dss

2023-02-03 Thread Tomi Valkeinen
On 25/01/2023 13:35, Aradhya Bhatia wrote: The newer version of DSS (AM625-DSS) has 2 OLDI TXes at its disposal. These can be configured to support the following modes: 1. OLDI_SINGLE_LINK_SINGLE_MODE Single Output over OLDI 0. +--++-+ +---+ | ||

Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs

2023-02-03 Thread Steven Price
Hi Boris, Thanks for the post - it's great to see the progress! On 01/02/2023 08:48, Boris Brezillon wrote: > Mali v10 (second Valhal iteration) and later GPUs replaced the Job > Manager block by a command stream based interface called CSF (for > Command Stream Frontend). This interface is not

Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs

2023-02-03 Thread Alyssa Rosenzweig
> > Mali v10 (second Valhal iteration) and later GPUs replaced the Job > > Manager block by a command stream based interface called CSF (for > > Command Stream Frontend). This interface is not only turning the job > > chain based submission model into a command stream based one, but also > >

Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs

2023-02-03 Thread Steven Price
On 03/02/2023 16:29, Alyssa Rosenzweig wrote: >>> Mali v10 (second Valhal iteration) and later GPUs replaced the Job >>> Manager block by a command stream based interface called CSF (for >>> Command Stream Frontend). This interface is not only turning the job >>> chain based submission model into

Re: [PATCH v2 12/27] drm/msm/dpu: remove dpu_hw_fmt_layout from struct dpu_hw_pipe_cfg

2023-02-03 Thread Abhinav Kumar
On 2/3/2023 6:09 AM, Dmitry Baryshkov wrote: On 02/02/2023 22:14, Abhinav Kumar wrote: On 2/2/2023 12:10 PM, Dmitry Baryshkov wrote: On 02/02/2023 21:54, Abhinav Kumar wrote: On 2/2/2023 11:45 AM, Dmitry Baryshkov wrote: On Thu, 2 Feb 2023 at 21:38, Abhinav Kumar wrote: On

Re: [PATCH][next] drm/vmwgfx: Replace one-element array with flexible-array member

2023-02-03 Thread Kees Cook
On Thu, Feb 02, 2023 at 07:27:10PM -0600, Gustavo A. R. Silva wrote: > One-element arrays are deprecated, and we are replacing them with flexible > array members instead. So, replace one-element array with flexible-array > member in struct vmw_view. > > This helps with the ongoing efforts to

Re: [PATCH][next] drm/vmwgfx: Replace one-element array with flexible-array member

2023-02-03 Thread Zack Rusin
On Thu, 2023-02-02 at 19:27 -0600, Gustavo A. R. Silva wrote: > One-element arrays are deprecated, and we are replacing them with flexible > array members instead. So, replace one-element array with flexible-array > member in struct vmw_view. > > This helps with the ongoing efforts to tighten the

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Harry Wentland
On 2/2/23 21:07, Joshua Ashton wrote: > Userspace has no way of controlling or knowing the pixel encoding > currently, so there is no way for it to ever get the right values here. > > When we do add pixel_encoding control from userspace,we can pick the > right value for the colorimetry packet

Re: [PATCH 1/4] accel/ivpu: Fix FW API data alignment issues

2023-02-03 Thread Jeffrey Hugo
On 2/3/2023 1:05 AM, Jacek Lawrynowicz wrote: Hi, On 02.02.2023 16:04, Jeffrey Hugo wrote: On 2/2/2023 2:21 AM, Stanislaw Gruszka wrote: From: Andrzej Kacprowski FW API structures have been updated to fix misaligned structure members. Also changed JSM message header format to account for

Re: [PATCH v7 5/6] drm/tidss: Add IO CTRL and Power support for OLDI TX in am625

2023-02-03 Thread Tomi Valkeinen
On 25/01/2023 13:35, Aradhya Bhatia wrote: The ctrl mmr module of the AM625 is different from the AM65X SoC. Thus the ctrl mmr registers that supported the OLDI TX power have become different in AM625 SoC. The common mode voltage of the LVDS buffers becomes random when the bandgap reference is

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Ville Syrjälä
On Fri, Feb 03, 2023 at 09:39:42AM -0500, Harry Wentland wrote: > > > On 2/3/23 07:59, Sebastian Wick wrote: > > On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > > wrote: > >> > >> On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: > >>> Userspace has no way of controlling or knowing

[PATCH] drm/amdgpu: Fix potential race processing vm->freed

2023-02-03 Thread Rob Clark
From: Rob Clark If userspace calls the AMDGPU_CS ioctl from multiple threads, because the vm is global to the drm_file, you can end up with multiple threads racing in amdgpu_vm_clear_freed(). So the freed list should be protected with the status_lock, similar to other vm lists. Fixes:

Re: [PATCH v2 11/27] drm/msm/dpu: move stride programming to dpu_hw_sspp_setup_sourceaddress

2023-02-03 Thread Dmitry Baryshkov
On 02/02/2023 21:15, Abhinav Kumar wrote: On 2/2/2023 10:55 AM, Dmitry Baryshkov wrote: Hi Abhinav, On Thu, 2 Feb 2023 at 20:41, Abhinav Kumar wrote: On 12/29/2022 11:18 AM, Dmitry Baryshkov wrote: Move stride programming to dpu_hw_sspp_setup_sourceaddress(), so that

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Ville Syrjälä
On Fri, Feb 03, 2023 at 10:24:52AM -0500, Harry Wentland wrote: > > > On 2/3/23 10:19, Ville Syrjälä wrote: > > On Fri, Feb 03, 2023 at 09:39:42AM -0500, Harry Wentland wrote: > >> > >> > >> On 2/3/23 07:59, Sebastian Wick wrote: > >>> On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > >>> wrote:

[PATCH] drm/i915: Move fd_install after last use of fence

2023-02-03 Thread Rob Clark
From: Rob Clark Because eb_composite_fence_create() drops the fence_array reference after creation of the sync_file, only the sync_file holds a ref to the fence. But fd_install() makes that reference visable to userspace, so it must be the last thing we do with the fence. Signed-off-by: Rob

Re: [Intel-gfx] [PATCH 4/6] drm/i915/guc: More debug print updates - GuC selftests

2023-02-03 Thread John Harrison
On 2/3/2023 01:54, Michal Wajdeczko wrote: On 03.02.2023 01:11, john.c.harri...@intel.com wrote: From: John Harrison Update a bunch more debug prints to use the new GT based scheme. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 35 ++-

Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs

2023-02-03 Thread Alyssa Rosenzweig
> > > +struct drm_pancsf_gpu_info { > > > +#define DRM_PANCSF_ARCH_MAJOR(x) ((x) >> 28) > > > +#define DRM_PANCSF_ARCH_MINOR(x) (((x) >> 24) & 0xf) > > > +#define DRM_PANCSF_ARCH_REV(x) (((x) >> 20) & 0xf) > > > +#define DRM_PANCSF_PRODUCT_MAJOR(x)

[PATCH v2] drm/i915: Initialize the obj flags for shmem objects

2023-02-03 Thread Aravind Iddamsetty
Obj flags for shmem objects is not being set correctly. Fixes in setting BO_ALLOC_USER flag which applies to shmem objs as well. Fixes: 13d29c823738 ("drm/i915/ehl: unconditionally flush the pages on acquire") Cc: # v5.15+ v2: Add fixes tag (Tvrtko, Matt A) Cc: Matthew Auld Cc: Tvrtko Ursulin

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-03 Thread Ville Syrjälä
On Fri, Feb 03, 2023 at 01:59:07PM +0100, Sebastian Wick wrote: > On Fri, Feb 3, 2023 at 11:40 AM Ville Syrjälä > wrote: > > > > On Fri, Feb 03, 2023 at 02:07:44AM +, Joshua Ashton wrote: > > > Userspace has no way of controlling or knowing the pixel encoding > > > currently, so there is no

Re: [PATCH v2 12/27] drm/msm/dpu: remove dpu_hw_fmt_layout from struct dpu_hw_pipe_cfg

2023-02-03 Thread Dmitry Baryshkov
On 02/02/2023 22:14, Abhinav Kumar wrote: On 2/2/2023 12:10 PM, Dmitry Baryshkov wrote: On 02/02/2023 21:54, Abhinav Kumar wrote: On 2/2/2023 11:45 AM, Dmitry Baryshkov wrote: On Thu, 2 Feb 2023 at 21:38, Abhinav Kumar wrote: On 12/29/2022 11:18 AM, Dmitry Baryshkov wrote: Remove

Re: [PATCH] drm/nouveau/mmu: Fix an UAF issue in NVKM

2023-02-03 Thread Xinghui Li
hi all friendly ping... 于2023年1月12日周四 15:18写道: > > From: Xinghui Li > > In nvkm_mem_new_host, the mem is be alloced. And mem->memory is > assigned to pmemory. During this process, the mem will be free if > the error occurs. But the *pmemory still points to the >memory > which has been

Re: [PATCH v7 1/6] drm/tidss: Remove Video Port to Output Port coupling

2023-02-03 Thread Tomi Valkeinen
On 25/01/2023 13:35, Aradhya Bhatia wrote: Make DSS Video Ports agnostic of output bus types. DSS controllers have had a 1-to-1 coupling between its VPs and its output ports. This no longer stands true for the new AM625 DSS. This coupling, hence, has been removed by renaming the 'vp_bus_type'

RE: [EXT] Re: [PATCH v2 1/1] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2023-02-03 Thread Cyrille Fleury
-Original Message- From: Jerome Forissier Sent: Friday, February 3, 2023 1:32 PM To: Etienne Carriere ; Olivier Masse Cc: sumit.g...@linaro.org; linux-me...@vger.kernel.org; fre...@google.com; linaro-mm-...@lists.linaro.org; a...@ti.com; op-...@lists.trustedfirmware.org;

Re: remove arch/sh

2023-02-03 Thread Geert Uytterhoeven
Hi Randy, On Fri, Feb 3, 2023 at 4:57 PM Randy Dunlap wrote: > Is this "sh64" still accurate and applicable? from > Documentation/kbuild/kbuild.rst: > > But some architectures such as x86 and sparc have aliases. > > - x86: i386 for 32 bit, x86_64 for 64 bit > - sh: sh for 32 bit, sh64 for 64

Re: [PATCH] drm/amd/display: fix read errors pertaining to dp_lttpr_status_show()

2023-02-03 Thread Aurabindo Pillai
On 2/3/23 10:43, Hamza Mahfooz wrote: Currently, it is likely that we will read the relevant LTTPR caps after link training has completed (which can cause garbage data to be read), however according to the DP 2.0 spec that should be done before link training has commenced. So, instead of

Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs

2023-02-03 Thread Boris Brezillon
Hi Steven, On Fri, 3 Feb 2023 15:41:38 + Steven Price wrote: > Hi Boris, > > Thanks for the post - it's great to see the progress! Thanks for chiming in! > > On 01/02/2023 08:48, Boris Brezillon wrote: > > Mali v10 (second Valhal iteration) and later GPUs replaced the Job > > Manager

[PATCH] drm/i915/hwmon: Enable PL1 power limit

2023-02-03 Thread Ashutosh Dixit
Previous documentation suggested that PL1 power limit is always enabled. However we now find this not to be the case on some platforms (such as ATSM). Therefore enable PL1 power limit during hwmon initialization. Bspec: 51864 v2: Add Bspec reference (Gwan-gyeong) v3: Add Fixes tag Fixes:

Re: [PATCH v3 00/19] fix DRM_USE_DYNAMIC_DEBUG regression

2023-02-03 Thread Stanislaw Gruszka
On Fri, Feb 03, 2023 at 11:34:02AM +0200, Jani Nikula wrote: > On Wed, 25 Jan 2023, Jim Cromie wrote: > > Hi everyone, > > > > In v6.1 DRM_USE_DYNAMIC_DEBUG=y has a regression enabling drm.debug in > > drivers at modprobe. > > I realize we haven't actually addressed the regression in any way

[PATCH] drm/amd/display: fix read errors pertaining to dp_lttpr_status_show()

2023-02-03 Thread Hamza Mahfooz
Currently, it is likely that we will read the relevant LTTPR caps after link training has completed (which can cause garbage data to be read), however according to the DP 2.0 spec that should be done before link training has commenced. So, instead of reading the registers on demand, use the values

Re: [PATCH] drm/i915: Make sure dsm_size has correct granularity

2023-02-03 Thread Lucas De Marchi
On Thu, Feb 02, 2023 at 07:02:43PM +0100, Nirmoy Das wrote: DSM granularity is 1MB so make sure we stick to that. I think we need to be a bit more verbose here, because in future we may need to refer to this commit if/when things change (e.g. the granularity or the additional size needed on

Re: [PATCH v3 16/27] drm/msm/dpu: drop redundant plane dst check from dpu_crtc_atomic_check()

2023-02-03 Thread Abhinav Kumar
On 2/3/2023 10:21 AM, Dmitry Baryshkov wrote: The helper drm_atomic_helper_check_plane_state() already checks whether the scaled and clipped plane falls into the CRTC visible region (and clears plane_state->visible if it doesn't). Drop the redundant check from dpu_crtc_atomic_check().

[PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-03 Thread Bjorn Helgaas
From: Bjorn Helgaas This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting devices on PCI bus") caused a console hang. The machine was actually still usable via ssh, etc., but there was no activity on the console.

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-03 Thread Abhinav Kumar
On 2/3/2023 10:21 AM, Dmitry Baryshkov wrote: Downstream driver uses dpu->caps->smart_dma_rev to update sspp->cap->features with the bit corresponding to the supported SmartDMA version. Upstream driver does not do this, resulting in SSPP subdriver not enbaling setup_multirect callback. Add

[PATCH v3 12/27] drm/msm/dpu: remove dpu_hw_fmt_layout from struct dpu_hw_sspp_cfg

2023-02-03 Thread Dmitry Baryshkov
Remove dpu_hw_fmt_layout instance from struct dpu_hw_sspp_cfg, leaving only src_rect and dst_rect. This way all the pipes used by the plane will have a common layout instance (as the framebuffer is shared between them), while still keeping a separate src/dst rectangle configuration for each pipe.

[PATCH v3 15/27] drm/msm/dpu: move the rest of plane checks to dpu_plane_atomic_check()

2023-02-03 Thread Dmitry Baryshkov
Move plane state updates from dpu_crtc_atomic_check() to the function where they belong: to dpu_plane_atomic_check(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 18 +- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 18 ++

[PATCH v3 13/27] drm/msm/dpu: drop src_split and multirect check from dpu_crtc_atomic_check

2023-02-03 Thread Dmitry Baryshkov
Neither source split nor multirect are properly supported at this moment. Both of these checks depend on normalized_zpos being equal for several planes (which is never the case for normalized zpos). Drop these checks to simplify dpu_crtc_atomic_check(). The actual support for either of these

[PATCH v3 05/27] drm/msm/dpu: move pipe_hw to dpu_plane_state

2023-02-03 Thread Dmitry Baryshkov
In preparation to adding fully virtualized planes, move struct dpu_hw_sspp instance from struct dpu_plane to struct dpu_plane_state, as it will become a part of state (variable, changes during runtime) rather than part of a plane (ideally should be statically allocated during boot). The sspp

[PATCH v3 04/27] drm/msm/dpu: drop EAGAIN check from dpu_format_populate_layout

2023-02-03 Thread Dmitry Baryshkov
The pipe's layout is not cached, corresponding data structure is zeroed out each time in the dpu_plane_sspp_atomic_update(), right before the call to _dpu_plane_set_scanout() -> dpu_format_populate_layout(). Drop plane_addr comparison against previous layout and corresponding EAGAIN handling.

[PATCH v3 06/27] drm/msm/dpu: drop dpu_plane_pipe function

2023-02-03 Thread Dmitry Baryshkov
There no more need for the dpu_plane_pipe() function, crtc code can access pstate->pipe_hw.idx directly. Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 ++-- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 5 -

[PATCH v3 19/27] drm/msm/dpu: make _dpu_plane_calc_clk accept mode directly

2023-02-03 Thread Dmitry Baryshkov
Rework bandwidth/clock calculation functions to use mode directly rather than fetching it through the plane data. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 39 ++- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git

  1   2   >