[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915: Extract intel_adjusted_rate()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Extract intel_adjusted_rate() URL : https://patchwork.freedesktop.org/series/88592/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9915_full -> Patchwork_19883_full ===

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Extract intel_adjusted_rate()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Extract intel_adjusted_rate() URL : https://patchwork.freedesktop.org/series/88592/ State : success == Summary == CI Bug Log - changes from CI_DRM_9915 -> Patchwork_19883 Sum

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk() URL : https://patchwork.freedesktop.org/series/88588/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9915_full -> Patchwork_19882_full =

[Intel-gfx] ✗ Fi.CI.DOCS: warning for series starting with [1/2] drm/i915: Extract intel_adjusted_rate()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Extract intel_adjusted_rate() URL : https://patchwork.freedesktop.org/series/88592/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Function

[Intel-gfx] [PATCH 1/2] drm/i915: Extract intel_adjusted_rate()

2021-03-30 Thread Ville Syrjala
From: Ville Syrjälä Extract a small helper to calculate the downscaling adjusted pixel rate/data rate/etc. Signed-off-by: Ville Syrjälä --- .../gpu/drm/i915/display/intel_atomic_plane.c | 27 +-- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i91

[Intel-gfx] [PATCH 2/2] drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment

2021-03-30 Thread Ville Syrjala
From: Ville Syrjälä Replace the hand rolled pfit downscale calculations with intel_adjusted_rate(). Signed-off-by: Ville Syrjälä --- .../gpu/drm/i915/display/intel_atomic_plane.c | 6 ++--- .../gpu/drm/i915/display/intel_atomic_plane.h | 4 drivers/gpu/drm/i915/display/intel_display.c

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Fix pre-skl DP AUX precharge length

2021-03-30 Thread Ville Syrjälä
On Thu, Mar 18, 2021 at 08:10:38PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > DP v1.1+ says: > "The DisplayPort transmitter, which is the driving end for a request > transaction, pre-charges the AUX-CH+ and AUX-CH- to a common mode > voltage by transmitting 10 to 16 consecutive 0’s i

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/pmu: Do not report 100% RC6 if not supported

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Do not report 100% RC6 if not supported URL : https://patchwork.freedesktop.org/series/88580/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9915_full -> Patchwork_19881_full Summar

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk() URL : https://patchwork.freedesktop.org/series/88588/ State : success == Summary == CI Bug Log - changes from CI_DRM_9915 -> Patchwork_19882 S

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() URL : https://patchwork.freedesktop.org/series/88579/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9915_full -> Patchwork_19880_full ==

[Intel-gfx] ✗ Fi.CI.DOCS: warning for series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk()

2021-03-30 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Split out glk_plane_min_cdclk() URL : https://patchwork.freedesktop.org/series/88588/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Functi

Re: [Intel-gfx] [PATCH v2 3/3] drm/i915: skip display initialization when there is no display

2021-03-30 Thread Sripada, Radhakrishna
On Mon, Mar 22, 2021 at 01:58:05PM -0700, José Roberto de Souza wrote: > Display features should not be initialized or de-initialized when there > is no display. Skip modeset initialization, output setup, plane, crtc, > encoder, connector registration, display cdclk and rawclk > initialization, dis

Re: [Intel-gfx] [PATCH v2 2/3] drm/i915: Do not set any power wells when there is no display

2021-03-30 Thread Sripada, Radhakrishna
On Mon, Mar 22, 2021 at 01:58:04PM -0700, José Roberto de Souza wrote: > Power wells are only part of display block and not necessary when > running a headless driver. > > Cc: Lucas De Marchi Reviewed-by: Radhakrishna Sripada > Signed-off-by: José Roberto de Souza > Signed-off-by: Jani Nikula

Re: [Intel-gfx] [PATCH v2 1/3] drm/i915: Skip display interruption setup when display is not available

2021-03-30 Thread Sripada, Radhakrishna
On Mon, Mar 22, 2021 at 01:58:03PM -0700, José Roberto de Souza wrote: > Return ealier in the functions doing interruption setup for GEN8+ also > adding a warning in gen8_de_irq_handler() to let us know that > something else is still missing. > > Cc: Ville Syrjälä > Cc: Lucas De Marchi Reviewed-

Re: [Intel-gfx] [PATCH 18/18] vfio/mdev: Correct the function signatures for the mdev_type_attributes

2021-03-30 Thread Cornelia Huck
On Tue, 23 Mar 2021 14:55:35 -0300 Jason Gunthorpe wrote: > The driver core standard is to pass in the properly typed object, the > properly typed attribute and the buffer data. It stems from the root > kobject method: > > ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,..) >

Re: [Intel-gfx] [PATCH 17/18] vfio/mdev: Remove kobj from mdev_parent_ops->create()

2021-03-30 Thread Cornelia Huck
On Tue, 23 Mar 2021 14:55:34 -0300 Jason Gunthorpe wrote: > The kobj here is a type-erased version of mdev_type, which is already > stored in the struct mdev_device being passed in. It was only ever used to > compute the type_group_id, which is now extracted directly from the mdev. > > Signed-of

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/pmu: Do not report 100% RC6 if not supported

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Do not report 100% RC6 if not supported URL : https://patchwork.freedesktop.org/series/88580/ State : success == Summary == CI Bug Log - changes from CI_DRM_9915 -> Patchwork_19881 Summary ---

[Intel-gfx] [PATCH 2/2] drm/i915: Update plane ratio for icl+

