[Intel-gfx] ✗ Fi.CI.IGT: failure for Update to new HuC for TGL+ and enable GuC/HuC on ADL-P

2021-06-25 Thread Patchwork
== Series Details == Series: Update to new HuC for TGL+ and enable GuC/HuC on ADL-P URL : https://patchwork.freedesktop.org/series/91932/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10282_full -> Patchwork_20473_full Summ

Re: [Intel-gfx] [PATCH v4 25/27] drm/vmwgfx: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Zack Rusin
> On Jun 25, 2021, at 04:22, Thomas Zimmermann wrote: > > The field drm_device.irq_enabled is only used by legacy drivers > with userspace modesetting. Don't set it in vmxgfx. All usage of > the field within vmwgfx can safely be removed. > > Signed-off-by: Thomas Zimmermann > Reviewed-by: Lau

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes URL : https://patchwork.freedesktop.org/series/91931/ State : success == Summary == CI Bug Log - changes from CI_DRM_10282_full -> Patchwork_20472_full

[Intel-gfx] ✓ Fi.CI.BAT: success for Update to new HuC for TGL+ and enable GuC/HuC on ADL-P

2021-06-25 Thread Patchwork
== Series Details == Series: Update to new HuC for TGL+ and enable GuC/HuC on ADL-P URL : https://patchwork.freedesktop.org/series/91932/ State : success == Summary == CI Bug Log - changes from CI_DRM_10282 -> Patchwork_20473 Summary --

[Intel-gfx] [PATCH 2/2] drm/i915/adlp: Add ADL-P GuC/HuC firmware files

