Re: [Intel-gfx] [PATCH 1/2] drm/i915/opregion: add function to check if headless sku

2022-06-06 Thread Hogander, Jouni
On Fri, 2022-06-03 at 16:32 +, Souza, Jose wrote: > On Fri, 2022-06-03 at 13:14 +, Hogander, Jouni wrote: > > On Fri, 2022-06-03 at 15:43 +0300, Jani Nikula wrote: > > > On Fri, 03 Jun 2022, Jouni Högander > > > wrote: > > > > Export headless sku bit (bit 13) from opregion->header->pcon as

Re: [Intel-gfx] [igt-dev] [PATCH v5 i-g-t 2/3] tests/i915/query: Add descriptions to existing tests

2022-06-06 Thread Kamil Konieczny
On 2022-06-03 at 09:25:51 -0700, john.c.harri...@intel.com wrote: > From: John Harrison > > None of the query tests had a description. So make some up. > > Signed-off-by: John Harrison > --- Reviewed-by: Kamil Konieczny > tests/i915/i915_query.c | 12 > 1 file changed, 12 inser

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg2: Add Wa_14015795083

2022-06-06 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add Wa_14015795083 URL : https://patchwork.freedesktop.org/series/104760/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11727_full -> Patchwork_104760v1_full Summary --- **F

Re: [Intel-gfx] [PATCH v5 i-g-t 2/3] tests/i915/query: Add descriptions to existing tests

2022-06-06 Thread Petri Latvala
On Fri, Jun 03, 2022 at 09:25:51AM -0700, john.c.harri...@intel.com wrote: > From: John Harrison > > None of the query tests had a description. So make some up. > > Signed-off-by: John Harrison > --- > tests/i915/i915_query.c | 12 > 1 file changed, 12 insertions(+) > > diff --gi

Re: [Intel-gfx] [PATCH 1/2] drm/i915/opregion: add function to check if headless sku

2022-06-06 Thread Jani Nikula
On Mon, 06 Jun 2022, "Hogander, Jouni" wrote: > On Fri, 2022-06-03 at 16:32 +, Souza, Jose wrote: >> On Fri, 2022-06-03 at 13:14 +, Hogander, Jouni wrote: >> > On Fri, 2022-06-03 at 15:43 +0300, Jani Nikula wrote: >> > > On Fri, 03 Jun 2022, Jouni Högander >> > > wrote: >> > > > Export he

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_14015795083

2022-06-06 Thread Jani Nikula
On Mon, 06 Jun 2022, Anshuman Gupta wrote: > i915 must disable Render DOP clock gating globally. > > B.Spec: 52621 Please use Bspec: BR, Jani. > Cc: Matt Roper > Cc: Badal Nilawar > Signed-off-by: Anshuman Gupta > --- > drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + > drivers/gpu/drm/i

Re: [Intel-gfx] [PATCH 0/7] drm/i915: i915_drv.h & i915_gem.h header refactoring

2022-06-06 Thread Tvrtko Ursulin
On 03/06/2022 14:05, Jani Nikula wrote: Turn i915_gem.h into a useful header that contains stuff the name implies, and clean up i915_drv.h a bit. Jani Nikula (7): drm/i915/tasklet: separate local hacks around struct tasklet_struct drm/i915/debug: add new i915_debug.h for debug asserts

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Catch and log more unexpected values in DG1_MSTR_TILE_INTR

2022-06-06 Thread Tvrtko Ursulin
On 27/05/2022 19:42, Matt Roper wrote: On Thu, May 26, 2022 at 11:18:17AM +0100, Tvrtko Ursulin wrote: On 25/05/2022 19:05, Matt Roper wrote: On Wed, May 25, 2022 at 05:03:13PM +0100, Tvrtko Ursulin wrote: On 24/05/2022 18:51, Matt Roper wrote: On Tue, May 24, 2022 at 10:43:39AM +0100, Tvr

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_14015795083

2022-06-06 Thread Gupta, Anshuman
> -Original Message- > From: Jani Nikula > Sent: Monday, June 6, 2022 1:53 PM > To: Gupta, Anshuman ; intel- > g...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_14015795083 > > On Mon, 06 Jun 2022, Anshuman Gupta wrote: > > i915 must disable Render DOP

