[Intel-gfx] [RFC PATCH 09/42] drm/i915: support creating LMEM objects

2019-02-14 Thread Matthew Auld
We currently define LMEM, or local memory, as just another memory region, like system memory or stolen, which we can expose to userspace and can be mapped to the CPU via some BAR. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- drivers/gpu/drm/i915/Makefile

[Intel-gfx] [RFC PATCH 06/42] drm/i915/region: support continuous allocations

2019-02-14 Thread Matthew Auld
Some objects may need to be allocated as a continuous block, thinking ahead the various kernel io_mapping interfaces seem to expect it. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- drivers/gpu/drm/i915/i915_gem_object.h| 2 +

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/4] drm/i915/pmu: Always sample an active ringbuffer (rev2)

2019-02-14 Thread Patchwork
== Series Details == Series: series starting with [1/4] drm/i915/pmu: Always sample an active ringbuffer (rev2) URL : https://patchwork.freedesktop.org/series/56599/ State : success == Summary == CI Bug Log - changes from CI_DRM_5599_full -> Patchwork_12214_full

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Make MG phy macros semantically consistent

2019-02-14 Thread Jani Nikula
On Wed, 13 Feb 2019, Lucas De Marchi wrote: > On Tue, Feb 12, 2019 at 3:57 PM Manasi Navare > wrote: >> >> On Mon, Jan 28, 2019 at 02:00:12PM -0800, Aditya Swarup wrote: >> > Macros to be organized semantically by dword, lane and >> > port(in this order). >> > >> > Cc: Clint Taylor >> > Cc:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Defer application of request banning to submission (rev2)

2019-02-14 Thread Patchwork
== Series Details == Series: drm/i915: Defer application of request banning to submission (rev2) URL : https://patchwork.freedesktop.org/series/56626/ State : success == Summary == CI Bug Log - changes from CI_DRM_5599 -> Patchwork_12217

Re: [Intel-gfx] [PATCH] snd/hda, drm/i915: Track the display_power_status using a cookie

2019-02-14 Thread Chris Wilson
Quoting Mika Kuoppala (2019-02-14 13:14:08) > Chris Wilson writes: > > > drm/i915 is tracking all wakeref owners with a cookie in order to > > identify leaks. To that end, each rpm acquisition ops->get_power is > > assigned a cookie which should be passed to ops->put_power to signify > > its

[Intel-gfx] [PATCH] drm/i915: Replace the fixed vblank evasion with a ewma of past update times

2019-02-14 Thread Chris Wilson
Currently we have a fixed estimate for how long we think it will take to rewrite the registers for the modeset to apply, as we have to ensure that we complete the update before the next vblank. We can improve upon our estimate by keeping track of the average for the past few updates, as each will

Re: [Intel-gfx] [PATCH] snd/hda, drm/i915: Track the display_power_status using a cookie

2019-02-14 Thread Mika Kuoppala
Chris Wilson writes: > drm/i915 is tracking all wakeref owners with a cookie in order to > identify leaks. To that end, each rpm acquisition ops->get_power is > assigned a cookie which should be passed to ops->put_power to signify > its release (and removal from the list of wakeref owners). As

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Defer application of request banning to submission (rev2)

2019-02-14 Thread Patchwork
== Series Details == Series: drm/i915: Defer application of request banning to submission (rev2) URL : https://patchwork.freedesktop.org/series/56626/ State : warning == Summary == $ dim checkpatch origin/drm-tip 3e599ebe5565 drm/i915: Defer application of request banning to submission -:12:

Re: [Intel-gfx] [PATCH 0/3] Make DRM DSC helpers more generally usable

2019-02-14 Thread Jani Nikula
On Wed, 13 Feb 2019, David Francis wrote: > drm_dsc could use some work so that drm drivers other than > i915 can make use of it their own DSC implementations > > Move rc compute, a function that forms part of the DSC spec, > into drm. Update it to DSC 1.2. Also change the packing function > to

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl"

2019-02-14 Thread Patchwork
== Series Details == Series: series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl" URL : https://patchwork.freedesktop.org/series/56621/ State : success == Summary == CI Bug Log - changes from CI_DRM_5599 -> Patchwork_12216

