Re: [Intel-gfx] [PATCH v4 01/23] drm/i915/xelpd: Enhanced pipe underrun reporting

2021-05-16 Thread Lisovskiy, Stanislav
On Fri, May 14, 2021 at 08:10:13PM -0700, Matt Roper wrote: > XE_LPD brings enhanced underrun recovery: the hardware can somewhat > mitigate underruns by using an interpolated replacement pixel (soft > underrun) or the previous pixel (hard underrun). Furthermore, underruns > can now be caused dow

Re: [Intel-gfx] [PATCH v4 06/23] drm/i915/adl_p: Add dedicated SAGV watermarks

2021-05-16 Thread Lisovskiy, Stanislav
On Fri, May 14, 2021 at 08:10:18PM -0700, Matt Roper wrote: > XE_LPD reduces the number of regular watermark latency levels from 8 > to 6 on non-dgfx platforms. However the hardware also adds a special > purpose SAGV wateramrk (and an accompanying transition watermark) that > will be used by the h

Re: [Intel-gfx] [PATCH 3/3] Revert "vfio/gvt: Make DRM_I915_GVT depend on VFIO_MDEV"

2021-05-16 Thread Colin Xu
On Tue, 11 May 2021, Zhenyu Wang wrote: This reverts commit 07e543f4f9d116d6b4240644191dee6388ef4a85. As I915_GVT dependency issue is resolved, revert this. Cc: Jason Gunthorpe Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drive

Re: [Intel-gfx] [PATCH 2/3] Revert "vfio/gvt: fix DRM_I915_GVT dependency on VFIO_MDEV"

2021-05-16 Thread Colin Xu
On Tue, 11 May 2021, Zhenyu Wang wrote: This reverts commit adaeb718d46f6b42a3fc1dffd4f946f26b33779a. As I915_GVT dependency is resolved, revert this temporary hack. Cc: Arnd Bergmann Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: Move mdev attribute groups into kvmgt module

2021-05-16 Thread Colin Xu
On Thu, 13 May 2021, Zhenyu Wang wrote: As kvmgt module contains all handling for VFIO/mdev, leaving mdev attribute groups in gvt module caused dependency issue. Although it was there for possible other hypervisor usage, that turns out never to be true. So this moves all mdev handling into kvmgt

Re: [Intel-gfx] [PATCH v4 15/23] drm/i915/display: Replace dc3co_enabled with dc3co_exitline on intel_psr struct

2021-05-16 Thread Gupta, Anshuman
> -Original Message- > From: Roper, Matthew D > Sent: Saturday, May 15, 2021 8:40 AM > To: intel-gfx@lists.freedesktop.org > Cc: Mun, Gwan-gyeong ; Ville Syrjälä > ; Souza, Jose ; Gupta, > Anshuman ; Roper, Matthew D > > Subject: [PATCH v4 15/23] drm/i915/display: Replace dc3co_enabled

Re: [Intel-gfx] [PATCH v4 12/23] drm/i915: Introduce MBUS relative dbuf offsets

2021-05-16 Thread Lisovskiy, Stanislav
On Fri, May 14, 2021 at 08:10:24PM -0700, Matt Roper wrote: > From: Ville Syrjälä > > The dbuf slices are going to be split across several MBUS units. > The actual dbuf programming will use offsets relative to the > MBUS unit. To accommodate that we shall store the MBUS relative > offsets into th

[Intel-gfx] [PATCH 2/3] drm/nouveau: Don't include drm_legacy.h

2021-05-16 Thread Thomas Zimmermann
Nouveau does not use DRM legacy code. Remove the rsp. include statement. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nouveau_ttm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c index e8b506a668

[Intel-gfx] [PATCH 1/3] drm/i915: Don't include drm_legacy.h

2021-05-16 Thread Thomas Zimmermann
i915 does not use DRM legacy code. Remove the rsp include statements. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/i915/gem/i915_gem_phys.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_phys.c b/dri

[Intel-gfx] [PATCH 0/3] drm: Remove some includes of drm_legacy.h

2021-05-16 Thread Thomas Zimmermann
Remove include statements for DRM legacy headers. None of these dependencies is required. Built-tested w/o CONFIG_DRM_LEGACY set. These patches should probably go through drm-misc, like the rest of the legacy cleanups. Thomas Zimmermann (3): drm/i915: Don't include drm_legacy.h drm/nouveau: D

[Intel-gfx] [PATCH 3/3] drm: Don't include drm_legacy.h in drm_lease.c

2021-05-16 Thread Thomas Zimmermann
DRM leases do not use DRM legacy code. Remove the rsp include statement. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_lease.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_lease.c b/drivers/gpu/drm/drm_lease.c index da4f085fc09e..00fb433bcef1 100644 --- a/dri

[Intel-gfx] [PATCH] drm/i915: only disable default vga device

2021-05-16 Thread Emil Velikov
From: Vivek Das Mohapatra This patch is to do with seamless handover, eg when the sequence is bootloader → plymouth → desktop. It switches the vga arbiter from the "other" GPU to the default one (intel in this case), so the driver can issue some io(). Signed-off-by: Vivek Das Mohapatra Signed-