[Intel-gfx] [PATCH] drm/i915/dgfx: Disable d3cold Correctly

2022-06-06 Thread Anshuman Gupta
Currently i915 disables d3cold for i915 pci dev. This blocks D3 for i915 gfx pci upstream bridge (VSP). Let's disable d3cold at gfx root port to make sure that i915 gfx VSP can transition to D3 to save some power. Fixes: 1a085e23411d ("drm/i915: Disable D3Cold in s2idle and runtime pm") Cc: Rodrig

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dgfx: Disable d3cold Correctly

2022-06-06 Thread Patchwork
== Series Details == Series: drm/i915/dgfx: Disable d3cold Correctly URL : https://patchwork.freedesktop.org/series/104770/ State : success == Summary == CI Bug Log - changes from CI_DRM_11727 -> Patchwork_104770v1 Summary --- **SUCC

Re: [Intel-gfx] [PATCH 1/2] drm/i915/opregion: add function to check if headless sku

2022-06-06 Thread Souza, Jose
On Mon, 2022-06-06 at 11:16 +0300, Jani Nikula wrote: > On Mon, 06 Jun 2022, "Hogander, Jouni" wrote: > > On Fri, 2022-06-03 at 16:32 +, Souza, Jose wrote: > > > On Fri, 2022-06-03 at 13:14 +, Hogander, Jouni wrote: > > > > On Fri, 2022-06-03 at 15:43 +0300, Jani Nikula wrote: > > > > > On

[Intel-gfx] [PATCH i-g-t] intel-gpu-top: Optimise the scanning loop a bit

2022-06-06 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Opendir(3) and fdopendir(3) are quite expensive system calls when ran in a loop which iterates all processes in a system times all open files in each. Replace some of them (easy ones) with simpler open(2)/read(2) combo to avoid hammering on the malloc/free. This brings the

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dgfx: Disable d3cold Correctly

2022-06-06 Thread Patchwork
== Series Details == Series: drm/i915/dgfx: Disable d3cold Correctly URL : https://patchwork.freedesktop.org/series/104770/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11727_full -> Patchwork_104770v1_full Summary ---

Re: [Intel-gfx] [PATCH] drm/i915/dgfx: Disable d3cold Correctly

2022-06-06 Thread Luca Coelho
On Mon, 2022-06-06 at 17:56 +0530, Anshuman Gupta wrote: > Currently i915 disables d3cold for i915 pci dev. > This blocks D3 for i915 gfx pci upstream bridge (VSP). > Let's disable d3cold at gfx root port to make sure that > i915 gfx VSP can transition to D3 to save some power. (nit) It's better t

Re: [Intel-gfx] [RFC PATCH v2 00/27] DRM.debug on DYNAMIC_DEBUG, add trace events

2022-06-06 Thread jim . cromie
On Wed, May 25, 2022 at 9:02 AM Daniel Vetter wrote: > On Mon, May 16, 2022 at 04:56:13PM -0600, Jim Cromie wrote: > > DRM.debug API is 23 macros, issuing 10 exclusive categories of debug > > messages. By rough count, they are used 5140 times in the kernel. > > These all call drm_dbg or drm_devd

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Catch and log more unexpected values in DG1_MSTR_TILE_INTR

2022-06-06 Thread Matt Roper
On Mon, Jun 06, 2022 at 12:55:20PM +0100, Tvrtko Ursulin wrote: > > On 27/05/2022 19:42, Matt Roper wrote: > > On Thu, May 26, 2022 at 11:18:17AM +0100, Tvrtko Ursulin wrote: > > > On 25/05/2022 19:05, Matt Roper wrote: > > > > On Wed, May 25, 2022 at 05:03:13PM +0100, Tvrtko Ursulin wrote: > > >

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add Wa_14015795083

2022-06-06 Thread Matt Roper
On Mon, Jun 06, 2022 at 11:33:24AM +0530, Anshuman Gupta wrote: > i915 must disable Render DOP clock gating globally. > > B.Spec: 52621 > Cc: Matt Roper > Cc: Badal Nilawar > Signed-off-by: Anshuman Gupta > --- > drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + > drivers/gpu/drm/i915/gt/inte