2021-06-25 Thread John . C . Harrison
From: John Harrison Add ADL-P to the list of supported GuC and HuC firmware versions. For HuC, it reuses the existing TGL firmware file. For GuC, there is a dedicated firmware release. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 1 + 1 file changed, 1 insertion(

[Intel-gfx] [PATCH 1/2] drm/i915/huc: Update TGL and friends to HuC 7.9.3

2021-06-25 Thread John . C . Harrison
From: John Harrison A new HuC is available for TGL and compatible platforms, so switch to using it. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c b/dr

[Intel-gfx] [PATCH 0/2] Update to new HuC for TGL+ and enable GuC/HuC on ADL-P

2021-06-25 Thread John . C . Harrison
From: John Harrison There is a new HuC version available for TGL and compatible platforms, so switch to using it. Also, there is now a GuC and HuC for ADL-P, so use those too. Signed-off-by: John Harrison John Harrison (2): drm/i915/huc: Update TGL and friends to HuC 7.9.3 drm/i915/adlp:

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes URL : https://patchwork.freedesktop.org/series/91931/ State : success == Summary == CI Bug Log - changes from CI_DRM_10282 -> Patchwork_20472 ==

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes URL : https://patchwork.freedesktop.org/series/91931/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separ

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/display/adl_p: Implement PSR changes URL : https://patchwork.freedesktop.org/series/91931/ State : warning == Summary == $ dim checkpatch origin/drm-tip 40703d3f9d23 drm/i915/display/adl_p: Implement PSR changes -:149: WARNING:LO

[Intel-gfx] [PATCH 1/2] drm/i915/display/adl_p: Implement PSR changes

2021-06-25 Thread José Roberto de Souza
Implements changes around PSR for alderlake-P: - EDP_SU_TRACK_ENABLE was removed and bit 30 now has other function - Some bits of PSR2_MAN_TRK_CTL moved and SF_PARTIAL_FRAME_UPDATE was removed setting SU_REGION_START/END_ADDR will do this job - SU_REGION_START/END_ADDR have now line granularity

[Intel-gfx] [PATCH 2/2] drm/i915/display: Disable FBC when PSR2 is enabled display 12 and newer

2021-06-25 Thread José Roberto de Souza
This is now a requirement for all display 12 and newer, not only for tigerlake. BSpec: 50422 Cc: Gwan-gyeong Mun Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/i915/display/intel_fbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display

[Intel-gfx] [CI] PR for new GuC v62.0.3 and HuC v7.9.3 binaries

2021-06-25 Thread John . C . Harrison
The following changes since commit 0f66b74b6267fce66395316308d88b0535aa3df2: cypress: update firmware for cyw54591 pcie (2021-06-09 07:12:02 -0400) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-firmware adlp_updates for you to fetch changes up to 38983b6f28e0

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915, drm/ttm: Update the ttm_move_memcpy() interface (rev2)

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915, drm/ttm: Update the ttm_move_memcpy() interface (rev2) URL : https://patchwork.freedesktop.org/series/91893/ State : success == Summary == CI Bug Log - changes from CI_DRM_10282_full -> Patchwork_20471_full

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915, drm/ttm: Update the ttm_move_memcpy() interface (rev2)

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915, drm/ttm: Update the ttm_move_memcpy() interface (rev2) URL : https://patchwork.freedesktop.org/series/91893/ State : success == Summary == CI Bug Log - changes from CI_DRM_10282 -> Patchwork_20471 Summ

Re: [Intel-gfx] [PATCH 06/47] drm/i915/guc: Optimize CTB writes and reads

2021-06-25 Thread Matthew Brost
On Fri, Jun 25, 2021 at 03:09:29PM +0200, Michal Wajdeczko wrote: > > > On 24.06.2021 09:04, Matthew Brost wrote: > > CTB writes are now in the path of command submission and should be > > optimized for performance. Rather than reading CTB descriptor values > > (e.g. head, tail) which could resul

Re: [Intel-gfx] [PATCH 09/47] drm/i915/guc: Remove GuC stage descriptor, add lrc descriptor

2021-06-25 Thread John Harrison
On 6/24/2021 00:04, Matthew Brost wrote: Remove old GuC stage descriptor, add lrc descriptor which will be used by the new GuC interface implemented in this patch series. Cc: John Harrison Signed-off-by: Matthew Brost Reviewed-by: John Harrison __

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Hellström >Sent: Friday, June 25, 2021 3:10 PM>To: Ruhl, Michael J >; intel- >g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org >Cc: Auld, Matthew >Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map >time > > >On 6/25/21

Re: [Intel-gfx] [PATCH 43/47] drm/i915/guc: Hook GuC scheduling policies up

2021-06-25 Thread John Harrison
On 6/24/2021 17:59, Matthew Brost wrote: On Thu, Jun 24, 2021 at 12:05:12AM -0700, Matthew Brost wrote: From: John Harrison Use the official driver default scheduling policies for configuring the GuC scheduler rather than a bunch of hardcoded values. Signed-off-by: John Harrison Signed-off-b

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Thomas Hellström
On 6/25/21 9:07 PM, Ruhl, Michael J wrote: -Original Message- From: Thomas Hellström Sent: Friday, June 25, 2021 2:50 PM To: Ruhl, Michael J ; intel- g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org Cc: Auld, Matthew Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system a

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Hellström >Sent: Friday, June 25, 2021 2:50 PM >To: Ruhl, Michael J ; intel- >g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org >Cc: Auld, Matthew >Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map >time > >Hi, Mike, > >On

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Thomas Hellström
Hi, Mike, On 6/25/21 7:57 PM, Ruhl, Michael J wrote: -Original Message- From: Thomas Hellström Sent: Friday, June 25, 2021 1:52 PM To: Ruhl, Michael J ; intel- g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org Cc: Auld, Matthew Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate t

Re: [Intel-gfx] [PATCH 06/47] drm/i915/guc: Optimize CTB writes and reads

2021-06-25 Thread Matthew Brost
On Fri, Jun 25, 2021 at 03:09:29PM +0200, Michal Wajdeczko wrote: > > > On 24.06.2021 09:04, Matthew Brost wrote: > > CTB writes are now in the path of command submission and should be > > optimized for performance. Rather than reading CTB descriptor values > > (e.g. head, tail) which could resul

Re: [Intel-gfx] [PATCH 04/47] drm/i915/guc: Add non blocking CTB send function

2021-06-25 Thread Matthew Brost
On Fri, Jun 25, 2021 at 01:50:21PM +0200, Michal Wajdeczko wrote: > > > On 25.06.2021 00:41, Matthew Brost wrote: > > On Thu, Jun 24, 2021 at 07:02:18PM +0200, Michal Wajdeczko wrote: > >> > >> > >> On 24.06.2021 17:49, Matthew Brost wrote: > >>> On Thu, Jun 24, 2021 at 04:48:32PM +0200, Michal W

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Hellström >Sent: Friday, June 25, 2021 1:52 PM >To: Ruhl, Michael J ; intel- >g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org >Cc: Auld, Matthew >Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map >time > > >On 6/25/21 7:3

Re: [Intel-gfx] [PATCH 13/47] drm/i915/guc: Implement GuC context operations for new inteface

2021-06-25 Thread Matthew Brost
On Fri, Jun 25, 2021 at 03:25:13PM +0200, Michal Wajdeczko wrote: > > > On 24.06.2021 09:04, Matthew Brost wrote: > > Implement GuC context operations which includes GuC specific operations > > alloc, pin, unpin, and destroy. > > > > Signed-off-by: John Harrison > > Signed-off-by: Matthew Brost

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Thomas Hellström
On 6/25/21 7:38 PM, Ruhl, Michael J wrote: -Original Message- From: Thomas Hellström Sent: Friday, June 25, 2021 12:18 PM To: Ruhl, Michael J ; intel- g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org Cc: Auld, Matthew Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Hellström >Sent: Friday, June 25, 2021 12:18 PM >To: Ruhl, Michael J ; intel- >g...@lists.freedesktop.org; dri-de...@lists.freedesktop.org >Cc: Auld, Matthew >Subject: Re: [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map >time > >Hi, Michael, >

Re: [Intel-gfx] [PATCH 10/47] drm/i915/guc: Add lrc descriptor context lookup array

2021-06-25 Thread Matthew Brost
On Fri, Jun 25, 2021 at 03:17:51PM +0200, Michal Wajdeczko wrote: > > > On 24.06.2021 09:04, Matthew Brost wrote: > > Add lrc descriptor context lookup array which can resolve the > > intel_context from the lrc descriptor index. In addition to lookup, it > > can determine in the lrc descriptor co

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem URL : https://patchwork.freedesktop.org/series/91921/ State : success == Summary == CI Bug Log - changes from CI_DRM_10281_full -> Patchwork_20470_full ==

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Thomas Hellström
Hi, Michael, thanks for looking at this. On 6/25/21 6:02 PM, Ruhl, Michael J wrote: -Original Message- From: dri-devel On Behalf Of Thomas Hellström Sent: Thursday, June 24, 2021 2:31 PM To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org Cc: Thomas Hellström ; Auld, M

Re: [Intel-gfx] [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

2021-06-25 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Thomas Hellström >Sent: Thursday, June 24, 2021 2:31 PM >To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org >Cc: Thomas Hellström ; Auld, Matthew > >Subject: [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v3,1/2] drm/i915: support forcing the page size with lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: support forcing the page size with lmem URL : https://patchwork.freedesktop.org/series/91918/ State : success == Summary == CI Bug Log - changes from CI_DRM_10280_full -> Patchwork_20469_full

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem URL : https://patchwork.freedesktop.org/series/91921/ State : success == Summary == CI Bug Log - changes from CI_DRM_10281 -> Patchwork_20470 Su

Re: [Intel-gfx] [PATCH 13/47] drm/i915/guc: Implement GuC context operations for new inteface

2021-06-25 Thread Michal Wajdeczko
On 24.06.2021 09:04, Matthew Brost wrote: > Implement GuC context operations which includes GuC specific operations > alloc, pin, unpin, and destroy. > > Signed-off-by: John Harrison > Signed-off-by: Matthew Brost > --- > drivers/gpu/drm/i915/gt/intel_context.c | 5 + > drivers/gpu/d

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Drop all references to DRM IRQ midlayer

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915: Drop all references to DRM IRQ midlayer URL : https://patchwork.freedesktop.org/series/91915/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10280_full -> Patchwork_20467_full Summary -

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem URL : https://patchwork.freedesktop.org/series/91921/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v2,1/2] drm/i915/gem: only allow WC for lmem URL : https://patchwork.freedesktop.org/series/91921/ State : warning == Summary == $ dim checkpatch origin/drm-tip 02ac31b35505 drm/i915/gem: only allow WC for lmem ebe44a5c829b drm/i915/gem: only

Re: [Intel-gfx] [PATCH 10/47] drm/i915/guc: Add lrc descriptor context lookup array

2021-06-25 Thread Michal Wajdeczko
On 24.06.2021 09:04, Matthew Brost wrote: > Add lrc descriptor context lookup array which can resolve the > intel_context from the lrc descriptor index. In addition to lookup, it > can determine in the lrc descriptor context is currently registered with > the GuC by checking if an entry for a de

Re: [Intel-gfx] [PATCH 06/47] drm/i915/guc: Optimize CTB writes and reads

2021-06-25 Thread Michal Wajdeczko
On 24.06.2021 09:04, Matthew Brost wrote: > CTB writes are now in the path of command submission and should be > optimized for performance. Rather than reading CTB descriptor values > (e.g. head, tail) which could result in accesses across the PCIe bus, > store shadow local copies and only read/

[Intel-gfx] [PATCH v2 2/2] drm/i915/gem: only allow WB for smem only placements

2021-06-25 Thread Matthew Auld
We only support single mode and this should be immutable. For smem only placements on DGFX this should be WB. On DG1 everything is snooped, always, and so should be coherent. I915_GEM_DOMAIN_GTT looks like it's for the aperture which is now gone for DGFX, so hopefully can also be safely rejected.

[Intel-gfx] [PATCH v2 1/2] drm/i915/gem: only allow WC for lmem

2021-06-25 Thread Matthew Auld
This is already the case for our kernel internal mappings, and since we now only support a single mode this should always be WC if the object can be placed in lmem. v2: rebase and also update set_domain Signed-off-by: Matthew Auld Cc: Thomas Hellström Cc: Maarten Lankhorst Cc: Daniel Vetter -

Re: [Intel-gfx] [PATCH 03/47] drm/i915/guc: Increase size of CTB buffers

2021-06-25 Thread Michal Wajdeczko
On 24.06.2021 17:41, Matthew Brost wrote: > On Thu, Jun 24, 2021 at 03:49:55PM +0200, Michal Wajdeczko wrote: >> >> >> On 24.06.2021 09:04, Matthew Brost wrote: >>> With the introduction of non-blocking CTBs more than one CTB can be in >>> flight at a time. Increasing the size of the CTBs should

Re: [Intel-gfx] [PATCH 02/47] drm/i915/guc: Improve error message for unsolicited CT response

2021-06-25 Thread Michal Wajdeczko
On 24.06.2021 09:04, Matthew Brost wrote: > Improve the error message when a unsolicited CT response is received by > printing fence that couldn't be found, the last fence, and all requests > with a response outstanding. > > Signed-off-by: Matthew Brost > --- > drivers/gpu/drm/i915/gt/uc/inte

Re: [Intel-gfx] [PATCH 04/47] drm/i915/guc: Add non blocking CTB send function

2021-06-25 Thread Michal Wajdeczko
On 25.06.2021 00:41, Matthew Brost wrote: > On Thu, Jun 24, 2021 at 07:02:18PM +0200, Michal Wajdeczko wrote: >> >> >> On 24.06.2021 17:49, Matthew Brost wrote: >>> On Thu, Jun 24, 2021 at 04:48:32PM +0200, Michal Wajdeczko wrote: On 24.06.2021 09:04, Matthew Brost wrote: > Add

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v3,1/2] drm/i915: support forcing the page size with lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: support forcing the page size with lmem URL : https://patchwork.freedesktop.org/series/91918/ State : success == Summary == CI Bug Log - changes from CI_DRM_10280 -> Patchwork_20469 ==

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v3,1/2] drm/i915: support forcing the page size with lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: support forcing the page size with lmem URL : https://patchwork.freedesktop.org/series/91918/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be check

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v3,1/2] drm/i915: support forcing the page size with lmem

