[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/psr2: Do full fetches when doing async flips

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/psr2: Do full fetches when doing async flips URL : https://patchwork.freedesktop.org/series/96357/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10799_full -> Patchwork_21468_full

Re: [Intel-gfx] [PATCH] drm/i915/dsc: Fix the usage of uncompressed bpp

2021-10-27 Thread Kulkarni, Vandita
> -Original Message- > From: Navare, Manasi D > Sent: Thursday, October 28, 2021 12:57 AM > To: Kulkarni, Vandita > Cc: intel-gfx@lists.freedesktop.org; Nikula, Jani > Subject: Re: [PATCH] drm/i915/dsc: Fix the usage of uncompressed bpp > > On Wed, Oct 27, 2021 at 03:23:16PM +0530,

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/adlp: Extend PSR2 support in transcoder B (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/adlp: Extend PSR2 support in transcoder B (rev2) URL : https://patchwork.freedesktop.org/series/96321/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10798_full -> Patchwork_21467_full

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

2021-10-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/kmb/kmb_drv.c between commit: c026565fe9be ("drm/kmb: Enable alpha blended second plane") from Linus' tree and commit: 099afadc533f ("drm/kmb: Enable support for framebuffer console") from the

Re: [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Revert 'guc_id' from i915_request tracepoint

2021-10-27 Thread Vivi, Rodrigo
On Wed, 2021-10-27 at 14:15 +0300, Joonas Lahtinen wrote: + Jani and Rodrigo in order to pick this to -fixes. picked up to drm-intel-next-fixes. thanks, Rodrigo. Quoting Patchwork (2021-10-27 13:31:33) Patch Details Series: drm/i915: Revert 'guc_id' from i915_request tracepoint URL:

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dmabuf: fix broken build

2021-10-27 Thread Vivi, Rodrigo
On Wed, 2021-10-27 at 10:48 +0100, Matthew Auld wrote: > On Wed, 27 Oct 2021 at 10:44, Jani Nikula > wrote: > > > > On Wed, 27 Oct 2021, Matthew Auld > > wrote: > > > On Wed, 27 Oct 2021 at 09:58, Jani Nikula > > > wrote: > > > > > > > > On Wed, 27 Oct 2021, Matthew Auld > > > > wrote: > > >

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty

2021-10-27 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty URL : https://patchwork.freedesktop.org/series/96348/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10797_full -> Patchwork_21466_full

[Intel-gfx] [PULL] topic/amdgpu-dp2.0-mst

2021-10-27 Thread Lyude Paul
topic/amdgpu-dp2.0-mst-2021-10-27: UAPI Changes: Nope! Cross-subsystem Changes: drm_dp_update_payload_part1() takes a new argument for specifying what the VCPI slot start is Core Changes: Make the DP MST helpers aware of the current starting VCPI slot/VCPI total slot count... Driver Changes:

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg2: Tile 4 plane format support (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Tile 4 plane format support (rev2) URL : https://patchwork.freedesktop.org/series/95715/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10797_full -> Patchwork_21465_full Summary

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: make array states static const (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915: make array states static const (rev2) URL : https://patchwork.freedesktop.org/series/94688/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797_full -> Patchwork_21464_full Summary

Re: [Intel-gfx] [PATCH v2 3/3] drm/i915: Initial introduction of vma resources

2021-10-27 Thread kernel test robot
Hi "Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next drm/drm-next tegra-drm/drm/tegra/for-next airlied/drm-next v5.15-rc7 next-20211027] [If your patch is ap

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/dg2: Enabling 64k page size and flat ccs (rev3)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Enabling 64k page size and flat ccs (rev3) URL : https://patchwork.freedesktop.org/series/95686/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10799 -> Patchwork_21470 Summary

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg()

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg() URL : https://patchwork.freedesktop.org/series/96344/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10797_full -> Patchwork_21463_full

Re: [Intel-gfx] ✗ Fi.CI.BUILD: failure for i915/gem/dmabuf: add to fix build error

2021-10-27 Thread Randy Dunlap
er to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Hi Patchwork, I am not using git, therefore there is no ancestor information. This patch applies to linux-next-20211027 (today where I am). Can I jus

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/psr2: Do full fetches when doing async flips

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/psr2: Do full fetches when doing async flips URL : https://patchwork.freedesktop.org/series/96357/ State : success == Summary == CI Bug Log - changes from CI_DRM_10799 -> Patchwork_21468 Summary

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/dg2: Enabling 64k page size and flat ccs (rev3)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Enabling 64k page size and flat ccs (rev3) URL : https://patchwork.freedesktop.org/series/95686/ 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 drm/i915/dg2: Enabling 64k page size and flat ccs (rev3)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Enabling 64k page size and flat ccs (rev3) URL : https://patchwork.freedesktop.org/series/95686/ State : warning == Summary == $ dim checkpatch origin/drm-tip 262eb27b8dcf drm/i915: Add has_64k_pages flag e3f6866bf3b6 drm/i915/xehpsdv: set min

[Intel-gfx] ✗ Fi.CI.BUILD: failure for i915/gem/dmabuf: add to fix build error

2021-10-27 Thread Patchwork
== Series Details == Series: i915/gem/dmabuf: add to fix build error URL : https://patchwork.freedesktop.org/series/96360/ State : failure == Summary == Applying: i915/gem/dmabuf: add to fix build error error: sha1 information is lacking or useless

[Intel-gfx] [PATCH v3 17/17] Doc/gpu/rfc/i915: i915 DG2 uAPI

2021-10-27 Thread Ramalingam C
Details of the new features getting added as part of DG2 enabling and their implicit impact on the uAPI. v2: improvised the Flat-CCS documentation [Danvet & CQ] Signed-off-by: Ramalingam C cc: Daniel Vetter cc: Matthew Auld cc: Simon Ser cc: Pekka Paalanen Cc: Jordan Justen Cc: Kenneth

[Intel-gfx] [PATCH v3 14/17] drm/i915/dg2: Plane handling for Flat CCS and clear color

2021-10-27 Thread Ramalingam C
From: Anshuman Gupta Handles the plane programing for flat ccs and clear color modifiers for DG2 Signed-off-by: Anshuman Gupta Signed-off-by: Juha-Pekka Heikkilä Signed-off-by: Ramalingam C --- .../gpu/drm/i915/display/intel_atomic_plane.c | 3 +-

[Intel-gfx] [PATCH v3 16/17] drm/i915/Flat-CCS: Document on Flat-CCS memory compression

2021-10-27 Thread Ramalingam C
Documents the Flat-CCS feature and kernel handling required along with modifiers used. Signed-off-by: Ramalingam C cc: Simon Ser cc: Pekka Paalanen Cc: Jordan Justen Cc: Kenneth Graunke Cc: mesa-...@lists.freedesktop.org Cc: Tony Ye Cc: Slawomir Milczarek ---

[Intel-gfx] [PATCH v3 15/17] drm/i915/uapi: document behaviour for DG2 64K support

2021-10-27 Thread Ramalingam C
From: Matthew Auld On discrete platforms like DG2, we need to support a minimum page size of 64K when dealing with device local-memory. This is quite tricky for various reasons, so try to document the new implicit uapi for this. v2: Fixed suggestions on formatting [Daniel] Signed-off-by:

[Intel-gfx] [PATCH v3 12/17] drm/i915/dg2: Tile 4 plane format support

2021-10-27 Thread Ramalingam C
From: Stanislav Lisovskiy TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13. v2: - Fixed wrong case condition(Jani Nikula) - Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak) v3: -

[Intel-gfx] [PATCH v3 13/17] uapi/drm/dg2: Format modifier for DG2 unified compression and clear color

2021-10-27 Thread Ramalingam C
From: Matt Roper DG2 unifies render compression and media compression into a single format for the first time. The programming and buffer layout is supposed to match compression on older gen12 platforms, but the actual compression algorithm is different from any previous platform; as such, we

[Intel-gfx] [PATCH v3 11/17] drm/i915/dg2: Prune the Y Tiling modifiers

2021-10-27 Thread Ramalingam C
Remove the Y Tiling modifiers for DG2. Signed-off-by: Ramalingam C Signed-off-by: Juha-Pekka Heikkila --- drivers/gpu/drm/i915/display/intel_fb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c index

[Intel-gfx] [PATCH v3 09/17] drm/i915/lmem: Enable lmem for platforms with Flat CCS

2021-10-27 Thread Ramalingam C
From: Abdiel Janulgue A portion of device memory is reserved for Flat CCS so usable device memory will be reduced by size of Flat CCS. Size of Flat CCS is specified in “XEHPSDV_FLAT_CCS_BASE_ADDR”. So to get effective device memory we need to subtract total device memory by Flat CCS memory size.

[Intel-gfx] [PATCH v3 08/17] drm/i915/xehpsdv: Add has_flat_ccs to device info

2021-10-27 Thread Ramalingam C
From: CQ Tang Gen12+ devices support 3D surface (buffer) compression and various compression formats. This is accomplished by an additional compression control state (CCS) stored for each surface. Gen 12 devices(TGL family and DG1) stores compression states in a separate region of memory. It is

[Intel-gfx] [PATCH v3 07/17] drm/i915/xehpsdv: implement memory coloring

2021-10-27 Thread Ramalingam C
From: Matthew Auld The basic idea is that each 2M block(page-table) has a color, depending on if the page-table is occupied by LMEM objects(64K) or SMEM objects(4K), where our goal is to prevent mixing 64K and 4K GTT pages in the page-table, which is not supported by the HW. Signed-off-by:

[Intel-gfx] [PATCH v3 10/17] drm/i915/gt: Clear compress metadata for Xe_HP platforms

2021-10-27 Thread Ramalingam C
From: Ayaz A Siddiqui Xe-hp and latest devices support Flat CCS which reserved a portion of the device memory to store compression metadata, during the clearing of device memory buffer object we also need to clear the associated CCS buffer. Flat CCS memory can not be directly accessed by S/W.

[Intel-gfx] [PATCH v3 05/17] drm/i915/gtt/xehpsdv: move scratch page to system memory

2021-10-27 Thread Ramalingam C
From: Matthew Auld On some platforms the hw has dropped support for 4K GTT pages when dealing with LMEM, and due to the design of 64K GTT pages in the hw, we can only mark the *entire* page-table as operating in 64K GTT mode, since the enable bit is still on the pde, and not the pte. And since

[Intel-gfx] [PATCH v3 06/17] drm/i915/xehpsdv: support 64K GTT pages

2021-10-27 Thread Ramalingam C
From: Matthew Auld XEHPSDV optimises 64K GTT pages for local-memory, since everything should be allocated at 64K granularity. We say goodbye to sparse entries, and instead get a compact 256B page-table for 64K pages, which should be more cache friendly. 4K pages for local-memory are no longer

[Intel-gfx] [PATCH v3 04/17] drm/i915: enforce min page size for scratch

2021-10-27 Thread Ramalingam C
From: Matthew Auld If the device needs 64K minimum GTT pages for device local-memory, like on XEHPSDV, then we need to fail the allocation if we can't meet it, instead of falling back to 4K pages, otherwise we can't safely support the insertion of device local-memory pages for this vm, since the

[Intel-gfx] [PATCH v3 01/17] drm/i915: Add has_64k_pages flag

2021-10-27 Thread Ramalingam C
From: Stuart Summers Add a new platform flag, has_64k_pages, for platforms supporting base page sizes of 64k. Signed-off-by: Stuart Summers Signed-off-by: Ramalingam C Reviewed-by: Lucas De Marchi --- drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/i915_pci.c

[Intel-gfx] [PATCH v3 03/17] drm/i915/xehpsdv: enforce min GTT alignment

2021-10-27 Thread Ramalingam C
From: Matthew Auld For local-memory objects we need to align the GTT addresses to 64K, both for the ppgtt and ggtt. We need to support vm->min_alignment > 4K, depending on the vm itself and the type of object we are inserting. With this in mind update the GTT selftests to take this into

[Intel-gfx] [PATCH v3 02/17] drm/i915/xehpsdv: set min page-size to 64K

2021-10-27 Thread Ramalingam C
From: Matthew Auld LMEM should be allocated at 64K granularity, since 4K page support will eventually be dropped for LMEM when using the PPGTT. Signed-off-by: Matthew Auld Signed-off-by: Stuart Summers Signed-off-by: Ramalingam C Cc: Joonas Lahtinen Cc: Rodrigo Vivi Reviewed-by: Lucas De

[Intel-gfx] [PATCH v3 00/17] drm/i915/dg2: Enabling 64k page size and flat ccs

2021-10-27 Thread Ramalingam C
This series introduces the enabling patches for new memory compression feature Flat CCS and 64k page support for i915 local memory, along with documentation on the uAPI impact. Included the details of the feature and the implications on the uAPI below. Which is also added into

[Intel-gfx] [PATCH -next] i915/gem/dmabuf: add to fix build error

2021-10-27 Thread Randy Dunlap
htinen Cc: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20211027.orig/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c +++ linux-next-20211027/drivers/gpu/dr

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/fb: Simplify modifier handling more (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/fb: Simplify modifier handling more (rev2) URL : https://patchwork.freedesktop.org/series/96308/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797_full -> Patchwork_21461_full

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Allow engine reset failure to do a GT reset in hangcheck selftest

2021-10-27 Thread Thomas Hellström
On 10/27/21 22:34, John Harrison wrote: On 10/26/2021 23:36, Thomas Hellström wrote: Hi, John, On 10/26/21 21:55, John Harrison wrote: On 10/21/2021 23:23, Thomas Hellström wrote: On 10/21/21 22:37, Matthew Brost wrote: On Thu, Oct 21, 2021 at 08:15:49AM +0200, Thomas Hellström wrote:

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Allow engine reset failure to do a GT reset in hangcheck selftest

2021-10-27 Thread John Harrison
On 10/26/2021 23:36, Thomas Hellström wrote: Hi, John, On 10/26/21 21:55, John Harrison wrote: On 10/21/2021 23:23, Thomas Hellström wrote: On 10/21/21 22:37, Matthew Brost wrote: On Thu, Oct 21, 2021 at 08:15:49AM +0200, Thomas Hellström wrote: Hi, Matthew, On Mon, 2021-10-11 at 16:47

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

2021-10-27 Thread Ramalingam C
On 2021-10-27 at 18:46:53 +0300, Stanislav Lisovskiy wrote: > TileF(Tile4 in bspec) format is 4K tile organized into > 64B subtiles with same basic shape as for legacy TileY > which will be supported by Display13. > > v2: - Fixed wrong case condition(Jani Nikula) > - Increased

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/adlp: Extend PSR2 support in transcoder B (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/adlp: Extend PSR2 support in transcoder B (rev2) URL : https://patchwork.freedesktop.org/series/96321/ State : success == Summary == CI Bug Log - changes from CI_DRM_10798 -> Patchwork_21467 Summary

Re: [Intel-gfx] [PATCH] drm/i915/execlists: Weak parallel submission support for execlists

2021-10-27 Thread Matthew Brost
On Wed, Oct 27, 2021 at 01:04:49PM -0700, John Harrison wrote: > On 10/27/2021 12:17, Matthew Brost wrote: > > On Tue, Oct 26, 2021 at 02:58:00PM -0700, John Harrison wrote: > > > On 10/20/2021 14:47, Matthew Brost wrote: > > > > A weak implementation of parallel submission (multi-bb execbuf

Re: [Intel-gfx] [PATCH 2/2] drm/i915/pmu: Connect engine busyness stats from GuC to pmu

2021-10-27 Thread Matthew Brost
On Tue, Oct 26, 2021 at 05:48:21PM -0700, Umesh Nerlige Ramappa wrote: > With GuC handling scheduling, i915 is not aware of the time that a > context is scheduled in and out of the engine. Since i915 pmu relies on > this info to provide engine busyness to the user, GuC shares this info > with i915

Re: [Intel-gfx] [PATCH] drm/i915/execlists: Weak parallel submission support for execlists

2021-10-27 Thread John Harrison
On 10/27/2021 12:17, Matthew Brost wrote: On Tue, Oct 26, 2021 at 02:58:00PM -0700, John Harrison wrote: On 10/20/2021 14:47, Matthew Brost wrote: A weak implementation of parallel submission (multi-bb execbuf IOCTL) for execlists. Doing as little as possible to support this interface for

Re: [Intel-gfx] [PATCH] drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg()

2021-10-27 Thread Navare, Manasi
On Wed, Oct 27, 2021 at 04:59:00PM +0300, Jani Nikula wrote: > The PPS, RC_RANGE_PARAM, and RC_BUF_THRESH logging are clearly for > debugging, and should not be info level messages. > > Signed-off-by: Jani Nikula I think in the patch commit title there is a typo 'dcs' i think you meant

Re: [Intel-gfx] [PATCH] drm/i915/execlists: Weak parallel submission support for execlists

2021-10-27 Thread Matthew Brost
On Tue, Oct 26, 2021 at 02:58:00PM -0700, John Harrison wrote: > On 10/20/2021 14:47, Matthew Brost wrote: > > A weak implementation of parallel submission (multi-bb execbuf IOCTL) for > > execlists. Doing as little as possible to support this interface for > > execlists - basically just passing

Re: [Intel-gfx] [PATCH 2/3] fbdev: rework backlight dependencies

2021-10-27 Thread Randy Dunlap
On 10/27/21 6:27 AM, Arnd Bergmann wrote: From: Arnd Bergmann Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, make any driver that needs it have a dependency on the class device being available, to prevent circular dependencies. This is the same way that the

Re: [Intel-gfx] [PATCH] drm/i915/dsc: Fix the usage of uncompressed bpp

2021-10-27 Thread Navare, Manasi
On Wed, Oct 27, 2021 at 03:23:16PM +0530, Vandita Kulkarni wrote: > DP 1.4 spec limits max compression bpp to > uncompressed bpp -1, which is supported from > XELPD onwards. > Instead of uncompressed bpp, max dsc input bpp > was being used to limit the max compression bpp. So the input Pipe BPP

[Intel-gfx] [PATCH] drm/i915/psr2: Do full fetches when doing async flips

2021-10-27 Thread José Roberto de Souza
Async flips are not supported by selective fetch and we had a check for that but that check was only executed when doing modesets. So moving this check to the page flip path, so it can be properly handled. This fix a failure in kms_async_flips@test-cursor. Cc: Mika Kahola Cc: Jouni Hogander

Re: [Intel-gfx] [PATCH 1/2] drm/i915/pmu: Add a name to the execlists stats

2021-10-27 Thread Matthew Brost
On Tue, Oct 26, 2021 at 05:48:20PM -0700, Umesh Nerlige Ramappa wrote: > In preparation for GuC pmu stats, add a name to the execlists stats > structure so that it can be differentiated from the GuC stats. > > Signed-off-by: Umesh Nerlige Ramappa > --- >

[Intel-gfx] ✗ Fi.CI.IGT: failure for Prepare error capture for asynchronous migration (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: Prepare error capture for asynchronous migration (rev2) URL : https://patchwork.freedesktop.org/series/96281/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10796_full -> Patchwork_21460_full

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty

2021-10-27 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty URL : https://patchwork.freedesktop.org/series/96348/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797 -> Patchwork_21466

Re: [Intel-gfx] [PATCH] drm/i915: Add NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk

2021-10-27 Thread Hans de Goede
Hi, On 10/27/21 15:38, Ville Syrjälä wrote: > On Sun, Oct 24, 2021 at 05:50:10PM +0200, Hans de Goede wrote: >> Add a NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk to fix i915 not working on >> the Xiaomi Mi Pad 2 (with CHT x5-Z8500 SoC). >> >> The Xiaomi Mi Pad 2 uses quite an unusual hardware-design

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty

2021-10-27 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty URL : https://patchwork.freedesktop.org/series/96348/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty

2021-10-27 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915/clflush: fixup handling of cache_dirty URL : https://patchwork.freedesktop.org/series/96348/ State : warning == Summary == $ dim checkpatch origin/drm-tip 3f9f5df03650 drm/i915/clflush: fixup handling of cache_dirty

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Tile 4 plane format support (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Tile 4 plane format support (rev2) URL : https://patchwork.freedesktop.org/series/95715/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797 -> Patchwork_21465 Summary ---

Re: [Intel-gfx] [PATCH v2 1/3] drm/i915: Introduce refcounted sg-tables

2021-10-27 Thread Matthew Auld
On 27/10/2021 11:52, Thomas Hellström wrote: As we start to introduce asynchronous failsafe object migration, where we update the object state and then submit asynchronous commands we need to record what memory resources are actually used by various part of the command stream. Initially for

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dsc: Fix the usage of uncompressed bpp

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dsc: Fix the usage of uncompressed bpp URL : https://patchwork.freedesktop.org/series/96337/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10796_full -> Patchwork_21459_full Summary

Re: [Intel-gfx] [PATCH 5/9] drm/i915: Split skl+ plane update into noarm+arm pair

2021-10-27 Thread Lisovskiy, Stanislav
On Mon, Oct 18, 2021 at 02:50:26PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Chop skl_program_plane() into two halves. Fist half becomes > the _noarm() variant, second part the _arm() variant. > > Fortunately I have already previously grouped the register > writes into roughtly the

[Intel-gfx] [PATCH v2] drm/i915/adlp: Extend PSR2 support in transcoder B

2021-10-27 Thread José Roberto de Souza
PSR2 is supported in transcoder A and B on Alderlake-P. v2: - explicity checking for transcoder A and B to avoid invalid transcoder BSpec: 49185 Reviewed-by: Jouni Högander # v1 Cc: Jani Nikula Cc: Mika Kahola Cc: Jouni Hogander Signed-off-by: José Roberto de Souza ---

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Tile 4 plane format support (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Tile 4 plane format support (rev2) URL : https://patchwork.freedesktop.org/series/95715/ State : warning == Summary == $ dim checkpatch origin/drm-tip b258619cd9e1 drm/i915/dg2: Tile 4 plane format support -:168: WARNING:LINE_CONTINUATIONS: Avoid

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: make array states static const (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915: make array states static const (rev2) URL : https://patchwork.freedesktop.org/series/94688/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797 -> Patchwork_21464 Summary ---

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dmabuf: fix broken build

2021-10-27 Thread Lucas De Marchi
On Wed, Oct 27, 2021 at 05:23:59PM +0100, Matthew Auld wrote: On Wed, 27 Oct 2021 at 15:54, Lucas De Marchi wrote: On Wed, Oct 27, 2021 at 08:57:48AM +0100, Matthew Auld wrote: >On Thu, 21 Oct 2021 at 13:54, Matthew Auld wrote: >> >> wbinvd_on_all_cpus() is only defined on x86 it seems, plus

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg()

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg() URL : https://patchwork.freedesktop.org/series/96344/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797 -> Patchwork_21463 Summary

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

2021-10-27 Thread Imre Deak
On Wed, Oct 27, 2021 at 06:46:53PM +0300, Stanislav Lisovskiy wrote: > TileF(Tile4 in bspec) format is 4K tile organized into > 64B subtiles with same basic shape as for legacy TileY > which will be supported by Display13. Is it supported on all D13 or only on DG2? Could you point to the bspec

Re: [Intel-gfx] [RFC v2 01/22] drm: RFC for Plane Color Hardware Pipeline

2021-10-27 Thread Harry Wentland
On 2021-10-27 04:00, Pekka Paalanen wrote: > On Tue, 26 Oct 2021 11:36:33 -0400 > Harry Wentland wrote: > >> On 2021-10-14 15:44, Shankar, Uma wrote: >>> > ... >> FWIW, AMD HW (depending on generation) can do these operations >> (in this order): >> >> 1) 1D LUT (fixed or PWL programmable)

Re: [Intel-gfx] [PULL] topic/amdgpu-dp2.0-mst

2021-10-27 Thread Lyude Paul
This was for airlied to pull into drm-next On Wed, 2021-10-27 at 09:18 +0200, Maxime Ripard wrote: > Hi Lyude, > > On Mon, Oct 25, 2021 at 09:30:14PM -0400, Lyude Paul wrote: > > topic/amdgpu-dp2.0-mst-2021-10-25: > > UAPI Changes: > > Nope! > > > > Cross-subsystem Changes: > >

Re: [Intel-gfx] [PATCH 4/9] drm/i915: Split update_plane() into update_noarm() + update_arm()

2021-10-27 Thread Lisovskiy, Stanislav
On Mon, Oct 18, 2021 at 02:50:25PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > The amount of plane registers we have to write has been steadily > increasing, putting more pressure on the vblank evasion mechanism > and forcing us to increase its time budget. Let's try to take some > of

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dmabuf: fix broken build

2021-10-27 Thread Matthew Auld
On Wed, 27 Oct 2021 at 15:54, Lucas De Marchi wrote: > > On Wed, Oct 27, 2021 at 08:57:48AM +0100, Matthew Auld wrote: > >On Thu, 21 Oct 2021 at 13:54, Matthew Auld wrote: > >> > >> wbinvd_on_all_cpus() is only defined on x86 it seems, plus we need to > >> include asm/smp.h here. > >> > >>

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/fb: Simplify modifier handling more (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/fb: Simplify modifier handling more (rev2) URL : https://patchwork.freedesktop.org/series/96308/ State : success == Summary == CI Bug Log - changes from CI_DRM_10797 -> Patchwork_21461 Summary ---

[Intel-gfx] [PATCH v2 4/4] drm/i915: stop setting cache_dirty on discrete

2021-10-27 Thread Matthew Auld
Should not be needed. Even with non-coherent display, we should be using device local-memory there, and not system memory. v2: also add a warning in i915_gem_clflush_object Signed-off-by: Matthew Auld Cc: Thomas Hellström Reviewed-by: Thomas Hellström #v1 ---

[Intel-gfx] [PATCH v2 3/4] drm/i915: move cpu_write_needs_clflush

2021-10-27 Thread Matthew Auld
Move it next to its partner in crime; gpu_write_needs_clflush. For better readability lets keep gpu vs cpu at least in the same file. Signed-off-by: Matthew Auld Cc: Thomas Hellström Reviewed-by: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 12

[Intel-gfx] [PATCH v2 2/4] drm/i915/clflush: disallow on discrete

2021-10-27 Thread Matthew Auld
We seem to have an unfortunate issue where we arrive from: i915_gem_object_flush_if_display+0x86/0xd0 [i915] intel_user_framebuffer_dirty+0x1a/0x50 [i915] drm_mode_dirtyfb_ioctl+0xfb/0x1b0 which can be before the pages are populated(and pinned for display), and so

[Intel-gfx] [PATCH v2 1/4] drm/i915/clflush: fixup handling of cache_dirty

2021-10-27 Thread Matthew Auld
In theory if clflush_work_create() somehow fails here, and we don't yet have mm.pages populated then we end up resetting cache_dirty, which is likely wrong, since that will potentially skip the flush-on-acquire, if it was needed. It looks like intel_user_framebuffer_dirty() can arrive here before

[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/3] fbdev: rework FB_DDC dependencies

2021-10-27 Thread Patchwork
== Series Details == Series: series starting with [1/3] fbdev: rework FB_DDC dependencies URL : https://patchwork.freedesktop.org/series/96343/ State : failure == Summary == Applying: fbdev: rework FB_DDC dependencies Applying: fbdev: rework backlight dependencies error: sha1 information is

Re: [Intel-gfx] [PATCH 1/9] drm/i915: Reject planar formats when doing async flips

2021-10-27 Thread Lisovskiy, Stanislav
On Mon, Oct 18, 2021 at 02:50:22PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Async flips are only capable of changing PLANE_SURF, hence we > they can't easily be used with planar formats. > > Older platforms could require updating AUX_DIST as well, which > is not possible. We'd have

[Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

2021-10-27 Thread Stanislav Lisovskiy
TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13. v2: - Fixed wrong case condition(Jani Nikula) - Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak) v3: - s/I915_TILING_F/TILING_4/g -

[Intel-gfx] ✓ Fi.CI.BAT: success for Prepare error capture for asynchronous migration (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: Prepare error capture for asynchronous migration (rev2) URL : https://patchwork.freedesktop.org/series/96281/ State : success == Summary == CI Bug Log - changes from CI_DRM_10796 -> Patchwork_21460 Summary

Re: [Intel-gfx] [PATCH] drm/i915: Prefer struct_size over open coded arithmetic

2021-10-27 Thread Jani Nikula
On Sat, 23 Oct 2021, Len Baker wrote: > Sorry, but I'm missing something here. In linux-next this is the commit > history of include/linux/stddef.h file: > > 3080ea5553cc stddef: Introduce DECLARE_FLEX_ARRAY() helper > 50d7bd38c3aa stddef: Introduce struct_group() helper macro > e7f18c22e6be

Re: [Intel-gfx] [PATCH] drm/i915/display/tgl: Implement Wa_14013120569

2021-10-27 Thread Jani Nikula
On Wed, 27 Oct 2021, "Tolakanahalli Pradeep, Madhumitha" wrote: > On Mon, 2021-07-05 at 13:28 +0300, Jani Nikula wrote: >> On Tue, 29 Jun 2021, "Souza, Jose" wrote: >> > On Mon, 2021-06-28 at 16:50 -0700, Madhumitha Tolakanahalli Pradeep >> > wrote: >> > > PCH display HPD IRQ is not

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dmabuf: fix broken build

2021-10-27 Thread Lucas De Marchi
On Wed, Oct 27, 2021 at 08:57:48AM +0100, Matthew Auld wrote: On Thu, 21 Oct 2021 at 13:54, Matthew Auld wrote: wbinvd_on_all_cpus() is only defined on x86 it seems, plus we need to include asm/smp.h here. Reported-by: kernel test robot Signed-off-by: Matthew Auld Cc: Thomas Hellström

Re: [Intel-gfx] [PATCH] drm/i915/adlp: Extend PSR2 support in transcoder B

2021-10-27 Thread Jani Nikula
On Wed, 27 Oct 2021, "Hogander, Jouni" wrote: > On Tue, 2021-10-26 at 15:33 -0700, José Roberto de Souza wrote: >> PSR2 is supported in transcoder A and B on Alderlake-P. >> >> BSpec: 49185 >> Cc: Mika Kahola >> Cc: Jouni Hogander >> Signed-off-by: José Roberto de Souza > > LGTM > >

Re: [Intel-gfx] [PATCH 1/3] fbdev: rework FB_DDC dependencies

2021-10-27 Thread Andy Shevchenko
On Wed, Oct 27, 2021 at 03:27:12PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Selecting FB_DDC currently turns on CONFIG_I2C implicitly, > which is often not desired and can lead to circular dependencies. > > Change this to a 'depends on' and change all drivers that > rely on FB_DDC

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Prepare error capture for asynchronous migration (rev2)

2021-10-27 Thread Patchwork
== Series Details == Series: Prepare error capture for asynchronous migration (rev2) URL : https://patchwork.freedesktop.org/series/96281/ State : warning == Summary == $ dim checkpatch origin/drm-tip bf0df3812af8 drm/i915: Introduce refcounted sg-tables 69d21354f04a drm/i915: Update error

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dsc: Fix the usage of uncompressed bpp

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915/dsc: Fix the usage of uncompressed bpp URL : https://patchwork.freedesktop.org/series/96337/ State : success == Summary == CI Bug Log - changes from CI_DRM_10796 -> Patchwork_21459 Summary ---

Re: [Intel-gfx] [PATCH] drm/i915: Fix type1 DVI DP dual mode adapter heuristic for modern platforms

2021-10-27 Thread Jani Nikula
On Wed, 27 Oct 2021, Ville Syrjälä wrote: > On Tue, Oct 26, 2021 at 02:01:15PM +0300, Jani Nikula wrote: >> On Mon, 25 Oct 2021, Ville Syrjala wrote: >> > From: Ville Syrjälä >> > >> > Looks like we never updated intel_bios_is_port_dp_dual_mode() when >> > the VBT port mapping became erratic on

[Intel-gfx] [PATCH] drm/i915/dcs: demote noisy drm_info() to drm_kms_dbg()

2021-10-27 Thread Jani Nikula
The PPS, RC_RANGE_PARAM, and RC_BUF_THRESH logging are clearly for debugging, and should not be info level messages. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_vdsc.c | 32 +++ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[Intel-gfx] [PATCH 2/3] fbdev: rework backlight dependencies

2021-10-27 Thread Arnd Bergmann
From: Arnd Bergmann Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, make any driver that needs it have a dependency on the class device being available, to prevent circular dependencies. This is the same way that the backlight is already treated for the DRM

[Intel-gfx] [PATCH 1/3] fbdev: rework FB_DDC dependencies

2021-10-27 Thread Arnd Bergmann
From: Arnd Bergmann Selecting FB_DDC currently turns on CONFIG_I2C implicitly, which is often not desired and can lead to circular dependencies. Change this to a 'depends on' and change all drivers that rely on FB_DDC to have an appropriate I2C dependency as well. Signed-off-by: Arnd Bergmann

[Intel-gfx] [PATCH 3/3] [v2] i915: fix backlight configuration issue

2021-10-27 Thread Arnd Bergmann
From: Arnd Bergmann The i915 driver can use the backlight subsystem as an option, and usually selects it when CONFIG_ACPI is set. However it is possible to configure a kernel with modular backlight classdev support and a built-in i915 driver, which leads to a linker error:

Re: [Intel-gfx] [PATCH 2/3] fbdev: rework backlight dependencies

2021-10-27 Thread Miguel Ojeda
On Wed, Oct 27, 2021 at 3:28 PM Arnd Bergmann wrote: > > Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, > make any driver that needs it have a dependency on the class device > being available, to prevent circular dependencies. Acked-by: Miguel Ojeda Cheers, Miguel

Re: [Intel-gfx] [PATCH 3/3] [v2] i915: fix backlight configuration issue

2021-10-27 Thread Jani Nikula
On Wed, 27 Oct 2021, Arnd Bergmann wrote: > From: Arnd Bergmann > > The i915 driver can use the backlight subsystem as an option, and usually > selects it when CONFIG_ACPI is set. However it is possible to configure > a kernel with modular backlight classdev support and a built-in i915 > driver,

Re: [Intel-gfx] [PATCH] drm/i915: Add NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk

2021-10-27 Thread Ville Syrjälä
On Sun, Oct 24, 2021 at 05:50:10PM +0200, Hans de Goede wrote: > Add a NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk to fix i915 not working on > the Xiaomi Mi Pad 2 (with CHT x5-Z8500 SoC). > > The Xiaomi Mi Pad 2 uses quite an unusual hardware-design for a Cherry > Trail tablet. It deviates from the

[Intel-gfx] [PATCH v2 3/3] drm/i915/fb: Fold modifier CCS type/tiling attribute to plane caps

2021-10-27 Thread Imre Deak
By using the modifier plane capability flags to encode the modifiers' CCS type and tiling attributes, it becomes simpler to the check for any of these capabilities when providing the list of supported modifiers. This also allows distinguishing modifiers on future platforms where platforms with

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Revert 'guc_id' from i915_request tracepoint

2021-10-27 Thread Patchwork
== Series Details == Series: drm/i915: Revert 'guc_id' from i915_request tracepoint URL : https://patchwork.freedesktop.org/series/96336/ State : success == Summary == CI Bug Log - changes from CI_DRM_10795_full -> Patchwork_21458_full

Re: [Intel-gfx] [PATCH v2 2/9] Revert "drm/i915/display: Disable audio, DRRS and PSR before planes"

2021-10-27 Thread Ville Syrjälä
On Tue, Oct 26, 2021 at 07:39:27PM +, Souza, Jose wrote: > On Fri, 2021-10-22 at 13:32 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Disabling planes in the middle of the modeset seuqnece does not make > > sense since userspace can anyway disable planes before the modeset > >

Re: [Intel-gfx] [PATCH 4/4] drm/i915: stop setting cache_dirty on discrete

2021-10-27 Thread Thomas Hellström
On 10/21/21 13:44, Matthew Auld wrote: Should not be needed. Even with non-coherent display, we should be using device local-memory there, and not system memory. Signed-off-by: Matthew Auld Cc: Thomas Hellström Reviewed-by: Thomas Hellström

Re: [Intel-gfx] [PATCH 3/4] drm/i915: move cpu_write_needs_clflush

2021-10-27 Thread Thomas Hellström
On 10/21/21 13:44, Matthew Auld wrote: Move it next to its partner in crime; gpu_write_needs_clflush. A motivation in the commit message? Signed-off-by: Matthew Auld Cc: Thomas Hellström Otherwise: Reviewed-by: Thomas Hellström

Re: [Intel-gfx] [PATCH] drm/i915/trace: Hide backend specific fields behind Kconfig

2021-10-27 Thread Joonas Lahtinen
Quoting Matthew Brost (2021-10-25 19:34:04) > Hide the guc_id and tail fields, for request trace points, behind > CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option. Trace points > are ABI (maybe?) so don't change them without kernel developers Kconfig > options. I've pushed the simple fix to

  1   2   >