[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Additional DG2 workarounds

2021-11-12 Thread Patchwork
== Series Details == Series: i915: Additional DG2 workarounds URL : https://patchwork.freedesktop.org/series/96824/ State : success == Summary == CI Bug Log - changes from CI_DRM_10872_full -> Patchwork_21565_full Summary --- **WARNI

Re: [Intel-gfx] [RFC v2 05/22] drm/i915/xelpd: Define Degamma Lut range struct for HDR planes

2021-11-12 Thread Pekka Paalanen
On Thu, 11 Nov 2021 21:58:35 + "Shankar, Uma" wrote: > > -Original Message- > > From: Harry Wentland > > Sent: Friday, November 12, 2021 2:41 AM > > To: Shankar, Uma ; Ville Syrjälä > > > > Cc: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; > > ppaala...@gmail.com

Re: [Intel-gfx] [PATCH 1/4] drm/i915/dg2: Add Wa_14010547955

2021-11-12 Thread Jani Nikula
On Thu, 11 Nov 2021, Matt Roper wrote: > This workaround is documented a bit strangely in the bspec; it's listed > as an A0 workaround, but the description clarifies that the workaround > is implicitly handled by the hardware and what the driver really needs > to do is program a chicken bit to ree

Re: [Intel-gfx] [PATCH] ALSA: hda: fix general protection fault in azx_runtime_idle

2021-11-12 Thread Takashi Iwai
On Thu, 11 Nov 2021 18:39:36 +0100, Kai Vehmanen wrote: > > Hi, > > On Thu, 11 Nov 2021, Takashi Iwai wrote: > > > A potential problem with the current code is that it doesn't disable > > the runtime PM at the release procedure. Could you try the patch > > below? You can put WARN_ON(!chip) at

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for i915: Initial workarounds for Xe_HP SDV and DG2

2021-11-12 Thread Petri Latvala
On Thu, Nov 11, 2021 at 09:57:34PM +0200, Vudum, Lakshminarayana wrote: > spec@arb_gpu_shader_fp64@execution@built-in-functions@fs-abs-dvec3 test is > not in CI bug log yet. > > So, I can address this failure and re-report the results. FYI @Latvala, Petri piglit results from postmerge are fed to

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for ALSA: hda: fix general protection fault in azx_runtime_idle (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: ALSA: hda: fix general protection fault in azx_runtime_idle (rev3) URL : https://patchwork.freedesktop.org/series/96784/ State : warning == Summary == $ dim checkpatch origin/drm-tip 3d6b0b3ff97c ALSA: hda: fix general protection fault in azx_runtime_idle -:53: WAR

[Intel-gfx] ✗ Fi.CI.DOCS: warning for ALSA: hda: fix general protection fault in azx_runtime_idle (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: ALSA: hda: fix general protection fault in azx_runtime_idle (rev3) URL : https://patchwork.freedesktop.org/series/96784/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess funct

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for i915: Initial workarounds for Xe_HP SDV and DG2

2021-11-12 Thread Petri Latvala
On Fri, Nov 12, 2021 at 12:02:24PM +0200, Petri Latvala wrote: > On Thu, Nov 11, 2021 at 09:57:34PM +0200, Vudum, Lakshminarayana wrote: > > spec@arb_gpu_shader_fp64@execution@built-in-functions@fs-abs-dvec3 test is > > not in CI bug log yet. > > > > So, I can address this failure and re-report t

Re: [Intel-gfx] [PATCH V3] drm/i915/gt: Hold RPM wakelock during PXP suspend

2021-11-12 Thread kernel test robot
Hi Tejas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-tip/drm-tip next-2022] [cannot apply to v5.15] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[Intel-gfx] ✓ Fi.CI.BAT: success for ALSA: hda: fix general protection fault in azx_runtime_idle (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: ALSA: hda: fix general protection fault in azx_runtime_idle (rev3) URL : https://patchwork.freedesktop.org/series/96784/ State : success == Summary == CI Bug Log - changes from CI_DRM_10875 -> Patchwork_21571 Su

Re: [Intel-gfx] [PATCH 09/17] drm/i915/fbc: Introduce .program_cfb() vfunc

2021-11-12 Thread Jani Nikula
On Thu, 04 Nov 2021, Ville Syrjala wrote: > +static void i8xx_fbc_program_cfb(struct drm_i915_private *i915) > +{ > + struct intel_fbc *fbc = &i915->fbc; > + > + GEM_BUG_ON(range_overflows_end_t(u64, i915->dsm.start, > + fbc->compressed_fb.start, U32_MA

Re: [Intel-gfx] [PATCH 2/3] drm/i915/dg2: Add initial gt/ctx/engine workarounds

2021-11-12 Thread Petri Latvala
On Tue, Nov 02, 2021 at 03:25:10PM -0700, Matt Roper wrote: > Bspec: 54077,68173,54833 > Cc: Anusha Srivatsa > Signed-off-by: Matt Roper > --- > drivers/gpu/drm/i915/gt/intel_workarounds.c | 278 +++- > drivers/gpu/drm/i915/i915_reg.h | 94 +-- > drivers/gpu/drm/

[Intel-gfx] [PATCH v2] drm/i915/selftest: Disable IRQ for timestamp calculation

2021-11-12 Thread Anshuman Gupta
gt_pm selftest calculates engine ticks cycles and wall time cycles by delta of respective engine elapsed TIMESTAMP and ktime for period of 1000us. It compares the engine ticks cycles with wall time cycles. Disable local cpu interrupt so that interrupt handler does not switch out the thread during

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/selftest: Disable IRQ for timestamp calculation

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/selftest: Disable IRQ for timestamp calculation URL : https://patchwork.freedesktop.org/series/96853/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function param

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/pmu: Increase the live_engine_busy_stats sample period

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Increase the live_engine_busy_stats sample period URL : https://patchwork.freedesktop.org/series/96840/ State : success == Summary == CI Bug Log - changes from CI_DRM_10872_full -> Patchwork_21568_full =

Re: [Intel-gfx] [PATCH 2/3] drm/i915/dg2: Add initial gt/ctx/engine workarounds

2021-11-12 Thread Sarvela, Tomi P
This issue was not catched by CI, because of series of unfortunate events. Before, CI has rebooted without module blocklist, and CI catched boot-time dmesg correctly and marked it as 'ci@boot' test with failure if there was a taint. I've been doing changes to make blocklisting i915 possible and

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/ttm: Async migration (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/ttm: Async migration (rev3) URL : https://patchwork.freedesktop.org/series/96798/ 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/i915/gt/in

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/ttm: Async migration (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/ttm: Async migration (rev3) URL : https://patchwork.freedesktop.org/series/96798/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function parameter 'i915' descript

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftest: Disable IRQ for timestamp calculation

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/selftest: Disable IRQ for timestamp calculation URL : https://patchwork.freedesktop.org/series/96853/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10875 -> Patchwork_21572 Summary

Re: [Intel-gfx] [PATCH] ALSA: hda: fix general protection fault in azx_runtime_idle

2021-11-12 Thread Kai Vehmanen
Hi, On Fri, 12 Nov 2021, Takashi Iwai wrote: > On Thu, 11 Nov 2021 18:39:36 +0100, Kai Vehmanen wrote: > > And later > > [ 54.770701] Enabling runtime PM for inactive device (:00:1f.3) with > > active children > > [ 54.770718] WARNING: CPU: 0 PID: 10 at drivers/base/power/runtime.c:1439

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/ttm: Async migration (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/ttm: Async migration (rev3) URL : https://patchwork.freedesktop.org/series/96798/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10875 -> Patchwork_21573 Summary --- **FAILURE**

[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Additional DG2 workarounds (rev2)

2021-11-12 Thread Patchwork
== Series Details == Series: i915: Additional DG2 workarounds (rev2) URL : https://patchwork.freedesktop.org/series/96824/ State : success == Summary == CI Bug Log - changes from CI_DRM_10873_full -> Patchwork_21569_full Summary ---

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Mullati Siva
From: "Mullati, Siva" The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So skip this code for non-x86 architectures. Signed-off-by: Mullati, Siva --- driv

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/guc/slpc: Check GuC status before freq boost

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/guc/slpc: Check GuC status before freq boost URL : https://patchwork.freedesktop.org/series/96844/ State : success == Summary == CI Bug Log - changes from CI_DRM_10873_full -> Patchwork_21570_full Summa

Re: [Intel-gfx] [PATCH] drm/i915: Use per device iommu check

2021-11-12 Thread Tvrtko Ursulin
On 12/11/2021 00:53, Lu Baolu wrote: On 11/11/21 11:06 PM, Tvrtko Ursulin wrote: On 10/11/2021 12:35, Lu Baolu wrote: On 2021/11/10 20:08, Tvrtko Ursulin wrote: On 10/11/2021 12:04, Lu Baolu wrote: On 2021/11/10 17:30, Tvrtko Ursulin wrote: On 10/11/2021 07:12, Lu Baolu wrote: Hi Tvrtk

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms URL : https://patchwork.freedesktop.org/series/96855/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function parame

Re: [Intel-gfx] [PATCH][next] drm/i915: make array states static const

2021-11-12 Thread Jani Nikula
On Wed, 15 Sep 2021, Colin King wrote: > From: Colin Ian King > > Don't populate the read-only array states on the stack but instead it > static. Also makes the object code smaller. Finally pushed, sorry for the delay. BR, Jani. > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Jani Nikula
On Fri, 12 Nov 2021, Mullati Siva wrote: > From: "Mullati, Siva" > > The _PAGE_CACHE_MASK macro is not defined in non-x86 > architectures and it's been used in remap_io_mapping(). > Only hw that supports mappable aperture would hit this path > remap_io_mapping(), So skip this code for non-x86 ar

Re: [Intel-gfx] [PATCH] drm/i915: Use per device iommu check

2021-11-12 Thread Tvrtko Ursulin
On 12/11/2021 00:58, Lu Baolu wrote: On 11/11/21 11:18 PM, Tvrtko Ursulin wrote: On 10/11/2021 14:37, Robin Murphy wrote: On 2021-11-10 14:11, Tvrtko Ursulin wrote: On 10/11/2021 12:35, Lu Baolu wrote: On 2021/11/10 20:08, Tvrtko Ursulin wrote: On 10/11/2021 12:04, Lu Baolu wrote: On 2

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

2021-11-12 Thread Tvrtko Ursulin
On 11/11/2021 16:49, Matthew Brost wrote: On Mon, Nov 01, 2021 at 10:35:09AM +, Tvrtko Ursulin wrote: On 27/10/2021 21:10, Matthew Brost wrote: 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 -0

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms URL : https://patchwork.freedesktop.org/series/96855/ State : success == Summary == CI Bug Log - changes from CI_DRM_10875 -> Patchwork_21574 Summary -

Re: [Intel-gfx] [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with it - RFC

2021-11-12 Thread Vincent Whitchurch
On Thu, Nov 11, 2021 at 03:02:04PM -0700, Jim Cromie wrote: > Sean Paul proposed, in: > https://patchwork.freedesktop.org/series/78133/ > drm/trace: Mirror DRM debug logs to tracefs > > His patchset's objective is to be able to independently steer some of > the drm.debug stream to an alternate tra

Re: [Intel-gfx] [RFC v2 05/22] drm/i915/xelpd: Define Degamma Lut range struct for HDR planes

2021-11-12 Thread Ville Syrjälä
On Thu, Nov 11, 2021 at 04:10:41PM -0500, Harry Wentland wrote: > > > On 2021-11-11 15:42, Shankar, Uma wrote: > > > > > >> -Original Message- > >> From: Ville Syrjälä > >> Sent: Thursday, November 11, 2021 10:13 PM > >> To: Harry Wentland > >> Cc: Shankar, Uma ; intel-gfx@lists.freed

[Intel-gfx] ✗ Fi.CI.IGT: failure for ALSA: hda: fix general protection fault in azx_runtime_idle (rev3)

2021-11-12 Thread Patchwork
== Series Details == Series: ALSA: hda: fix general protection fault in azx_runtime_idle (rev3) URL : https://patchwork.freedesktop.org/series/96784/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10875_full -> Patchwork_21571_full ==

[Intel-gfx] [PATCH 5/6] drm/i915: Remove resv from i915_vma

2021-11-12 Thread Matthew Auld
From: Maarten Lankhorst It's just an alias to vma->obj->base.resv, no need to duplicate it. Signed-off-by: Maarten Lankhorst Reviewed-by: Niranjana Vishwanathapura Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 ++-- drivers/gpu/drm/i915/i915_vma.c

[Intel-gfx] [PATCH 3/6] drm/i915: Create a full object for mock_ring, v2.

2021-11-12 Thread Matthew Auld
From: Maarten Lankhorst This allows us to finally get rid of all the assumptions that vma->obj is NULL. Changes since v1: - Ensure the mock_ring vma is pinned to prevent a fault. - Pin it high to avoid failure in evict_for_vma selftest. Signed-off-by: Maarten Lankhorst Reviewed-by: Matthew Aul

[Intel-gfx] [PATCH 2/6] drm/i915: Create a dummy object for gen6 ppgtt

2021-11-12 Thread Matthew Auld
From: Maarten Lankhorst We currently have to special case vma->obj being NULL because of gen6 ppgtt and mock_engine. Fix gen6 ppgtt, so we may soon be able to remove a few checks. As the object only exists as a fake object pointing to ggtt, we have no backing storage, so no real object is created

[Intel-gfx] [PATCH 4/6] drm/i915: vma is always backed by an object.

2021-11-12 Thread Matthew Auld
From: Maarten Lankhorst vma->obj and vma->resv are now never NULL, and some checks can be removed. Signed-off-by: Maarten Lankhorst Reviewed-by: Matthew Auld Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/gt/intel_context.c | 2 +- .../gpu/drm/i915/gt/intel_ring_submission.c |

[Intel-gfx] [PATCH 1/6] drm/i915: move the pre_pin earlier

2021-11-12 Thread Matthew Auld
In intel_context_do_pin_ww, when calling into the pre_pin hook(which is passed the ww context) it could in theory return -EDEADLK(which is very likely with debug kernels), once we start adding more ww locking in there, like in the next patch. If so then we need to be mindful of having to restart th

[Intel-gfx] [PATCH 6/6] drm/i915: Drain the ttm delayed workqueue too

2021-11-12 Thread Matthew Auld
From: Maarten Lankhorst Lets be thorough here. Users of the TTM backend would likely expect this behaviour. Signed-off-by: Maarten Lankhorst Reviewed-by: Matthew Auld Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/g

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms URL : https://patchwork.freedesktop.org/series/96855/ State : success == Summary == CI Bug Log - changes from CI_DRM_10875_full -> Patchwork_21574_full Sum

Re: [Intel-gfx] [PATCH v3] drm/i915: Skip error capture when wedged on init

2021-11-12 Thread Matthew Auld
On 11/11/2021 13:06, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Trying to capture uninitialised engines when we wedged on init ends in tears. Skip that together with uC capture, since failure to initialise the latter can actually be one of the reasons for wedging on init. v2: * Use i915_disa

[Intel-gfx] [PATCH] drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms

2021-11-12 Thread Matt Roper
Pre-HSW platforms don't use the gt SSEU structures; this means that calling intel_sseu_get_subslices() on slice 0 for these platforms will trip a GEM_BUG_ON(slice >= sseu->max_slices) warning. Let's move the DSS lookup for a DG2 workaround into a helper function that will only get called after we'

Re: [Intel-gfx] [PATCH 02/28] drm/i915: use new iterator in i915_gem_object_wait_reservation

2021-11-12 Thread Daniel Vetter
On Thu, Nov 11, 2021 at 12:36:47PM +0100, Christian König wrote: > Am 01.11.21 um 10:41 schrieb Tvrtko Ursulin: > > > > On 28/10/2021 16:30, Daniel Vetter wrote: > > > On Thu, Oct 28, 2021 at 10:41:38AM +0200, Christian König wrote: > > > > Am 21.10.21 um 13:13 schrieb Tvrtko Ursulin: > > > > > >

[Intel-gfx] ✗ Fi.CI.DOCS: warning for series starting with [1/6] drm/i915: move the pre_pin earlier

2021-11-12 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: move the pre_pin earlier URL : https://patchwork.freedesktop.org/series/96859/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function

Re: [Intel-gfx] [PATCH] drm/i915/guc/slpc: Check GuC status before freq boost

2021-11-12 Thread Dixit, Ashutosh
On Thu, 11 Nov 2021 23:10:16 -0800, Vinay Belgaumkar wrote: > > diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c > b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c > index 4e1d3cd29164..22c1c12369f2 100644 > --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c > +++ b/drivers/gpu/drm/i915/gt/uc/

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/6] drm/i915: move the pre_pin earlier

2021-11-12 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: move the pre_pin earlier URL : https://patchwork.freedesktop.org/series/96859/ State : success == Summary == CI Bug Log - changes from CI_DRM_10876 -> Patchwork_21575 Summary

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms URL : https://patchwork.freedesktop.org/series/96861/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Exce

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms URL : https://patchwork.freedesktop.org/series/96861/ State : success == Summary == CI Bug Log - changes from CI_DRM_10876 -> Patchwork_21576

Re: [Intel-gfx] [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with it - RFC

2021-11-12 Thread Steven Rostedt
On Fri, 12 Nov 2021 10:08:41 -0500 Jason Baron wrote: > > A key difference between that patchset and this patch (besides that > > small fact that I used +x instead of +T) was that my patchset allowed > > the dyndbg trace to be emitted to the main buffer and did not force them > > to be in an inst

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Mullati Siva
The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So skip this code for non-x86 architectures. Signed-off-by: Mullati Siva --- drivers/gpu/drm/i915/i915_mm.c

Re: [Intel-gfx] [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with it - RFC

2021-11-12 Thread Jason Baron
On 11/12/21 12:07 PM, Steven Rostedt wrote: > On Fri, 12 Nov 2021 10:08:41 -0500 > Jason Baron wrote: > >>> A key difference between that patchset and this patch (besides that >>> small fact that I used +x instead of +T) was that my patchset allowed >>> the dyndbg trace to be emitted to the ma

Re: [Intel-gfx] [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with it - RFC

2021-11-12 Thread Jason Baron
On 11/12/21 6:49 AM, Vincent Whitchurch wrote: > On Thu, Nov 11, 2021 at 03:02:04PM -0700, Jim Cromie wrote: >> Sean Paul proposed, in: >> https://urldefense.com/v3/__https://patchwork.freedesktop.org/series/78133/__;!!GjvTz_vk!HcKnMRByYkIdyF1apqQjlN5aBIomzJR1an3YWXM6KXs0EftVMQdrewRA8Dki4A$ >> >>

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2) URL : https://patchwork.freedesktop.org/series/96855/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function

Re: [Intel-gfx] [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with it - RFC

2021-11-12 Thread Steven Rostedt
On Fri, 12 Nov 2021 12:32:23 -0500 Jason Baron wrote: > Ok, it looks like Vincent's patch defines a dyndbg event and then uses > 'trace_dyndbg()' to output to the 'main' log. So all dynamic output to > the 'main' ftrace buffer goes through that event if I understand it > correctly. Here's a point

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

2021-11-12 Thread Matthew Brost
On Fri, Nov 12, 2021 at 02:13:50PM +, Tvrtko Ursulin wrote: > > On 11/11/2021 16:49, Matthew Brost wrote: > > On Mon, Nov 01, 2021 at 10:35:09AM +, Tvrtko Ursulin wrote: > > > > > > On 27/10/2021 21:10, Matthew Brost wrote: > > > > On Wed, Oct 27, 2021 at 01:04:49PM -0700, John Harrison w

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2) URL : https://patchwork.freedesktop.org/series/96855/ State : success == Summary == CI Bug Log - changes from CI_DRM_10876 -> Patchwork_21577 Summar

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/6] drm/i915: move the pre_pin earlier

2021-11-12 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: move the pre_pin earlier URL : https://patchwork.freedesktop.org/series/96859/ State : success == Summary == CI Bug Log - changes from CI_DRM_10876_full -> Patchwork_21575_full ===

Re: [Intel-gfx] [PATCH 0/2] Nuke PAGE_KERNEL_IO

2021-11-12 Thread Peter Zijlstra
On Thu, Oct 21, 2021 at 11:15:09AM -0700, Lucas De Marchi wrote: > Last user of PAGE_KERNEL_IO is the i915 driver. While removing it from > there as we seek to bring the driver to other architectures, Daniel > suggested that we could finish the cleanup and remove it altogether, > through the tip tr

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms URL : https://patchwork.freedesktop.org/series/96861/ State : success == Summary == CI Bug Log - changes from CI_DRM_10876_full -> Patchwork_21576_full ==

[Intel-gfx] [PATCH] drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Imre Deak
After a non-blocking modeset on a TypeC port's CRTC - possibly blocked later in drm_atomic_helper_wait_for_dependencies() - a fastset on the same CRTC may copy the state of CRTC before this gets updated to reflect the up-to-date DP-alt vs. TBT-alt TypeC mode DPLL used for the CRTC. In this case aft

[Intel-gfx] [PATCH 0/9] drm/i915: Register define cleanups

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä A bunch of REG_BIT() stuff a random collection of registers. Some of these are related to areas where I plan to do a bit of additional work on the code itself, and a few are just some easy ones I spotted in the vicinity. Ville Syrjälä (9): drm/i915: Bump DSL linemask to 20

[Intel-gfx] [PATCH 3/9] drm/i915: Clean up SKL_BOTTOM_COLOR defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() for SKL_BOTTOM_COLOR. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index e300a202ce2d..8b227dabb10c 10

[Intel-gfx] [PATCH 4/9] drm/i915: Clean up PIPECONF bit defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() & co. for PIPECONF bits, and adjust the naming of various bits to be more consistent. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/icl_dsi.c| 4 +- drivers/gpu/drm/i915/display/intel_display.c | 60 +- .../gpu/drm/i915/disp

[Intel-gfx] [PATCH 6/9] drm/i915: Clean up PIPESRC defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_GENMASK() & co. when dealing with PIPESRC. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/i9xx_plane.c| 4 ++-- drivers/gpu/drm/i915/display/intel_display.c | 7 --- drivers/gpu/drm/i915/i915_reg.h | 4 3 files changed, 10 in

[Intel-gfx] [PATCH 5/9] drm/i915: Clean up PCH_TRANSCONF/TRANS_DP_CTL bit defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT & co. for PCH_TRANSCONF/TRANS_DP_CTL bits, and adjust the naming a some bits to be more consistent. Signed-off-by: Ville Syrjälä --- .../gpu/drm/i915/display/intel_pch_display.c | 13 +++-- drivers/gpu/drm/i915/i915_reg.h | 58 +--

[Intel-gfx] [PATCH 1/9] drm/i915: Bump DSL linemask to 20 bits

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Since tgl PIPE_DSL has 20 bits for the scanline. Let's bump our definition to match. And while at it let's also add the define for the current field readback. We can also get rid of the gen2 vs. gen3+ nonsense since none of the extra bits ever did anything and just always rea

[Intel-gfx] [PATCH 2/9] drm/i915: Clean up PIPEMISC register defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() & co. for PIPEMISC* bits, and while at it fill in the missing dithering bits since we already had some of them defined. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_display.c | 18 +- drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH 8/9] drm/i915: Clean up DPINVGTT/VLV_DPFLIPSTAT bits

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() & co. for DPINVTT/VLV_DPFLIPSTAT bits. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_irq.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 94 - 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/drivers/gp

[Intel-gfx] [PATCH 7/9] drm/i915: Clean up CRC register defines

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() & co. for the CRC registers. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_reg.h | 77 ++--- 1 file changed, 41 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_re

[Intel-gfx] [PATCH 9/9] drm/i915: Clean up FPGA_DBG/CLAIM_ER bits

2021-11-12 Thread Ville Syrjala
From: Ville Syrjälä Use REG_BIT() & co. for FPGA_DBG/CLAIM_ER bits. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_reg.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 0ceb88828d93.

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2)

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Skip remap_io_mapping() for non-x86 platforms (rev2) URL : https://patchwork.freedesktop.org/series/96855/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10876_full -> Patchwork_21577_full ==

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset URL : https://patchwork.freedesktop.org/series/96867/ State : warning == Summary == $ dim checkpatch origin/drm-tip e2320f3454d5 drm/i915: Fix fastsets on TypeC ports following a non-blocking m

Re: [Intel-gfx] [PATCH 0/2] Nuke PAGE_KERNEL_IO

2021-11-12 Thread Lucas De Marchi
On Fri, Nov 12, 2021 at 08:04:03PM +0100, Peter Zijlstra wrote: On Thu, Oct 21, 2021 at 11:15:09AM -0700, Lucas De Marchi wrote: Last user of PAGE_KERNEL_IO is the i915 driver. While removing it from there as we seek to bring the driver to other architectures, Daniel suggested that we could fini

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset URL : https://patchwork.freedesktop.org/series/96867/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess f

Re: [Intel-gfx] [PATCH 0/2] Nuke PAGE_KERNEL_IO

2021-11-12 Thread Dave Hansen
On 11/12/21 12:09 PM, Lucas De Marchi wrote: > The intention was to merge this through the tip tree. Although now I'm > not sure. Options: > > 1) take the first patch through the drm-intel tree and apply the >    second patch later > 2) take everything through the drm tree > 3) tak

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset URL : https://patchwork.freedesktop.org/series/96867/ State : success == Summary == CI Bug Log - changes from CI_DRM_10877 -> Patchwork_21578

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Register define cleanups

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Register define cleanups URL : https://patchwork.freedesktop.org/series/96868/ State : warning == Summary == $ dim checkpatch origin/drm-tip 07e09e2bbe21 drm/i915: Bump DSL linemask to 20 bits d6e456b58dab drm/i915: Clean up PIPEMISC register defines 972a

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Register define cleanups

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Register define cleanups URL : https://patchwork.freedesktop.org/series/96868/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function parameter 'i915' descriptio

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Increase the live_engine_busy_stats sample period

2021-11-12 Thread Matthew Brost
On Thu, Nov 11, 2021 at 06:52:22PM -0800, Umesh Nerlige Ramappa wrote: > Irrespective of the backend for request submissions, busyness for an > engine with an active context is calculated using: > > busyness = total + (current_time - context_switch_in_time) > > In execlists mode of operation, the

Re: [Intel-gfx] [PATCH 0/2] Nuke PAGE_KERNEL_IO

2021-11-12 Thread Andy Lutomirski
On 10/21/21 11:15, Lucas De Marchi wrote: Last user of PAGE_KERNEL_IO is the i915 driver. While removing it from there as we seek to bring the driver to other architectures, Daniel suggested that we could finish the cleanup and remove it altogether, through the tip tree. So here I'm sending both

[Intel-gfx] [PATCH 2/3] drm/i915/rpl-s: Add PCH ID

2021-11-12 Thread Anusha Srivatsa
Add the PCH ID for the same. Cc: Swathi Dhanavanthri Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/intel_pch.c | 1 + drivers/gpu/drm/i915/intel_pch.h | 1 + include/drm/i915_pciids.h| 5 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 3/3] drm/i915/rpl-s: Enable guc submission by default

2021-11-12 Thread Anusha Srivatsa
Though, RPL-S is defined as subplatform of ADL-S, unlike ADL-S, it has GuC submission by default. Cc: Swathi Dhanavanthri Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel

[Intel-gfx] [PATCH 0/3] Introduce Raptor Lake S

2021-11-12 Thread Anusha Srivatsa
Raptor Lake S(RPL-S) is a version 12 Display, Media and Render. For all i915 purposes it is the same as Alder Lake S (ADL-S). The series introduces it as a subplatform of ADL-S. The one difference is the GuC submission which is default on RPL-S but was not the case with ADL-S. Anusha Srivatsa (3):

[Intel-gfx] [PATCH 1/3] drm/i915/rpl-s: Add PCI IDS

2021-11-12 Thread Anusha Srivatsa
Adding PCI ids for RPL-S. Introducing RPL-S as a subplatform of ADL-S. From graphics POV,RPL-S is the same as ADL-S. BSpec: 53655 Cc: Matt Roper Cc: Swathi Dhanavanthri Signed-off-by: Anusha Srivatsa --- arch/x86/kernel/early-quirks.c | 1 + drivers/gpu/drm/i915/i915_drv.h

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Register define cleanups

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Register define cleanups URL : https://patchwork.freedesktop.org/series/96868/ State : success == Summary == CI Bug Log - changes from CI_DRM_10877 -> Patchwork_21579 Summary --- **SUCCESS**

Re: [Intel-gfx] [PATCH] drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Ville Syrjälä
On Fri, Nov 12, 2021 at 09:09:04PM +0200, Imre Deak wrote: > After a non-blocking modeset on a TypeC port's CRTC - possibly blocked > later in drm_atomic_helper_wait_for_dependencies() - a fastset on the > same CRTC may copy the state of CRTC before this gets updated to reflect > the up-to-date DP-

[Intel-gfx] [PATCH] drm/i915/dp: Perform 30ms delay after source OUI write

2021-11-12 Thread Lyude Paul
While working on supporting the Intel HDR backlight interface, I noticed that there's a couple of laptops that will very rarely manage to boot up without detecting Intel HDR backlight support - even though it's supported on the system. One example of such a laptop is the Lenovo P17 1st generation.

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Introduce Raptor Lake S

2021-11-12 Thread Patchwork
== Series Details == Series: Introduce Raptor Lake S URL : https://patchwork.freedesktop.org/series/96869/ State : warning == Summary == $ dim checkpatch origin/drm-tip 47ee6a9cad2e drm/i915/rpl-s: Add PCI IDS -:100: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parent

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Introduce Raptor Lake S

2021-11-12 Thread Patchwork
== Series Details == Series: Introduce Raptor Lake S URL : https://patchwork.freedesktop.org/series/96869/ 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/i915/gt/intel_engine_st

[Intel-gfx] ✗ Fi.CI.DOCS: warning for Introduce Raptor Lake S

2021-11-12 Thread Patchwork
== Series Details == Series: Introduce Raptor Lake S URL : https://patchwork.freedesktop.org/series/96869/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function parameter 'i915' description in 'intel

Re: [Intel-gfx] [PATCH v4 12/14] dt-bindings: msm/dp: Add bindings for HDCP registers

2021-11-12 Thread Rob Herring
On Thu, Nov 04, 2021 at 11:04:29PM -0400, Sean Paul wrote: > From: Sean Paul > > This patch adds the bindings for the MSM DisplayPort HDCP registers > which are required to write the HDCP key into the display controller as > well as the registers to enable HDCP authentication/key > exchange/encry

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Jani Nikula
On Fri, 12 Nov 2021, Mullati Siva wrote: > The _PAGE_CACHE_MASK macro is not defined in non-x86 > architectures and it's been used in remap_io_mapping(). > Only hw that supports mappable aperture would hit this path > remap_io_mapping(), So skip this code for non-x86 architectures. Patch changelo

[Intel-gfx] ✓ Fi.CI.BAT: success for Introduce Raptor Lake S

2021-11-12 Thread Patchwork
== Series Details == Series: Introduce Raptor Lake S URL : https://patchwork.freedesktop.org/series/96869/ State : success == Summary == CI Bug Log - changes from CI_DRM_10877 -> Patchwork_21580 Summary --- **SUCCESS** No regressi

[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/dp: Perform 30ms delay after source OUI write

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/dp: Perform 30ms delay after source OUI write URL : https://patchwork.freedesktop.org/series/96871/ State : warning == Summary == $ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/display/intel_fbc.c:635: warning: Excess function paramet

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset URL : https://patchwork.freedesktop.org/series/96867/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10877_full -> Patchwork_21578_full ==

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dp: Perform 30ms delay after source OUI write

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915/dp: Perform 30ms delay after source OUI write URL : https://patchwork.freedesktop.org/series/96871/ State : success == Summary == CI Bug Log - changes from CI_DRM_10877 -> Patchwork_21581 Summary --

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Register define cleanups

2021-11-12 Thread Patchwork
== Series Details == Series: drm/i915: Register define cleanups URL : https://patchwork.freedesktop.org/series/96868/ State : success == Summary == CI Bug Log - changes from CI_DRM_10877_full -> Patchwork_21579_full Summary --- **SUC

Re: [Intel-gfx] [PATCH v4 1/3] drm/i915: Introduce new macros for i915 PTE

2021-11-12 Thread Matt Roper
On Wed, Nov 10, 2021 at 04:45:47PM -0800, Michael Cheng wrote: > Certain functions within i915 uses macros that are defined for > specific architectures by the mmu, such as _PAGE_RW and _PAGE_PRESENT > (Some architectures don't even have these macros defined, like ARM64). > > Instead of re-using b

Re: [Intel-gfx] [PATCH v4 1/3] drm/i915: Introduce new macros for i915 PTE

2021-11-12 Thread Matt Roper
On Fri, Nov 12, 2021 at 05:28:09PM -0800, Matt Roper wrote: > On Wed, Nov 10, 2021 at 04:45:47PM -0800, Michael Cheng wrote: > > Certain functions within i915 uses macros that are defined for > > specific architectures by the mmu, such as _PAGE_RW and _PAGE_PRESENT > > (Some architectures don't eve

  1   2   >