2021-06-25 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: support forcing the page size with lmem URL : https://patchwork.freedesktop.org/series/91918/ State : warning == Summary == $ dim checkpatch origin/drm-tip 98175644c174 drm/i915: support forcing the page size with lmem -:326

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/display/dsc: Set BPP in the kernel

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915/display/dsc: Set BPP in the kernel URL : https://patchwork.freedesktop.org/series/91917/ State : failure == Summary == Couldn't find any build artifact matching "Test-with: Test-with: 20210622102454.8922-1-venkata.sai.patn...@intel.com" Check that the msg

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Drop all references to DRM IRQ midlayer

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915: Drop all references to DRM IRQ midlayer URL : https://patchwork.freedesktop.org/series/91915/ State : success == Summary == CI Bug Log - changes from CI_DRM_10280 -> Patchwork_20467 Summary ---

Re: [Intel-gfx] [PATCH 1/4] drm/i915/gem: Implement object migration

2021-06-25 Thread Matthew Auld
On 24/06/2021 19:31, Thomas Hellström wrote: Introduce an interface to migrate objects between regions. This is primarily intended to migrate objects to LMEM for display and to SYSTEM for dma-buf, but might be reused in one form or another for performande-based migration. Signed-off-by: Thomas H

[Intel-gfx] ✓ Fi.CI.IGT: success for Deprecate struct drm_device.irq_enabled (rev2)