2021-03-30 Thread Ville Syrjala
From: Ville Syrjälä According to bspec icl+ no longer need any extra cdclk guardband for 64bpp formats. Make it so. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/skl_universal_plane.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/dr

[Intel-gfx] [PATCH 1/2] drm/i915: Split out glk_plane_min_cdclk()

2021-03-30 Thread Ville Syrjala
From: Ville Syrjälä Split the glk+ stuff into it's own version of the .min_cdclk() vfunc. Signed-off-by: Ville Syrjälä --- .../drm/i915/display/skl_universal_plane.c| 53 --- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/i915/display/skl_un

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/pmu: Do not report 100% RC6 if not supported

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Do not report 100% RC6 if not supported URL : https://patchwork.freedesktop.org/series/88580/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Function parameter o

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() URL : https://patchwork.freedesktop.org/series/88579/ State : success == Summary == CI Bug Log - changes from CI_DRM_9915 -> Patchwork_19880 Su

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 3/3] tests/i915/gem_watchdog: Exercise long rendering chains

2021-03-30 Thread Matthew Auld
On Thu, 18 Mar 2021 at 16:24, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > Test to demonstrate a problem with the proposed default fence expiry > semantics where long rendering chain get silently broken. > > If we had fence error propagation (no clear agreement whether to do it or > not) ma

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() URL : https://patchwork.freedesktop.org/series/88579/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Functio

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

2021-03-30 Thread Patchwork
== Series Details == Series: drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() URL : https://patchwork.freedesktop.org/series/88579/ State : warning == Summary == $ dim checkpatch origin/drm-tip 74c8738d1c0b drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

[Intel-gfx] [PATCH] drm/i915/pmu: Do not report 100% RC6 if not supported

2021-03-30 Thread Tvrtko Ursulin
From: Tvrtko Ursulin We use GT parked status to estimate RC6 while not in use, however if RC6 is not supported to start with that does not work very well and produces a false 100% RC6 readout. Fix by not advancing the estimated RC6 counter when feature is not supported. Signed-off-by: Tvrtko Ur

[Intel-gfx] [PATCH] drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

2021-03-30 Thread Imre Deak
Fix the Documentation/gpu/i915:22: /drivers/gpu/drm/i915/intel_runtime_pm.c:423: WARNING: Inline strong start-string without end-string. warning from the htmldocs build. Fixes: 9d58aa46291d ("drm/i915: Fix the GT fence revocation runtime PM logic") Reported-by: Stephen Rothwell Cc: Chris Wilso

Re: [Intel-gfx] [PATCH i-g-t 2/3] tests/i915: Default fence expiry test

2021-03-30 Thread Matthew Auld
On Thu, 18 Mar 2021 at 16:24, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > Basic test to check that default fence expiry works as expected. > > Relies on the modparam to run quicker. > > Signed-off-by: Tvrtko Ursulin > --- > tests/Makefile.sources| 3 + > tests/i915/gem_watchdog.c |

Re: [Intel-gfx] [PATCH 06/11] cgroup: fix -Wzero-length-bounds warnings

2021-03-30 Thread Michal Koutný
On Mon, Mar 22, 2021 at 05:02:44PM +0100, Arnd Bergmann wrote: > I'm not sure what is expected to happen for such a configuration, > presumably these functions are never calls in that case. Yes, the functions you patched would only be called from subsystems or there should be no way to obtain a st

[Intel-gfx] ✗ Fi.CI.BUILD: failure for treewide: address gcc-11 -Wstringop-overread warnings (rev4)

2021-03-30 Thread Patchwork
== Series Details == Series: treewide: address gcc-11 -Wstringop-overread warnings (rev4) URL : https://patchwork.freedesktop.org/series/88295/ State : failure == Summary == Applying: x86: compressed: avoid gcc-11 -Wstringop-overread warning Applying: x86: tboot: avoid Wstringop-overread-warni

Re: [Intel-gfx] [PATCH 11/11] [RFC] drm/i915/dp: fix array overflow warning

2021-03-30 Thread Hans de Goede
Hi, On 3/22/21 5:02 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc-11 warns that intel_dp_check_mst_status() has a local array of > fourteen bytes and passes the last four bytes into a function that > expects a six-byte array: > > drivers/gpu/drm/i915/display/intel_dp.c: In function >

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 1/3] lib: Add helper for reading modparam values

2021-03-30 Thread Matthew Auld
On Thu, 18 Mar 2021 at 16:24, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > Add __igt_params_get for simple reading of modparams. > > Signed-off-by: Tvrtko Ursulin > --- > lib/igt_params.c | 26 ++ > lib/igt_params.h | 2 ++ > 2 files changed, 28 insertions(+) > >

Re: [Intel-gfx] [PATCH v3 12/16] drm/i915/uapi: introduce drm_i915_gem_create_ext

2021-03-30 Thread Matthew Auld
On 28/03/2021 23:57, Daniele Ceraolo Spurio wrote: From: Bommu Krishnaiah Same old gem_create but with now with extensions support. This is needed to support various upcoming usecases. For now we use the extensions mechanism to support PAVP. Signed-off-by: Bommu Krishnaiah Signed-off-by: Matt

Re: [Intel-gfx] [PATCH v5] vfio/pci: Add support for opregion v2.1+

2021-03-30 Thread Zhenyu Wang
On 2021.03.26 01:09:53 +0800, Fred Gao wrote: > Before opregion version 2.0 VBT data is stored in opregion mailbox #4, > but when VBT data exceeds 6KB size and cannot be within mailbox #4 > then from opregion v2.0+, Extended VBT region, next to opregion is > used to hold the VBT data, so the total