[Intel-gfx] ✗ Fi.CI.IGT: failure for i915/mtl: Enable idle messaging for GSC CS (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: i915/mtl: Enable idle messaging for GSC CS (rev2) URL : https://patchwork.freedesktop.org/series/110349/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382_full -> Patchwork_110349v2_full Summa

[Intel-gfx] ✗ Fi.CI.IGT: failure for mei: add timeout to send (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: mei: add timeout to send (rev2) URL : https://patchwork.freedesktop.org/series/110495/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382_full -> Patchwork_110495v2_full Summary --- **FA

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Update workaround documentation (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: Update workaround documentation (rev2) URL : https://patchwork.freedesktop.org/series/110639/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110639v2 Summary ---

[Intel-gfx] ✗ Fi.CI.BAT: failure for i915: CAGF and RC6 changes for MTL (rev13)

2022-11-15 Thread Patchwork
== Series Details == Series: i915: CAGF and RC6 changes for MTL (rev13) URL : https://patchwork.freedesktop.org/series/108156/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_108156v13 Summary --- **

[Intel-gfx] linux-next: build failure after merge of the drm-misc tree

2022-11-15 Thread Stephen Rothwell
-misc tree from next-20221115 for today. -- Cheers, Stephen Rothwell pgpysbHsfqCz6.pgp Description: OpenPGP digital signature

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Niranjana Vishwanathapura
On Tue, Nov 15, 2022 at 03:15:03PM -0800, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 08:33:47AM -0800, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 04:20:54PM +, Matthew Auld wrote: On 15/11/2022 16:15, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 11:0

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for i915: CAGF and RC6 changes for MTL (rev13)

2022-11-15 Thread Patchwork
== Series Details == Series: i915: CAGF and RC6 changes for MTL (rev13) URL : https://patchwork.freedesktop.org/series/108156/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

Re: [Intel-gfx] linux-next: manual merge of the drm-misc tree with the drm-misc-fixes tree

2022-11-15 Thread Stephen Rothwell
Hi all, On Wed, 16 Nov 2022 10:47:52 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c > > between commit: > > eca13f3c67b6 ("drm/amdgpu: use the last IB as gang leader v2") > > from the drm-misc

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/mtl: Media GT and Render GT share common GGTT (rev4)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915/mtl: Media GT and Render GT share common GGTT (rev4) URL : https://patchwork.freedesktop.org/series/110321/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110321v4 Sum

[Intel-gfx] linux-next: manual merge of the amdgpu tree with the drm-misc tree

2022-11-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: include/drm/gpu_scheduler.h between commit: 2cf9886e2816 ("drm/scheduler: remove drm_sched_dependency_optimized") from the drm-misc tree and commit: 06a2d7cc3f04 ("drm/amdgpu: revert "implement tdr advanced mode"")

[Intel-gfx] linux-next: manual merge of the drm-misc tree with the origin tree

2022-11-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/vc4/vc4_hdmi.c between commit: 682f99b8ae88 ("drm/vc4: hdmi: Take our lock to reset the link") from the origin tree and commits: d218750805a3 ("drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scr

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/mtl: Media GT and Render GT share common GGTT (rev4)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915/mtl: Media GT and Render GT share common GGTT (rev4) URL : https://patchwork.freedesktop.org/series/110321/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

Re: [Intel-gfx] [PATCH] drm/i915: Fix unhandled deadlock in grab_vma()

2022-11-15 Thread Mani Milani
Hi Thomas, It is a user-space application that crashes due to receiving an -ENOSPC. This occurs after code reaches the line below where grab_vma() fails (due to deadlock) and consequently i915_gem_evict_for_node() returns -ENOSPC. I provided the call stack for when this happens in my previous mes

[Intel-gfx] linux-next: manual merge of the drm-misc tree with the drm-misc-fixes tree

2022-11-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c between commit: eca13f3c67b6 ("drm/amdgpu: use the last IB as gang leader v2") from the drm-misc-fixes tree and commit: 1728baa7e4e6 ("drm/amdgpu: use scheduler dependencies f

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix build failure with debug and extra logging enabled

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: Fix build failure with debug and extra logging enabled URL : https://patchwork.freedesktop.org/series/110930/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110930v1

Re: [Intel-gfx] [PATCH] drm/i915: Update workaround documentation

2022-11-15 Thread Matt Roper
On Tue, Nov 15, 2022 at 11:26:11AM -0800, Lucas De Marchi wrote: > There were several updates in the driver on how the workarounds are > handled since its documentation was written. Update the documentation to > reflect the current reality. > > v2: > - Remove footnote that was wrongly referenced

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Niranjana Vishwanathapura
On Tue, Nov 15, 2022 at 08:33:47AM -0800, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 04:20:54PM +, Matthew Auld wrote: On 15/11/2022 16:15, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 11:05:21AM +, Matthew Auld wrote: On 13/11/2022 07:57, Niranjana Vishwanath

[Intel-gfx] ✓ Fi.CI.BAT: success for i915/mtl: Enable idle messaging for GSC CS (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: i915/mtl: Enable idle messaging for GSC CS (rev2) URL : https://patchwork.freedesktop.org/series/110349/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110349v2 Summary ---

[Intel-gfx] ✓ Fi.CI.BAT: success for mei: add timeout to send (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: mei: add timeout to send (rev2) URL : https://patchwork.freedesktop.org/series/110495/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110495v2 Summary --- **SUCCESS**

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/ttm: never purge busy objects (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915/ttm: never purge busy objects (rev2) URL : https://patchwork.freedesktop.org/series/110601/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382_full -> Patchwork_110601v2_full Summary -

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Fix vma allocator debug

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: Fix vma allocator debug URL : https://patchwork.freedesktop.org/series/110906/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382_full -> Patchwork_110906v1_full Summary --- **

[Intel-gfx] [PATCH] drm/i915: Update workaround documentation

2022-11-15 Thread Lucas De Marchi
There were several updates in the driver on how the workarounds are handled since its documentation was written. Update the documentation to reflect the current reality. v2: - Remove footnote that was wrongly referenced, adding back the reference in the correct paragraph. - Remove "Display

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs.

2022-11-15 Thread Patchwork
== Series Details == Series: series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs. URL : https://patchwork.freedesktop.org/series/110902/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12382_full -> Patchwork_110902v1_full ===

Re: [Intel-gfx] [PATCH] drm/i915: Update workaround documentation

2022-11-15 Thread Lucas De Marchi
On Mon, Nov 14, 2022 at 01:04:30PM -0800, Matt Roper wrote: On Mon, Nov 07, 2022 at 04:30:28PM -0800, Lucas De Marchi wrote: There were several updates in the driver on how the workarounds are handled since its documentation was written. Update the documentation to reflect the current reality.

Re: [Intel-gfx] [PATCH v2 1/2] drm/i915: call i915_request_await_object from _i915_vma_move_to_active

2022-11-15 Thread Andrzej Hajda
On 08.11.2022 11:24, Matthew Auld wrote: On 19/10/2022 22:59, Andrzej Hajda wrote: Since almost all calls to i915_vma_move_to_active are prepended with i915_request_await_object, let's call the latter from _i915_vma_move_to_active by default and add flag allowing bypassing it. Adjust all callers

Re: [Intel-gfx] [PATCH 2/3] Documentation/gpu: Limit index to maxdepth=2

2022-11-15 Thread Lucas De Marchi
On Tue, Nov 15, 2022 at 03:18:01PM +0530, Balasubramani Vivekanandan wrote: On 07.11.2022 09:32, Lucas De Marchi wrote: With a lot of sub-section it's a little bit hard to find the information needed in the main GPU index. Limit the maxdepth to 2 so it doesn't get poluted with noise from each dr

Re: [Intel-gfx] [PATCH 2/3] drm/i915/display: Do both crawl and squash when changing cdclk

2022-11-15 Thread Srivatsa, Anusha
> -Original Message- > From: Roper, Matthew D > Sent: Monday, November 14, 2022 4:43 PM > To: Srivatsa, Anusha > Cc: intel-gfx@lists.freedesktop.org; Ville Syrjälä > > Subject: Re: [PATCH 2/3] drm/i915/display: Do both crawl and squash when > changing cdclk > > On Mon, Nov 14, 2022 a

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ttm: never purge busy objects (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915/ttm: never purge busy objects (rev2) URL : https://patchwork.freedesktop.org/series/110601/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110601v2 Summary ---

Re: [Intel-gfx] [PATCH v5 3/9] drm/i915/dp: Replace intel_dp.dfp members with the new crtc_state sink_format

2022-11-15 Thread Nautiyal, Ankit K
On 11/15/2022 4:30 PM, Ville Syrjälä wrote: On Tue, Nov 15, 2022 at 12:23:53PM +0530, Nautiyal, Ankit K wrote: On 11/11/2022 2:36 AM, Ville Syrjälä wrote: On Fri, Oct 28, 2022 at 03:14:05PM +0530, Ankit Nautiyal wrote: The decision to use DFP output format conversion capabilities should be d

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Niranjana Vishwanathapura
On Tue, Nov 15, 2022 at 04:20:54PM +, Matthew Auld wrote: On 15/11/2022 16:15, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 11:05:21AM +, Matthew Auld wrote: On 13/11/2022 07:57, Niranjana Vishwanathapura wrote: Asynchronously unbind the vma upon vm_unbind call. Fall back t

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/ttm: never purge busy objects (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915/ttm: never purge busy objects (rev2) URL : https://patchwork.freedesktop.org/series/110601/ State : warning == Summary == Error: dim checkpatch failed b44746463714 drm/i915/ttm: never purge busy objects -:25: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrappe

Re: [Intel-gfx] [PATCH] drm/i915: Fix vma allocator debug

2022-11-15 Thread Tvrtko Ursulin
On 15/11/2022 10:46, Andrzej Hajda wrote: On 15.11.2022 11:17, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Add a missing colon which I accidentally removed in the recent logging changes. Signed-off-by: Tvrtko Ursulin Fixes: a10234fda466 ("drm/i915: Partial abandonment of legacy DRM logging

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Matthew Auld
On 15/11/2022 16:15, Niranjana Vishwanathapura wrote: On Tue, Nov 15, 2022 at 11:05:21AM +, Matthew Auld wrote: On 13/11/2022 07:57, Niranjana Vishwanathapura wrote: Asynchronously unbind the vma upon vm_unbind call. Fall back to synchronous unbind if backend doesn't support async unbind or

Re: [Intel-gfx] [PATCH v2] drm/i915/ttm: never purge busy objects

2022-11-15 Thread Andrzej Hajda
On 15.11.2022 11:46, Matthew Auld wrote: In i915_gem_madvise_ioctl() we immediately purge the object is not currently used, like when the mm.pages are NULL. With shmem the pages might still be hanging around or are perhaps swapped out. Similarly with ttm we might still have the pages hanging

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Niranjana Vishwanathapura
On Tue, Nov 15, 2022 at 04:58:42PM +0100, Andi Shyti wrote: Hi Niranjana, On Sat, Nov 12, 2022 at 11:57:32PM -0800, Niranjana Vishwanathapura wrote: Asynchronously unbind the vma upon vm_unbind call. Fall back to synchronous unbind if backend doesn't support async unbind or if async unbind fail

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Niranjana Vishwanathapura
On Tue, Nov 15, 2022 at 11:05:21AM +, Matthew Auld wrote: On 13/11/2022 07:57, Niranjana Vishwanathapura wrote: Asynchronously unbind the vma upon vm_unbind call. Fall back to synchronous unbind if backend doesn't support async unbind or if async unbind fails. No need for vm_unbind out fenc

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Andi Shyti
Hi Niranjana, On Sat, Nov 12, 2022 at 11:57:32PM -0800, Niranjana Vishwanathapura wrote: > Asynchronously unbind the vma upon vm_unbind call. > Fall back to synchronous unbind if backend doesn't support > async unbind or if async unbind fails. > > No need for vm_unbind out fence support as i915 w

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix vma allocator debug

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: Fix vma allocator debug URL : https://patchwork.freedesktop.org/series/110906/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110906v1 Summary --- **SUCCESS**

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs.

2022-11-15 Thread Patchwork
== Series Details == Series: series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs. URL : https://patchwork.freedesktop.org/series/110902/ State : success == Summary == CI Bug Log - changes from CI_DRM_12382 -> Patchwork_110902v1 =

Re: [Intel-gfx] [PATCH v2 1/4] i915: Move list_count() to list.h for broader use

2022-11-15 Thread Jani Nikula
On Mon, 14 Nov 2022, Andy Shevchenko wrote: > Some of the existing users, and definitely will be new ones, want to > count existing nodes in the list. Provide a generic API for that by > moving code from i915 to list.h. I think I'd find list_length() a much more natural name for this. *shrug* A

Re: [Intel-gfx] [PULL] gvt-next

2022-11-15 Thread Rodrigo Vivi
On Fri, Nov 11, 2022 at 04:59:03PM +0800, Zhenyu Wang wrote: > Hi, > > Here's current accumulated changes in gvt-next. Sorry that I delayed > to refresh them on time for upstream...It contains mostly kernel doc, > typo fixes and small code cleanups, as details below. > > btw, one gvt change for n

Re: [Intel-gfx] [PATCH v2] drm/i915: remove circ_buf.h includes

2022-11-15 Thread Jani Nikula
On Tue, 15 Nov 2022, "Jiri Slaby (SUSE)" wrote: > The last user of macros from that include was removed in 2018 by the > commit below. > > Fixes: 6cc42152b02b ("drm/i915: Remove support for legacy debugfs crc > interface") > Cc: Jani Nikula > Cc: Joonas Lahtinen > Cc: Rodrigo Vivi > Cc: Tvrtko

Re: [Intel-gfx] [PATCH 1/1] drm/i915/mtl: Enable Idle Messaging for GSC CS

2022-11-15 Thread Rodrigo Vivi
On Tue, Nov 15, 2022 at 07:14:40PM +0530, Badal Nilawar wrote: > From: Vinay Belgaumkar > > By defaut idle mesaging is disabled for GSC CS so to unblock RC6 > entry on media tile idle messaging need to be enabled. > > v2: > - Fix review comments (Vinay) > - Set GSC idle hysterisis to 5 us (Bad

[Intel-gfx] [PATCH v3] drm/i915/mtl: Media GT and Render GT share common GGTT

2022-11-15 Thread Aravind Iddamsetty
On XE_LPM+ platforms the media engines are carved out into a separate GT but have a common GGTMMADR address range which essentially makes the GGTT address space to be shared between media and render GT. As a result any updates in GGTT shall invalidate TLB of GTs sharing it and similarly any operati

Re: [Intel-gfx] [PATCH v2] mei: add timeout to send

2022-11-15 Thread Greg Kroah-Hartman
On Tue, Nov 15, 2022 at 02:27:02PM +, Usyskin, Alexander wrote: > > > - else > > > + } else { > > > dev_dbg(&cldev->dev, "memory ready command > > sent\n"); > > > + cldev->bus->pxp_mode = MEI_DEV_PXP_SETUP; > > > > What does the mode change hav

Re: [Intel-gfx] [PATCH] drm/i915: Fix build failure with debug and extra logging enabled

2022-11-15 Thread Tvrtko Ursulin
On 15/11/2022 14:39, Janusz Krzysztofik wrote: A comma is missing, fix it. Signed-off-by: Janusz Krzysztofik --- drivers/gpu/drm/i915/i915_vma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c index 3b969

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs.

2022-11-15 Thread Patchwork
== Series Details == Series: series starting with [1/1] drm/i915: Export LMEM max memory bandwidth via sysfs. URL : https://patchwork.freedesktop.org/series/110902/ State : warning == Summary == Error: dim checkpatch failed b196769302e7 drm/i915: Export LMEM max memory bandwidth via sysfs. -:

[Intel-gfx] [PATCH] drm/i915: Fix build failure with debug and extra logging enabled

2022-11-15 Thread Janusz Krzysztofik
A comma is missing, fix it. Signed-off-by: Janusz Krzysztofik --- drivers/gpu/drm/i915/i915_vma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c index 3b969d679c1e2..947fde68e5f53 100644 --- a/drivers/gpu/drm/

Re: [Intel-gfx] [PATCH v2] mei: add timeout to send

2022-11-15 Thread Usyskin, Alexander
> > When driver wakes up the firmware from the low power state, it is sending > > a memory ready message. > > The send is done via synchronous/blocking function to ensure that > firmware > > is in ready state. However, in case of firmware undergoing reset send > > might be block forever. > > To add

Re: [Intel-gfx] [PATCH v2] drm/i915/ttm: never purge busy objects

2022-11-15 Thread Das, Nirmoy
On 11/15/2022 11:46 AM, Matthew Auld wrote: In i915_gem_madvise_ioctl() we immediately purge the object is not currently used, like when the mm.pages are NULL. With shmem the pages might still be hanging around or are perhaps swapped out. Similarly with ttm we might still have the pages hangin

Re: [Intel-gfx] [PATCH v2] mei: add timeout to send

2022-11-15 Thread Greg Kroah-Hartman
On Tue, Nov 15, 2022 at 01:14:38PM +0200, Alexander Usyskin wrote: > When driver wakes up the firmware from the low power state, it is sending > a memory ready message. > The send is done via synchronous/blocking function to ensure that firmware > is in ready state. However, in case of firmware und

[Intel-gfx] [PATCH 1/1] drm/i915/mtl: Enable Idle Messaging for GSC CS

2022-11-15 Thread Badal Nilawar
From: Vinay Belgaumkar By defaut idle mesaging is disabled for GSC CS so to unblock RC6 entry on media tile idle messaging need to be enabled. v2: - Fix review comments (Vinay) - Set GSC idle hysterisis to 5 us (Badal) Bspec: 71496 Cc: Daniele Ceraolo Spurio Signed-off-by: Vinay Belgaumkar

[Intel-gfx] [PATCH 0/1] i915/mtl: Enable idle messaging for GSC CS

2022-11-15 Thread Badal Nilawar
This series includes code change to enable idle messaging for GSC CS. v2: - Dropped dependency patch and rebased - Fixed review comments Cc: Vinay Belgaumkar Vinay Belgaumkar (1): drm/i915/mtl: Enable Idle Messaging for GSC CS drivers/gpu/drm/i915/gt/intel_engine_pm.c | 18 +++

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: remove circ_buf.h includes (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: remove circ_buf.h includes (rev2) URL : https://patchwork.freedesktop.org/series/98130/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12380_full -> Patchwork_98130v2_full Summary -

Re: [Intel-gfx] [PATCH 07/20] drm/i915/mtl: Add support for PM DEMAND

2022-11-15 Thread Kahola, Mika
> -Original Message- > From: Sripada, Radhakrishna > Sent: Tuesday, November 1, 2022 4:38 AM > To: Kahola, Mika ; intel-gfx@lists.freedesktop.org > Cc: Atwood, Matthew S ; Roper, Matthew D > ; De Marchi, Lucas ; > Souza, Jose > Subject: RE: [PATCH 07/20] drm/i915/mtl: Add support for PM D

[Intel-gfx] [PATCH v2] mei: add timeout to send

2022-11-15 Thread Alexander Usyskin
When driver wakes up the firmware from the low power state, it is sending a memory ready message. The send is done via synchronous/blocking function to ensure that firmware is in ready state. However, in case of firmware undergoing reset send might be block forever. To address this issue a timeout

Re: [Intel-gfx] [PATCH v7 20/20] drm/i915/vm_bind: Async vm_unbind support

2022-11-15 Thread Matthew Auld
On 13/11/2022 07:57, Niranjana Vishwanathapura wrote: Asynchronously unbind the vma upon vm_unbind call. Fall back to synchronous unbind if backend doesn't support async unbind or if async unbind fails. No need for vm_unbind out fence support as i915 will internally handle all sequencing and use

Re: [Intel-gfx] [PATCH v5 3/9] drm/i915/dp: Replace intel_dp.dfp members with the new crtc_state sink_format

2022-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2022 at 12:23:53PM +0530, Nautiyal, Ankit K wrote: > > On 11/11/2022 2:36 AM, Ville Syrjälä wrote: > > On Fri, Oct 28, 2022 at 03:14:05PM +0530, Ankit Nautiyal wrote: > >> The decision to use DFP output format conversion capabilities should be > >> during compute_config phase. > >>

[Intel-gfx] [PATCH v2] drm/i915/ttm: never purge busy objects

2022-11-15 Thread Matthew Auld
In i915_gem_madvise_ioctl() we immediately purge the object is not currently used, like when the mm.pages are NULL. With shmem the pages might still be hanging around or are perhaps swapped out. Similarly with ttm we might still have the pages hanging around on the ttm resource, like with lmem or

Re: [Intel-gfx] [PATCH] drm/i915: Fix vma allocator debug

2022-11-15 Thread Andrzej Hajda
On 15.11.2022 11:17, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Add a missing colon which I accidentally removed in the recent logging changes. Signed-off-by: Tvrtko Ursulin Fixes: a10234fda466 ("drm/i915: Partial abandonment of legacy DRM logging macros") Cc: Andrzej Hajda Reviewed-by: A

[Intel-gfx] [PATCH i-g-t] tests/i915/madvise: verify async eviction with madvise

2022-11-15 Thread Matthew Auld
Simple regression test for lmem to check if an in-progress async unbind and eviction is syncronised with discarding the pages when marking the object as DONTNEED. Signed-off-by: Matthew Auld Cc: Niranjana Vishwanathapura Cc: Andrzej Hajda Cc: Nirmoy Das --- tests/i915/gem_madvise.c | 130

Re: [Intel-gfx] [PATCH 1/2] drm/i915/gt: Add GT oriented dmesg output

2022-11-15 Thread Tvrtko Ursulin
On 10/11/2022 10:35, Michal Wajdeczko wrote: On 10.11.2022 10:55, Tvrtko Ursulin wrote: On 09/11/2022 19:57, Michal Wajdeczko wrote: [snip] Is it really a problem to merge this patch now to get the process started? And other sub-components get updated as and when people get the time to do

[Intel-gfx] [PATCH] drm/i915: Fix vma allocator debug

2022-11-15 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Add a missing colon which I accidentally removed in the recent logging changes. Signed-off-by: Tvrtko Ursulin Fixes: a10234fda466 ("drm/i915: Partial abandonment of legacy DRM logging macros") Cc: Andrzej Hajda --- drivers/gpu/drm/i915/i915_vma.c | 2 +- 1 file changed,

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: remove circ_buf.h includes (rev2)

2022-11-15 Thread Patchwork
== Series Details == Series: drm/i915: remove circ_buf.h includes (rev2) URL : https://patchwork.freedesktop.org/series/98130/ State : success == Summary == CI Bug Log - changes from CI_DRM_12380 -> Patchwork_98130v2 Summary --- **SU

Re: [Intel-gfx] [PATCH 2/3] Documentation/gpu: Limit index to maxdepth=2

2022-11-15 Thread Balasubramani Vivekanandan
On 07.11.2022 09:32, Lucas De Marchi wrote: > With a lot of sub-section it's a little bit hard to find the information > needed in the main GPU index. Limit the maxdepth to 2 so it doesn't get > poluted with noise from each driver and from other sections. > > Signed-off-by: Lucas De Marchi > ---

Re: [Intel-gfx] [PATCH] drm/fb-helper: Try to protect cleanup against delayed setup

2022-11-15 Thread Andrzej Hajda
On 13.07.2021 15:59, Daniel Vetter wrote: Some vague evidences suggests this can go wrong. Try to prevent it by holding the right mutex and clearing ->deferred_setup to make sure we later on don't accidentally try to re-register the fbdev when the driver thought it had it all cleaned up already.

Re: [Intel-gfx] (subset) [PATCH v9 11/25] drm/modes: Fill drm_cmdline mode from named modes

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:30 +0100, Maxime Ripard wrote: > The current code to deal with named modes will only set the mode name, and > then it's up to drivers to try to match that name to whatever mode or > configuration they see fit. > > The plan is to remove that need and move the named mode ha

Re: [Intel-gfx] (subset) [PATCH v9 12/25] drm/connector: Add pixel clock to cmdline mode

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:31 +0100, Maxime Ripard wrote: > We'll need to get the pixel clock to generate proper display modes for > all the current named modes. Let's add it to struct drm_cmdline_mode and > fill it when parsing the named mode. > > Applied to drm/drm-misc (drm-misc-next). Thanks

Re: [Intel-gfx] (subset) [PATCH v9 10/25] drm/modes: Switch to named mode descriptors

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:29 +0100, Maxime Ripard wrote: > The current named mode parsing relies only on the mode name, and doesn't > allow to specify any other parameter. > > Let's convert that string list to an array of a custom structure that will > hold the name and some additional parameters

Re: [Intel-gfx] (subset) [PATCH v9 09/25] drm/modes: Move named modes parsing to a separate function

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:28 +0100, Maxime Ripard wrote: > The current construction of the named mode parsing doesn't allow to extend > it easily. Let's move it to a separate function so we can add more > parameters and modes. > > In order for the tests to still pass, some extra checks are needed,

Re: [Intel-gfx] (subset) [PATCH v9 08/25] drm/client: Add some tests for drm_connector_pick_cmdline_mode()

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:27 +0100, Maxime Ripard wrote: > drm_connector_pick_cmdline_mode() is in charge of finding a proper > drm_display_mode from the definition we got in the video= command line > argument. > > Let's add some unit tests to make sure we're not getting any regressions > there. >

Re: [Intel-gfx] (subset) [PATCH v9 02/25] drm/tests: Add Kunit Helpers

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:21 +0100, Maxime Ripard wrote: > As the number of kunit tests in KMS grows further, we start to have > multiple test suites that, for example, need to register a mock DRM > driver to interact with the KMS function they are supposed to test. > > Let's add a file meant to p

Re: [Intel-gfx] (subset) [PATCH v9 01/25] docs/fb: Document current named modes

2022-11-15 Thread Maxime Ripard
On Mon, 14 Nov 2022 14:00:20 +0100, Maxime Ripard wrote: > KMS supports a number of named modes already, but it's never been > documented anywhere, let's fix that. > > Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/3] drm/i915/display: Add missing checks for cdclk crawling

2022-11-15 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915/display: Add missing checks for cdclk crawling URL : https://patchwork.freedesktop.org/series/110882/ State : failure == Summary == CI Bug Log - changes from CI_DRM_12379_full -> Patchwork_110882v1_full =

[Intel-gfx] [PATCH 1/1] drm/i915: Export LMEM max memory bandwidth via sysfs.

2022-11-15 Thread Himal Prasad Ghimiray
Export lmem maximum memory bandwidth to the userspace via sysfs. Signed-off-by: Himal Prasad Ghimiray --- drivers/gpu/drm/i915/i915_reg.h | 2 ++ drivers/gpu/drm/i915/i915_sysfs.c | 27 +++ 2 files changed, 29 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h