2021-06-25 Thread Patchwork
== Series Details == Series: Deprecate struct drm_device.irq_enabled (rev2) URL : https://patchwork.freedesktop.org/series/91845/ State : success == Summary == CI Bug Log - changes from CI_DRM_10279_full -> Patchwork_20466_full Summary

[Intel-gfx] [PATCH v3 2/2] drm/i915/gtt: ignore min_page_size for paging structures

2021-06-25 Thread Matthew Auld
The min_page_size is only needed for pages inserted into the GTT, and for our paging structures we only need at most 4K bytes, so simply ignore the min_page_size restrictions here, otherwise we might see some severe overallocation on some devices. v2(Thomas): add some commentary Signed-off-by: Ma

[Intel-gfx] [PATCH v3 1/2] drm/i915: support forcing the page size with lmem

2021-06-25 Thread Matthew Auld
For some specialised objects we might need something larger than the regions min_page_size due to some hw restriction, and slightly more hairy is needing something smaller with the guarantee that such objects will never be inserted into any GTT, which is the case for the paging structures. This al

[Intel-gfx] [PATCH 2/2] drm/i915/display/dsc: Set BPP in the kernel

2021-06-25 Thread venkata . sai . patnana
From: Anusha Srivatsa Set compress BPP in kernel while connector DP or eDP Cc: Vandita Kulkarni Cc: Navare Manasi D Signed-off-by: Anusha Srivatsa Signed-off-by: Patnana Venkata Sai --- drivers/gpu/drm/i915/display/intel_dp.c | 23 ++- 1 file changed, 18 insertions(+), 5