Re: [Intel-gfx] [RFC PATCH v2 1/1] drm/i915: Replace shmem memory region and object backend with TTM

2022-06-06 Thread Adrian Larumbe
On 01.06.2022 19:43, Ruhl, Michael J wrote: >>-Original Message- >>From: Adrian Larumbe >>Sent: Friday, May 27, 2022 12:08 PM >>To: Ruhl, Michael J >>Cc: dan...@ffwll.ch; intel-gfx@lists.freedesktop.org >>Subject: Re: [Intel-gfx] [RFC PATCH v2 1/1] drm/i915: Replace shmem memory >>region

Re: [Intel-gfx] [RFC v3 1/3] drm/doc/rfc: VM_BIND feature design document

2022-06-06 Thread Zeng, Oak
Regards, Oak > -Original Message- > From: Vishwanathapura, Niranjana > Sent: June 2, 2022 4:49 PM > To: Zeng, Oak > Cc: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; Vetter, > Daniel ; Brost, Matthew ; > Hellstrom, Thomas ; ja...@jlekstrand.net; > Wilson, Chris P ;

[Intel-gfx] [Intel-gfx 1/1] drm/i915/guc: Asynchronous flush of GuC log regions

2022-06-06 Thread Alan Previn
Both error-capture and relay-logging mechanism use the GuC log infrastructure. That means the KMD must send a log flush complete notification back to GuC after reading the data out. This call is currently being sent synchronously. However, synchronous H2Gs cause problems when the system is backed u

[Intel-gfx] [Intel-gfx 0/1] GuC-Log flush-completes be asynchronous

2022-06-06 Thread Alan Previn
This series updates GuC relay-logging and error-capture to send the Host-To-GuC action for KMD log flush completion as an asynchronmous event as opposed to a blocking call. Alan Previn (1): drm/i915/guc: Asynchronous flush of GuC log regions drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 3 +

[Intel-gfx] ✗ Fi.CI.BUILD: failure for Remove the VFIO_IOMMU_NOTIFY_DMA_UNMAP notifier

2022-06-06 Thread Patchwork
== Series Details == Series: Remove the VFIO_IOMMU_NOTIFY_DMA_UNMAP notifier URL : https://patchwork.freedesktop.org/series/104793/ State : failure == Summary == Error: patch https://patchwork.freedesktop.org/api/1.0/series/104793/revisions/1/mbox/ not applied Applying: vfio: Replace the DMA

[Intel-gfx] ✓ Fi.CI.BAT: success for GuC-Log flush-completes be asynchronous

2022-06-06 Thread Patchwork
== Series Details == Series: GuC-Log flush-completes be asynchronous URL : https://patchwork.freedesktop.org/series/104791/ State : success == Summary == CI Bug Log - changes from CI_DRM_11729 -> Patchwork_104791v1 Summary --- **SUCC

[Intel-gfx] ✓ Fi.CI.IGT: success for GuC-Log flush-completes be asynchronous

2022-06-06 Thread Patchwork
== Series Details == Series: GuC-Log flush-completes be asynchronous URL : https://patchwork.freedesktop.org/series/104791/ State : success == Summary == CI Bug Log - changes from CI_DRM_11729_full -> Patchwork_104791v1_full Summary ---

Re: [Intel-gfx] [PATCH 1/2] vfio: Replace the DMA unmapping notifier with a callback

2022-06-06 Thread Christoph Hellwig
On Mon, Jun 06, 2022 at 09:34:35PM -0300, Jason Gunthorpe wrote: > +static void intel_vgpu_dma_unmap(struct vfio_device *vfio_dev, u64 iova, > + u64 length) > { > + struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); > + struct gvt_dma *entry; > + u64 iov

Re: [Intel-gfx] [PATCH 2/2] vfio: Replace the iommu notifier with a device list

2022-06-06 Thread Christoph Hellwig
On Mon, Jun 06, 2022 at 09:34:36PM -0300, Jason Gunthorpe wrote: > + if (!list_empty(&iommu->device_list)) { > + mutex_lock(&iommu->device_list_lock); > + mutex_unlock(&iommu->lock); > + > + list