[Intel-gfx] [PATCH v4 1/2] drm/i915/gt: Serialize GRDOM access between multiple engine resets

2022-07-10 Thread Mauro Carvalho Chehab
From: Chris Wilson Don't allow two engines to be reset in parallel, as they would both try to select a reset bit (and send requests to common registers) and wait on that register, at the same time. Serialize control of the reset requests/acks using the uncore->lock, which will also ensure that no

[Intel-gfx] [PATCH v4 2/2] drm/i915/gt: Serialize TLB invalidates with GT resets

2022-07-10 Thread Mauro Carvalho Chehab
From: Chris Wilson Avoid trying to invalidate the TLB in the middle of performing an engine reset, as this may result in the reset timing out. Currently, the TLB invalidate is only serialised by its own mutex, forgoing the uncore lock, but we can take the uncore->lock as well to serialise the mmi

[Intel-gfx] [PATCH v4 0/2] Fix TLB invalidate issues with Broadwell

2022-07-10 Thread Mauro Carvalho Chehab
i915 selftest hangcheck is causing the i915 driver timeouts, as reported by Intel CI bot: http://gfx-ci.fi.intel.com/cibuglog-ng/issuefilterassoc/24297?query_key=42a999f48fa6ecce068bc8126c069be7c31153b4 When such test runs, the only output is: [ 68.811639] i915: Performing live selftes

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: Ensure PSR gets disabled if no encoders in new state

2022-07-10 Thread Patchwork
== Series Details == Series: drm/i915/display: Ensure PSR gets disabled if no encoders in new state URL : https://patchwork.freedesktop.org/series/106168/ State : success == Summary == CI Bug Log - changes from CI_DRM_11862 -> Patchwork_106168v1

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for Fix TLB invalidate issues with Broadwell (rev4)

2022-07-10 Thread Mauro Carvalho Chehab
On Fri, 8 Jul 2022 10:31:28 -0400 Rodrigo Vivi wrote: > On Fri, Jul 08, 2022 at 06:00:52AM -, Patchwork wrote: > >Patch Details > > > >Series: Fix TLB invalidate issues with Broadwell (rev4) > >URL: [1]https://patchwork.freedesktop.org/series/105167/ > >State: failure