[Intel-gfx] [PATCH 1/2] drm/i915/display/dsc: Add Per connector debugfs node for DSC BPP enable

2021-06-25 Thread venkata . sai . patnana
From: Anusha Srivatsa DSC can be supported per DP connector. This patch creates a per connector debugfs node to expose the Input and Compressed BPP. The same node can be used from userspace to force DSC to a certain BPP. force_dsc_bpp is written through this debugfs node to force DSC BPP to all

[Intel-gfx] [PATCH 0/2] drm/i915/display/dsc: Set BPP in the kernel

2021-06-25 Thread venkata . sai . patnana
From: Patnana Venkata Sai Test-with: 20210622102454.8922-1-venkata.sai.patn...@intel.com Anusha Srivatsa (2): drm/i915/display/dsc: Add Per connector debugfs node for DSC BPP enable drm/i915/display/dsc: Set BPP in the kernel .../drm/i915/display/intel_display_debugfs.c | 103

[Intel-gfx] ✓ Fi.CI.BAT: success for Deprecate struct drm_device.irq_enabled (rev2)

2021-06-25 Thread Patchwork
== Series Details == Series: Deprecate struct drm_device.irq_enabled (rev2) URL : https://patchwork.freedesktop.org/series/91845/ State : success == Summary == CI Bug Log - changes from CI_DRM_10279 -> Patchwork_20466 Summary --- **S

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Deprecate struct drm_device.irq_enabled (rev2)

