[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add a new modparam for customized ring multiplier

2017-12-18 Thread Patchwork
== Series Details == Series: drm/i915: Add a new modparam for customized ring multiplier URL : https://patchwork.freedesktop.org/series/35535/ State : success == Summary == Series 35535v1 drm/i915: Add a new modparam for customized ring multiplier https://patchwork.freedesktop.org/api/1.0/seri

Re: [Intel-gfx] [RFC] drm/i915: Add a new modparam for customized ring multiplier

2017-12-18 Thread Chris Wilson
Quoting Jackie Li (2017-12-18 21:22:08) > From: Zhipeng Gong > > SKL platforms requires a higher ring multiplier when there's massive > GPU load. Current driver doesn't provide a way to override the ring > multiplier. > > This patch adds a new module parameter to allow the overriding of > ring m

Re: [Intel-gfx] [PATCH 3/3] drm/i915/selftests: Fix up igt_reset_engine

2017-12-18 Thread Michel Thierry
On 17/12/17 05:28, Chris Wilson wrote: Now that we skip a per-engine reset on an idle engine, we need to update the selftest to take that into account. In the process, we find that we were not stressing the per-engine reset very hard, so add those missing active resets. v2: Actually test i915_re

Re: [Intel-gfx] [PATCH 3/3] drm/i915/selftests: Fix up igt_reset_engine

2017-12-18 Thread Chris Wilson
Quoting Michel Thierry (2017-12-18 21:50:17) > On 17/12/17 05:28, Chris Wilson wrote: > > Now that we skip a per-engine reset on an idle engine, we need to update > > the selftest to take that into account. In the process, we find that we > > were not stressing the per-engine reset very hard, so ad

Re: [Intel-gfx] [PATCH v2] drm/i915: Protect DDI port to DPLL map from theoretical race.

2017-12-18 Thread Rodrigo Vivi
On Mon, Dec 18, 2017 at 10:40:02AM +, Maarten Lankhorst wrote: > Op 15-12-17 om 23:43 schreef Rodrigo Vivi: > > In case we have multiple modesets for different connectors > > happening in parallel we could have a race on the RMW on these > > shared registers. > > > > This possibility was initia

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Add a new modparam for customized ring multiplier

2017-12-18 Thread Patchwork
== Series Details == Series: drm/i915: Add a new modparam for customized ring multiplier URL : https://patchwork.freedesktop.org/series/35535/ State : failure == Summary == Test kms_fbcon_fbt: Subgroup fbc-suspend: pass -> SKIP (shard-hsw) Test kms_frontbuff

Re: [Intel-gfx] [PATCH] drm/i915/cnl: Add support for horizontal plane flipping

2017-12-18 Thread Rodrigo Vivi
On Sat, Dec 16, 2017 at 03:25:01PM +, Ville Syrjälä wrote: > On Fri, Dec 15, 2017 at 10:22:25PM +, Chris Wilson wrote: > > Quoting Rodrigo Vivi (2017-12-15 21:38:00) > > > From: Joonas Lahtinen > > > > > > CNL supports horizontal plane flipping on non-linear plane formats. > > > > > > v2

[Intel-gfx] No display if I plug in the VGA cable after entering OS

2017-12-18 Thread 刘晓倩
Hello, I need you help. I have a display problem about Intel Graphics driver. I use CentOS7.4(Kernel 3.10.0-693), and enter to OS without VGA cable. After entering OS, I plug in VGA cable but without display on my monitor. I also try to test Win10. If I install the Graphics driver, this problem

Re: [Intel-gfx] [PATCH i-g-t] scripts/trace.pl: Auto-detect tracepoint field order

2017-12-18 Thread John Harrison
On 12/18/2017 4:02 AM, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Instead of hard-coding the order of key-value pairs into regular expressions, auto-detect them as we go. At the same time re-factor the code so it is smaller and even slightly faster (10-15% by a quick measurement). Signed-off-

Re: [Intel-gfx] No display if I plug in the VGA cable after entering OS

2017-12-18 Thread Rodrigo Vivi
Hi there, Please report a bug on bugzilla.freedesktop.org as instructed on https://01.org/linuxgraphics/documentation/how-report-bugs We will need more info about your platform and more logs to determine what is happening on your case. Thanks, Rodrigo. On Mon, Dec 18, 2017 at 10:45:53AM +,

Re: [Intel-gfx] [PATCH i-g-t] igt/kms_rotation_crc: Add horizontal flip subtest.

2017-12-18 Thread Rodrigo Vivi
On Thu, Dec 14, 2017 at 10:14:19AM +, Daniel Vetter wrote: > On Thu, Nov 23, 2017 at 12:05 AM, Anusha Srivatsa > wrote: > > From: Joseph Garvey > > > > Test that horizontal flip works with supported rotations. Includes > > a fix for the unrotated fb which was not being positioned correctly >

Re: [Intel-gfx] [PATCH v2] drm/i915: Generalize definition for crtc mask

2017-12-18 Thread Rodrigo Vivi
On Wed, Dec 13, 2017 at 09:25:16AM +, Mika Kahola wrote: > crtc_mask is defined explicitly defined for a certain number of pipes per > platform. Let's generalize this in a way that crtc_mask dependens only on > the number of pipes defined in device info. > > v2: Use BIT() macro wherever possib

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Implement WaDisableVFclkgate.

2017-12-18 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Implement WaDisableVFclkgate. URL : https://patchwork.freedesktop.org/series/35456/ State : success == Summary == Series 35456v1 series starting with [1/2] drm/i915: Implement WaDisableVFclkgate. https://patchwork.freedesktop.o

Re: [Intel-gfx] [PATCH i-g-t] igt/kms_rotation_crc: Add horizontal flip subtest.

2017-12-18 Thread Srivatsa, Anusha
>-Original Message- >From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of >Daniel >Vetter >Sent: Thursday, December 14, 2017 2:14 AM >To: Srivatsa, Anusha ; Strano, Luis >; Latvala, Petri ; Lofstedt, >Marta ; Saarinen, Jani >Cc: intel-gfx ; Joseph Garvey > >Subject:

[Intel-gfx] [PATCH i-g-t] overlay: parse tracepoints from sysfs to figure out fields' location

2017-12-18 Thread Lionel Landwerlin
With changes going to drm-tip, the tracepoints field locations are going to change. This change introduces a tracepoint parser (using a peg parser) which lets us figure out field positions on the fly. Signed-off-by: Lionel Landwerlin --- configure.ac | 5 ++ overlay/gpu-perf.c

[Intel-gfx] ✗ Fi.CI.BAT: failure for overlay: parse tracepoints from sysfs to figure out fields' location

2017-12-18 Thread Patchwork
== Series Details == Series: overlay: parse tracepoints from sysfs to figure out fields' location URL : https://patchwork.freedesktop.org/series/35545/ State : failure == Summary == IGT patchset build failed on latest successful build cfb711c046c22c3881d2334f0b43ec4eb0b9a5fc scripts/trace.pl:

[Intel-gfx] [PATCH i-g-t v2] overlay: parse tracepoints from sysfs to figure out fields' location

2017-12-18 Thread Lionel Landwerlin
With changes going to drm-tip, the tracepoints field locations are going to change. This change introduces a tracepoint parser (using a peg parser) which lets us figure out field positions on the fly. v2: Fix automake build (Lionel) Signed-off-by: Lionel Landwerlin --- configure.ac

[Intel-gfx] ✗ Fi.CI.BAT: failure for overlay: parse tracepoints from sysfs to figure out fields' location (rev2)

2017-12-18 Thread Patchwork
== Series Details == Series: overlay: parse tracepoints from sysfs to figure out fields' location (rev2) URL : https://patchwork.freedesktop.org/series/35545/ State : failure == Summary == IGT patchset build failed on latest successful build cfb711c046c22c3881d2334f0b43ec4eb0b9a5fc scripts/tr

Re: [Intel-gfx] [RFC] drm/i915: Add a new modparam for customized ring multiplier

2017-12-18 Thread Yaodong Li
On 12/18/2017 01:47 PM, Chris Wilson wrote: Quoting Jackie Li (2017-12-18 21:22:08) From: Zhipeng Gong SKL platforms requires a higher ring multiplier when there's massive GPU load. Current driver doesn't provide a way to override the ring multiplier. This patch adds a new module parameter to

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915: Implement WaDisableVFclkgate.

2017-12-18 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Implement WaDisableVFclkgate. URL : https://patchwork.freedesktop.org/series/35456/ State : success == Summary == Test kms_frontbuffer_tracking: Subgroup fbc-1p-offscren-pri-shrfb-draw-render: fail

[Intel-gfx] [PATCH v2 3/8] drm/i915/psr: Avoid initializing PSR if there is no sink support.

2017-12-18 Thread Dhinakaran Pandiyan
DPCD read for the eDP is complete by the time intel_psr_init() is called, which means we can avoid initializing PSR structures and state if there is no sink support. Cc: Rodrigo Vivi Cc: Ville Syrjälä Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/i915_debugfs.c | 7 ++- drive

[Intel-gfx] [PATCH v2 8/8] drm/i915: Use the vblank power domain disallow or disable DC states.

2017-12-18 Thread Dhinakaran Pandiyan
Disable DC states before enabling vblank interrupts and conversely enable DC states after disabling. Since the frame counter may have got reset between disabling and enabling, use drm_crtc_vblank_restore() to compute the missed vblanks. Cc: Daniel Vetter Cc: Ville Syrjälä Cc: Rodrigo Vivi Signe

[Intel-gfx] [PATCH v2 0/8] Fix PSR-vblank-DMC interaction

2017-12-18 Thread Dhinakaran Pandiyan
The first 3 patches are minor PSR improvements. The last 5 introduce a new power domain to disable DC states when vblanks are required. The tricky part is to enable and disable the DC_OFF power well in atomic context. I have addressed the locking issues that CI caught in the last revision. Dhinaka

[Intel-gfx] [PATCH v2 5/8] drm/vblank: Restoring vblank counts after device runtime PM events.

2017-12-18 Thread Dhinakaran Pandiyan
The HW frame counter can get reset when devices enters low power states and this messes up any following vblank count updates. So, compute the missed vblank interrupts for that low power state duration using time stamps. This is similar to _crtc_vblank_on() except that it doesn't enable vblank inte

[Intel-gfx] [PATCH v2 6/8] drm/i915: Use an atomic_t array to track power domain use count.

2017-12-18 Thread Dhinakaran Pandiyan
Convert the power_domains->domain_use_count array that tracks per-domain use count to atomic_t type. This is needed to be able to read/write the use counts outside of the power domain mutex. Cc: Daniel Vetter Cc: Ville Syrjälä Cc: Rodrigo Vivi Signed-off-by: Dhinakaran Pandiyan --- drivers/gp

[Intel-gfx] [PATCH v2 1/8] drm/i915/psr: Kill psr.source_ok flag.

2017-12-18 Thread Dhinakaran Pandiyan
This flag has become redundant since commit 4d90f2d507ab ("drm/i915: Start tracking PSR state in crtc state") It is set at the same place as psr.enabled, which is also exposed via debugfs. Cc: Rodrigo Vivi Cc: Ville Syrjälä Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/i915_debug

[Intel-gfx] [PATCH v2 7/8] drm/i915: Introduce a non-blocking power domain for vblank interrupts

2017-12-18 Thread Dhinakaran Pandiyan
When DC states are enabled and PSR is active, the hardware enters DC5/DC6 states resulting in frame counter resets. The frame counter resets mess up the vblank counting logic. In order to disable DC states when vblank interrupts are required and to disallow DC states when vblanks interrupts are alr

[Intel-gfx] [PATCH v2 2/8] drm/i915/psr: CAN_PSR() macro to check for PSR source and sink support.

2017-12-18 Thread Dhinakaran Pandiyan
The global variable dev_priv->psr.sink_support is set if an eDP sink supports PSR. Use this instead of redoing the check with is_edp_psr(). Combine source and sink support checks into a macro that can be used to return early from psr_{invalidate, single_frame_update, flush}. Cc: Rodrigo Vivi Sign

[Intel-gfx] [PATCH v2 4/8] drm/vblank: Do not update vblank counts if vblanks are already disabled.

2017-12-18 Thread Dhinakaran Pandiyan
Updating the vblank counts requires register reads and these reads may not return meaningful values after the vblank interrupts are disabled as the device may go to low power state. An additional change would be to allow the driver to save the vblank counts before entering a low power state, but th

[Intel-gfx] ✓ Fi.CI.BAT: success for Fix PSR-vblank-DMC interaction

2017-12-18 Thread Patchwork
== Series Details == Series: Fix PSR-vblank-DMC interaction URL : https://patchwork.freedesktop.org/series/35553/ State : success == Summary == Series 35553v1 Fix PSR-vblank-DMC interaction https://patchwork.freedesktop.org/api/1.0/series/35553/revisions/1/mbox/ Test kms_pipe_crc_basic:

[Intel-gfx] ✓ Fi.CI.IGT: success for Fix PSR-vblank-DMC interaction

2017-12-18 Thread Patchwork
== Series Details == Series: Fix PSR-vblank-DMC interaction URL : https://patchwork.freedesktop.org/series/35553/ State : success == Summary == Test kms_frontbuffer_tracking: Subgroup fbc-1p-offscren-pri-shrfb-draw-render: fail -> PASS (shard-snb) fdo#101623

<    1   2