Re: [Intel-gfx] [PULL] drm-misc-next

2019-02-14 Thread Daniel Vetter
On Mon, Feb 11, 2019 at 10:52:20AM +0100, Maxime Ripard wrote: > Hi Dave, Daniel, > > Here is the last (hopefully) pull request of drm-misc-next for the > upcoming pull request. > > Maxime > > drm-misc-next-2019-02-11: > drm-misc-next for 5.1: > > UAPI Changes: > - New fourcc for P010 and

Re: [Intel-gfx] [PATCH] drm/i915/psr: Bump vblank evasion time for seamless updates

2019-02-14 Thread Chris Wilson
Quoting Chris Wilson (2019-02-13 16:21:42) > Each set of registers we need to rewrite during a pageflip/modeset > increases the required evasion window. Modesets with PSR enabled > empirically take up to 350us to complete the register programming, so > provide a corresponding boost to the evasion

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl"

2019-02-14 Thread Patchwork
== Series Details == Series: series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl" URL : https://patchwork.freedesktop.org/series/56621/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: Revert "drm/i915: W/A for

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/psr: Bump vblank evasion time for seamless updates

2019-02-14 Thread Patchwork
== Series Details == Series: drm/i915/psr: Bump vblank evasion time for seamless updates URL : https://patchwork.freedesktop.org/series/56618/ State : success == Summary == CI Bug Log - changes from CI_DRM_5599 -> Patchwork_12215 Summary

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl"

2019-02-14 Thread Patchwork
== Series Details == Series: series starting with [1/3] Revert "drm/i915: W/A for underruns with WM1+ disabled on icl" URL : https://patchwork.freedesktop.org/series/56621/ State : warning == Summary == $ dim checkpatch origin/drm-tip 1176d3c29c8b Revert "drm/i915: W/A for underruns with

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/4] drm/i915/pmu: Always sample an active ringbuffer (rev2)

2019-02-14 Thread Patchwork
== Series Details == Series: series starting with [1/4] drm/i915/pmu: Always sample an active ringbuffer (rev2) URL : https://patchwork.freedesktop.org/series/56599/ State : success == Summary == CI Bug Log - changes from CI_DRM_5599 -> Patchwork_12214

Re: [Intel-gfx] [PATCH] drm/i915: Only try to stop engines after a failed reset

2019-02-14 Thread Chris Wilson
Quoting Mika Kuoppala (2019-02-14 11:29:13) > Chris Wilson writes: > > > Currently we try to stop the engine by programming the ring registers to > > be disabled before we perform the reset. Sometimes, we see the context > > image also have invalid ring registers, which one presumes may be > >

Re: [Intel-gfx] [PATCH] drm/i915: Only try to stop engines after a failed reset

2019-02-14 Thread Mika Kuoppala
Chris Wilson writes: > Currently we try to stop the engine by programming the ring registers to > be disabled before we perform the reset. Sometimes, we see the context > image also have invalid ring registers, which one presumes may be > actually caused by us doing so. Lets risk not doing

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Move dsc rate params compute into drm

2019-02-14 Thread Dan Carpenter
Hi David, url: https://github.com/0day-ci/linux/commits/David-Francis/Make-DRM-DSC-helpers-more-generally-usable/20190214-052541 smatch warnings: drivers/gpu/drm/drm_dsc.c:306 drm_dsc_compute_rc_parameters() warn: impossible condition '(vdsc_cfg->nfl_bpg_offset > 65535) =>

Re: [Intel-gfx] [PATCH v3 2/6] drm/i915: Watchdog timeout: IRQ handler for gen8+

2019-02-14 Thread Chris Wilson
Quoting Carlos Santa (2019-02-14 02:57:09) > diff --git a/drivers/gpu/drm/i915/intel_hangcheck.c > b/drivers/gpu/drm/i915/intel_hangcheck.c > index 58b6ff8453dc..bc10acb24d9a 100644 > --- a/drivers/gpu/drm/i915/intel_hangcheck.c > +++ b/drivers/gpu/drm/i915/intel_hangcheck.c > @@ -218,7 +218,8 @@

<    1   2