2021-06-25 Thread Patchwork
== Series Details == Series: Deprecate struct drm_device.irq_enabled (rev2) URL : https://patchwork.freedesktop.org/series/91845/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/

Re: [Intel-gfx] [PATCH v4 15/17] drm/uAPI: Move "Broadcast RGB" property from driver specific to general context

2021-06-25 Thread Werner Sembach
Am 23.06.21 um 13:26 schrieb Pekka Paalanen: > On Wed, 23 Jun 2021 12:10:14 +0200 > Werner Sembach wrote: > >> Am 23.06.21 um 09:48 schrieb Pekka Paalanen: >>> On Tue, 22 Jun 2021 11:57:53 +0200 >>> Werner Sembach wrote: >>> Am 22.06.21 um 09:25 schrieb Pekka Paalanen: > On Fri, 18

[Intel-gfx] [PATCH] drm/i915: Drop all references to DRM IRQ midlayer

2021-06-25 Thread Thomas Zimmermann
Remove all references to DRM's IRQ midlayer. The code in xcs_resume() probably didn't work as intended. It uses struct drm_device.irq, which is allocated to 0, but never initialized by i915 to the device's interrupt number. Signed-off-by: Thomas Zimmermann Fixes: 536f77b1caa0 ("drm/i915/gt: Call

[Intel-gfx] [PATCH v4 25/27] drm/vmwgfx: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in vmxgfx. All usage of the field within vmwgfx can safely be removed. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/vmwgfx/vmwg

[Intel-gfx] [PATCH v4 26/27] drm/xlnx: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in xlnx. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/

[Intel-gfx] [PATCH v4 27/27] drm/zte: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in zte. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/zte/zx_drm_drv.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/

[Intel-gfx] [PATCH v4 24/27] drm/vkms: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in vkms. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/vkms/vkms_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_drv

[Intel-gfx] [PATCH v4 23/27] drm/vc4: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in vc4. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/vc4/vc4_kms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/g

[Intel-gfx] [PATCH v4 22/27] drm/tidss: Don't use struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't use it in tidss. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/tidss/tidss_irq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/

[Intel-gfx] [PATCH v4 21/27] drm/tegra: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in tegra. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Thierry Reding Acked-by: Daniel Vetter --- drivers/gpu/drm/tegra/drm.c | 7 --- 1 file changed, 7 del

[Intel-gfx] [PATCH v4 15/27] drm/omapdrm: Track IRQ state in local device state

2021-06-25 Thread Thomas Zimmermann
Replace usage of struct drm_device.irq_enabled with the driver's own state field struct omap_drm_device.irq_enabled. The field in the DRM device structure is considered legacy and should not be used by KMS drivers. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel V

[Intel-gfx] [PATCH v4 20/27] drm/sun4i: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in sun4i. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/sun4i/sun4i_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/d

[Intel-gfx] [PATCH v4 19/27] drm/stm: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in stm. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/stm/ltdc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/g