Re: [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Fix TLB invalidate issues with Broadwell (rev4)

2022-07-10 Thread Mauro Carvalho Chehab
On Fri, 8 Jul 2022 10:29:42 -0400 Rodrigo Vivi wrote: > On Thu, Jul 07, 2022 at 02:47:57PM -, Patchwork wrote: > > == Series Details == > > > > Series: Fix TLB invalidate issues with Broadwell (rev4) > > URL : https://patchwork.freedesktop.org/series/105167/ > > State : warning > > > > ==

[Intel-gfx] [PATCH] drm/i915/display: Ensure PSR gets disabled if no encoders in new state

2022-07-10 Thread Jouni Högander
Currently PSR is left enabled when all planes are disabled if there is no attached encoder in new state. This seems to be causing FIFO underruns. Fix this by checking if old and new crtc encoder masks are differing. PSR is disabled for encoders not in new crtc state encoder mask. Cc: Mika Kahola

[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Introduce Meteorlake

2022-07-10 Thread Patchwork
== Series Details == Series: i915: Introduce Meteorlake URL : https://patchwork.freedesktop.org/series/106075/ State : success == Summary == CI Bug Log - changes from CI_DRM_11859_full -> Patchwork_106075v1_full Summary --- **SUCCESS

[Intel-gfx] [PULL] gvt-fixes

2022-07-10 Thread Zhenyu Wang
Hi, Here's one gvt fix for 5.19, from Dan for shmem_pin_map() return check bug. Thanks! --- The following changes since commit d72d69abfdb6e0375981cfdda8eb45143f12c77d: drm/i915/gvt: Make DRM_I915_GVT depend on X86 (2022-01-13 18:13:12 +) are available in the Git repository at: https

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Apply waitboosting before fence wait (rev2)

2022-07-10 Thread Karolina Drobnik
On 09.07.2022 04:00, Patchwork wrote: *Patch Details* *Series:* drm/i915: Apply waitboosting before fence wait (rev2) *URL:* https://patchwork.freedesktop.org/series/105925/ *State:*failure *Details:* https://intel-gfx-ci.01.o

Re: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Apply waitboosting before fence wait (rev2)

2022-07-10 Thread Karolina Drobnik
On 08.07.2022 16:55, Patchwork wrote: == Series Details == Series: drm/i915: Apply waitboosting before fence wait (rev2) URL : https://patchwork.freedesktop.org/series/105925/ State : warning == Summary == Error: dim checkpatch failed e35c61e9e46c drm/i915/gem: Look for waitboosting across

Re: [Intel-gfx] [PATCH] drm/i915/gvt: Fix kernel-doc

2022-07-10 Thread Zhenyu Wang
On 2022.06.02 15:35:19 +0800, Jiapeng Chong wrote: > Fix the following W=1 kernel warnings: > > drivers/gpu/drm/i915/gvt/aperture_gm.c:308: warning: expecting prototype > for inte_gvt_free_vgpu_resource(). Prototype was for > intel_vgpu_free_resource() instead. > > drivers/gpu/drm/i915/gvt/apertu

Re: [Intel-gfx] [PATCH 2/2] drm/i915/gvt: Fix kernel-doc

2022-07-10 Thread Zhenyu Wang
On 2022.05.24 16:37:32 +0800, Jiapeng Chong wrote: > Fix the following W=1 kernel warnings: > > drivers/gpu/drm/i915/gvt/mmio_context.c:560: warning: expecting > prototype for intel_gvt_switch_render_mmio(). Prototype was for > intel_gvt_switch_mmio() instead. > > Reported-by: Abaci Robot > Sign

Re: [Intel-gfx] [PATCH 1/2] drm/i915/gvt: Fix kernel-doc

2022-07-10 Thread Zhenyu Wang
On 2022.05.24 16:37:33 +0800, Jiapeng Chong wrote: > Fix the following W=1 kernel warnings: > > drivers/gpu/drm/i915/gvt/handlers.c:3066: warning: expecting prototype > for intel_t_default_mmio_write(). Prototype was for > intel_vgpu_default_mmio_write() instead. > > Reported-by: Abaci Robot > S

Re: [Intel-gfx] [PATCH] drm/i915/gvt: fix typo in comment

2022-07-10 Thread Zhenyu Wang
On 2022.05.21 13:10:59 +0200, Julia Lawall wrote: > Spelling mistake (triple letters) in comment. > Detected with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/gpu/drm/i915/gvt/gtt.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers

Re: [Intel-gfx] [PATCH] drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()

2022-07-10 Thread Zhenyu Wang
On 2022.07.08 10:55:52 +0200, Andrzej Hajda wrote: > On 08.07.2022 10:41, Dan Carpenter wrote: > > The shmem_pin_map() function returns NULL, it doesn't return error > > pointers. > > > > Fixes: 97ea656521c8 ("drm/i915/gvt: Parse default state to update reg > > whitelist") > > Signed-off-by: Dan

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

2022-07-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c between commit: 925b6e59138c ("Revert "drm/amdgpu: add drm buddy support to amdgpu"") from the drm-misc-fixes tree and commit: 5e3f1e7729ec ("drm/amdgpu: fix start calculatio

Re: [Intel-gfx] [PATCH v4 2/2] drm/i915: Add lmem_bar_size modparam

2022-07-10 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/priyanka-dandamudi-intel-com/Add-support-for-LMEM-PCIe-resizable-bar/20220711-014151 base: git://anongit.freedesktop.org/drm/drm-tip d

Re: [Intel-gfx] [PATCH v4 2/2] drm/i915: Add lmem_bar_size modparam

2022-07-10 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/priyanka-dandamudi-intel-com/Add-support-for-LMEM-PCIe-resizable-bar/20220711-014151 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip

Re: [Intel-gfx] [PATCH v4 1/2] drm/i915: Add support for LMEM PCIe resizable bar

2022-07-10 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/priyanka-dandamudi-intel-com/Add-support-for-LMEM-PCIe-resizable-bar/20220711-014151 base: git://anongit.freedesktop.org/drm/drm-tip d

Re: [Intel-gfx] [PATCH v4 1/2] drm/i915: Add support for LMEM PCIe resizable bar

2022-07-10 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/priyanka-dandamudi-intel-com/Add-support-for-LMEM-PCIe-resizable-bar/20220711-014151 base: git://anongit.freedesktop.org/drm/drm-tip d

[Intel-gfx] ✗ Fi.CI.IGT: failure for Add support for LMEM PCIe resizable bar

2022-07-10 Thread Patchwork
== Series Details == Series: Add support for LMEM PCIe resizable bar URL : https://patchwork.freedesktop.org/series/106160/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11862_full -> Patchwork_106160v1_full Summary ---

[Intel-gfx] ✓ Fi.CI.BAT: success for Add support for LMEM PCIe resizable bar

2022-07-10 Thread Patchwork
== Series Details == Series: Add support for LMEM PCIe resizable bar URL : https://patchwork.freedesktop.org/series/106160/ State : success == Summary == CI Bug Log - changes from CI_DRM_11862 -> Patchwork_106160v1 Summary --- **SUCC

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add support for LMEM PCIe resizable bar

2022-07-10 Thread Patchwork
== Series Details == Series: Add support for LMEM PCIe resizable bar URL : https://patchwork.freedesktop.org/series/106160/ State : warning == Summary == Error: dim checkpatch failed f56a085e66b5 drm/i915: Add support for LMEM PCIe resizable bar d4d1f141dc3c drm/i915: Add lmem_bar_size modpara

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add support for LMEM PCIe resizable bar

2022-07-10 Thread Patchwork
== Series Details == Series: Add support for LMEM PCIe resizable bar URL : https://patchwork.freedesktop.org/series/106160/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] [PATCH v4 1/2] drm/i915: Add support for LMEM PCIe resizable bar

2022-07-10 Thread priyanka . dandamudi
From: Akeem G Abodunrin Add support for the local memory PICe resizable bar, so that local memory can be resized to the maximum size supported by the device, and mapped correctly to the PCIe memory bar. It is usual that GPU devices expose only 256MB BARs primarily to be compatible with 32-bit sys

[Intel-gfx] [PATCH v4 2/2] drm/i915: Add lmem_bar_size modparam

2022-07-10 Thread priyanka . dandamudi
From: Priyanka Dandamudi For testing purposes, support forcing the lmem_bar_size through a new modparam. In CI we only have a limited number of configurations for DG2, but we still need to be reasonably sure we get a usable device (also verifying we report the correct values for things like probe

[Intel-gfx] [PATCH v4 0/2] Add support for LMEM PCIe resizable bar

2022-07-10 Thread priyanka . dandamudi
From: Priyanka Dandamudi Added support to resize the bar to maximum supported. Also, added new modparam lmem_bar_size which can resize the bar to one of the supported sizes. Akeem G Abodunrin (1): drm/i915: Add support for LMEM PCIe resizable bar Priyanka Dandamudi (1): drm/i915: Add lmem_