[Intel-gfx] [PATCH v4 17/27] drm/rockchip: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in rockchip. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 6 -- 1 file changed, 6 deletions(-

[Intel-gfx] [PATCH v4 18/27] drm/sti: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in sti. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/sti/sti_compositor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/

[Intel-gfx] [PATCH v4 16/27] drm/rcar-du: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in rcar-du. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/rcar

[Intel-gfx] [PATCH v4 14/27] drm/nouveau: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in nouveau. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/nouveau/nouveau_drm.c | 3 --- 1 file changed, 3 deletions(-) diff --

[Intel-gfx] [PATCH v4 13/27] drm/mediatek: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in mediatek. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 6 -- 1 file changed, 6 deletions(-) di

[Intel-gfx] [PATCH v4 11/27] drm/imx: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in imx. v3: * move dcss changes into separate patch (Laurentiu) Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Philipp Zabel Acked-by: Daniel Vetter ---

[Intel-gfx] [PATCH v4 12/27] drm/imx/dcss: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in dcss. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Laurentiu Palcu Acked-by: Daniel Vetter --- drivers/gpu/drm/imx/dcss/dcss-kms.c | 3 --- 1 file changed, 3

[Intel-gfx] [PATCH v4 10/27] drm/kirin: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in kirin. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 -- 1 file changed, 2 deletions(-)

[Intel-gfx] [PATCH v4 09/27] drm/exynos: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in exynos. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 10 -- 1 file changed, 10 deletions(-

[Intel-gfx] [PATCH v4 08/27] drm/malidp: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in malidp. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Liviu Dudau Acked-by: Daniel Vetter --- drivers/gpu/drm/arm/malidp_drv.c | 4 1 file changed, 4 del

[Intel-gfx] [PATCH v4 07/27] drm/komeda: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in komeda. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Liviu Dudau Acked-by: Daniel Vetter --- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 1 file

[Intel-gfx] [PATCH v4 05/27] drm/armada: Don't set struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
The field drm_device.irq_enabled is only used by legacy drivers with userspace modesetting. Don't set it in armada. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/armada/armada_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm

[Intel-gfx] [PATCH v4 06/27] drm/i915: Track IRQ state in local device state

2021-06-25 Thread Thomas Zimmermann
Replace usage of struct drm_device.irq_enabled with the driver's own state field struct drm_i915_private.irq_enabled. The field in the DRM device structure is considered legacy and should not be used by KMS drivers. Signed-off-by: Thomas Zimmermann Reviewed-by: Jani Nikula --- drivers/gpu/drm/i

[Intel-gfx] [PATCH v4 04/27] drm: Don't test for IRQ support in VBLANK ioctls

2021-06-25 Thread Thomas Zimmermann
For KMS drivers, replace the IRQ check in VBLANK ioctls with a check for vblank support. IRQs might be enabled wthout vblanking being supported. This change also removes the DRM framework's only dependency on IRQ state for non-legacy drivers. For legacy drivers with userspace modesetting, the orig

[Intel-gfx] [PATCH v4 02/27] drm/hibmc: Call drm_irq_uninstall() unconditionally

2021-06-25 Thread Thomas Zimmermann
Remove the check around drm_irq_uninstall(). The same test is done by the function internally. The tested state in irq_enabled is considered obsolete and should not be used by KMS drivers. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Tian Tao Acked-by: Daniel Vetter

[Intel-gfx] [PATCH v4 03/27] drm/radeon: Track IRQ state in local device state

2021-06-25 Thread Thomas Zimmermann
Replace usage of struct drm_device.irq_enabled with the driver's own state field struct radeon_device.irq.installed. The field in the DRM device structure is considered legacy and should not be used by KMS drivers. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel V

[Intel-gfx] [PATCH v4 01/27] drm/amdgpu: Track IRQ state in local device state

2021-06-25 Thread Thomas Zimmermann
Replace usage of struct drm_device.irq_enabled with the driver's own state field struct amdgpu_device.irq.installed. The field in the DRM device structure is considered legacy and should not be used by KMS drivers. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Daniel V

[Intel-gfx] [PATCH v4 00/27] Deprecate struct drm_device.irq_enabled

2021-06-25 Thread Thomas Zimmermann
Remove references to struct drm_device.irq_enabled from modern DRM drivers and core. KMS drivers enable IRQs for their devices internally. They don't have to keep track of the IRQ state via irq_enabled. For vblanking, it's cleaner to test for vblanking support directly than to test for enabled IRQ

Re: [Intel-gfx] [PATCH v2 1/5] KVM: do not allow mapping valid but non-refcounted pages

2021-06-25 Thread Paolo Bonzini
On 25/06/21 09:58, Christian Borntraeger wrote: On 25.06.21 09:36, David Stevens wrote: From: Nicholas Piggin It's possible to create a region which maps valid but non-refcounted pages (e.g., tail pages of non-compound higher order allocations). These host pages can then be returned by gfn_t

Re: [Intel-gfx] [PATCH v2] drm/i915: Reinstate the mmap ioctl for some platforms

2021-06-25 Thread Daniel Vetter
On Fri, Jun 25, 2021 at 9:48 AM Maarten Lankhorst wrote: > > Op 24-06-2021 om 14:04 schreef Daniel Vetter: > > On Thu, Jun 24, 2021 at 1:29 PM Thomas Hellström > > wrote: > >> Reinstate the mmap ioctl for all current integrated platforms. > >> The intention was really to have it disabled for disc

[Intel-gfx] ✗ Fi.CI.BUILD: failure for Remove uses of struct page from x86 and arm64 MMU

2021-06-25 Thread Patchwork
== Series Details == Series: Remove uses of struct page from x86 and arm64 MMU URL : https://patchwork.freedesktop.org/series/91908/ State : failure == Summary == Applying: KVM: do not allow mapping valid but non-refcounted pages Applying: KVM: mmu: introduce new gfn_to_pfn_page functions Appl

Re: [Intel-gfx] [PATCH v2] drm/i915: Reinstate the mmap ioctl for some platforms

2021-06-25 Thread Maarten Lankhorst
Op 24-06-2021 om 14:04 schreef Daniel Vetter: > On Thu, Jun 24, 2021 at 1:29 PM Thomas Hellström > wrote: >> Reinstate the mmap ioctl for all current integrated platforms. >> The intention was really to have it disabled for discrete graphics >> where we enforce a single mmap mode. >> >> Fixes: 35c

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915, drm/ttm: Update the ttm_move_memcpy() interface

2021-06-25 Thread Patchwork
== Series Details == Series: drm/i915, drm/ttm: Update the ttm_move_memcpy() interface URL : https://patchwork.freedesktop.org/series/91893/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10278_full -> Patchwork_20463_full S

[Intel-gfx] [PATCH v2 5/5] KVM: mmu: remove over-aggressive warnings

2021-06-25 Thread David Stevens
From: David Stevens Remove two warnings that require ref counts for pages to be non-zero, as mapped pfns from follow_pfn may not have an initialized ref count. Signed-off-by: David Stevens --- arch/x86/kvm/mmu/mmu.c | 7 --- virt/kvm/kvm_main.c| 2 +- 2 files changed, 1 insertion(+), 8

[Intel-gfx] [PATCH v2 4/5] KVM: arm64/mmu: use gfn_to_pfn_page

2021-06-25 Thread David Stevens
From: David Stevens Covert usages of the deprecated gfn_to_pfn functions to the new gfn_to_pfn_page functions. Signed-off-by: David Stevens --- arch/arm64/kvm/mmu.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/arch/arm64/kvm/mmu.c b/arch/arm6

[Intel-gfx] [PATCH v2 3/5] KVM: x86/mmu: use gfn_to_pfn_page

2021-06-25 Thread David Stevens
From: David Stevens Covert usages of the deprecated gfn_to_pfn functions to the new gfn_to_pfn_page functions. Signed-off-by: David Stevens --- arch/x86/kvm/mmu/mmu.c | 43 - arch/x86/kvm/mmu/mmu_internal.h | 3 ++- arch/x86/kvm/mmu/paging_tmpl.h | 23

[Intel-gfx] [PATCH v2 2/5] KVM: mmu: introduce new gfn_to_pfn_page functions

2021-06-25 Thread David Stevens
From: David Stevens Introduce new gfn_to_pfn_page functions that parallel existing gfn_to_pfn functions. The new functions are identical except they take an additional out parameter that is used to return the struct page if the hva was resolved by gup. This allows callers to differentiate the gup

[Intel-gfx] [PATCH v2 1/5] KVM: do not allow mapping valid but non-refcounted pages

2021-06-25 Thread David Stevens
From: Nicholas Piggin It's possible to create a region which maps valid but non-refcounted pages (e.g., tail pages of non-compound higher order allocations). These host pages can then be returned by gfn_to_page, gfn_to_pfn, etc., family of APIs, which take a reference to the page, which takes it

[Intel-gfx] [PATCH v2 0/5] Remove uses of struct page from x86 and arm64 MMU

2021-06-25 Thread David Stevens
KVM supports mapping VM_IO and VM_PFNMAP memory into the guest by using follow_pte in gfn_to_pfn. However, the resolved pfns may not have assoicated struct pages, so they should not be passed to pfn_to_page. This series removes such calls from the x86 and arm64 secondary MMU. To do this, this serie

  1   2   >