Re: [Intel-gfx] Possible 4.5 i915 Skylake regression

2016-02-22 Thread Andy Lutomirski
On Wed, Feb 17, 2016 at 5:36 PM, Andy Lutomirski wrote: > On Wed, Feb 17, 2016 at 8:18 AM, Daniel Vetter wrote: >> On Tue, Feb 16, 2016 at 09:26:35AM -0800, Andy Lutomirski wrote: >>> On Tue, Feb 16, 2016 at 9:12 AM, Andy Lutomirski >>> wrote: >>> > On Tue, Feb 16, 2016 at 8:12 AM, Daniel Vette

Re: [Intel-gfx] [RFCv2 01/14] drm/i915: factor out i915_pvinfo.h

2016-02-22 Thread Zhi Wang
Hi Joonas: Thanks for the comments! Let me cook a patch to improve it immediately. :) Thanks, Zhi. On 02/22/16 21:23, Joonas Lahtinen wrote: Hi, On to, 2016-02-18 at 19:42 +0800, Zhi Wang wrote: As the PVINFO page definition is used by both GVT-g guest (vGPU) and GVT-g host (GVT-g kerne

[Intel-gfx] System freeze apparently due to GPU memory exhaustion - why?

2016-02-22 Thread Adam Nielsen
Hi all, I'm an end user and I'm having problems which I believe are ultimately caused by an issue with the Intel kernel driver. When I am running programs that use a lot of images (e.g. GIMP, Firefox with YouTube and Google Maps) then after a short while my whole machine will grind to a halt, to

Re: [Intel-gfx] [PATCH 4/5] drm/i915: Implement color management on bdw/skl/bxt/kbl

2016-02-22 Thread Matt Roper
On Mon, Feb 22, 2016 at 02:18:10PM +, Lionel Landwerlin wrote: > Patch based on a previous series by Shashank Sharma. > > v2: Do not read GAMMA_MODE register to figure what mode we're in > > v3: Program PREC_PAL_GC_MAX to clamp pixel values > 1.0 > > Add documentation on how the Broadcas

Re: [Intel-gfx] [PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-22 Thread Matt Roper
On Mon, Feb 22, 2016 at 02:18:08PM +, Lionel Landwerlin wrote: > Implement Daniel Stone's recommendation to not read registers to infer > the hardware's state. > > Signed-off-by: Lionel Landwerlin Do we need to ensure that software and hardware state are synchronized at startup? A boot firm

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Extract out gamma table and CSC to their own file

2016-02-22 Thread Matt Roper
On Mon, Feb 22, 2016 at 02:18:07PM +, Lionel Landwerlin wrote: > The moves a couple of functions programming the gamma LUT and CSC > units into their own file. > > On generations prior to Haswell there is only a gamma LUT. From > haswell on there is also a new enhanced color correction unit th

Re: [Intel-gfx] [PATCH v5 09/35] drm/i915: Force MMIO flips when scheduler enabled

2016-02-22 Thread Jesse Barnes
On 02/20/2016 01:22 AM, Chris Wilson wrote: > On Fri, Feb 19, 2016 at 11:28:05AM -0800, Jesse Barnes wrote: >> On 02/18/2016 06:26 AM, john.c.harri...@intel.com wrote: >>> From: John Harrison >>> >>> MMIO flips are the preferred mechanism now > > Because introducing variable latency in waking up

[Intel-gfx] [PULL] drm-intel-fixes

2016-02-22 Thread Jani Nikula
Hi Dave - Here's the display power stuff that Daniel and I were a bit hesitant to queue to v4.5 at this late stage, but since you said, "looks fairly self contained, if it make skylake suck less I'm all for it", here goes. Most of the commits are quite similar, ensuring the display power doesn't

[Intel-gfx] [PATCH] drm/i915: Change WARN_ON(!wm_changed) to I915_STATE_WARN_ON()

2016-02-22 Thread Lyude
These warnings still seem to be present with DP MST configurations. They don't actually indicate any impending doom, so we may as well use I915_STATE_WARN_ON() here to help quiet things down a little bit for distro kernel users. Signed-off-by: Lyude --- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1

Re: [Intel-gfx] [PATCH libdrm] intel/skl: Add missing SKL PCI IDs

2016-02-22 Thread Lionel Landwerlin
On 17/02/16 10:40, Michał Winiarski wrote: Used by production devices: Intel(R) HD Graphics 510 Intel(R) HD Graphics 535 Intel(R) Iris(TM) Graphics 550 Intel(R) Iris(TM) Graphics P555 Signed-off-by: Michał Winiarski Tested-by: Lionel Landwerlin

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add for_each_pipe_masked()

2016-02-22 Thread Ville Syrjälä
On Mon, Feb 22, 2016 at 04:18:33PM +0200, Imre Deak wrote: > On pe, 2016-02-19 at 20:47 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > for_each_pipe_masked() can be used to iterate over the pipes > > included in the user provided pipe mask. Removes a few lines of > >

Re: [Intel-gfx] [PATCH] drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV

2016-02-22 Thread Ville Syrjälä
On Mon, Feb 22, 2016 at 02:37:25PM +0200, Imre Deak wrote: > On pe, 2016-02-19 at 18:41 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > After we've told the irq code we don't want to handle display irqs > > anymore, we must make sure any display irq handling already >

Re: [Intel-gfx] [PATCH] drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when power well is down

2016-02-22 Thread Ville Syrjälä
On Fri, Feb 19, 2016 at 05:37:49PM +0200, Imre Deak wrote: > On to, 2016-02-18 at 21:54 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > PIPESTAT registers live in the display power well on VLV/CHV, so we > > shouldn't access them when things are powered down. Let's che

Re: [Intel-gfx] drm/i915/skl: Correct other-pipe watermark update condition check (v2)

2016-02-22 Thread Lyude
Hey! I figured I should let you guys know while this fixes all of the issues with normal display connectors, you still get WARN_ON(!wm_changed) warnings if you try using DisplayPort MST, even with this patch. Cheers, Lyude On Fri, 2015-10-23 at 09:41 -0700, Matt Roper wrote: > From: "Kuma

Re: [Intel-gfx] [PATCH v4 2/3] drm/i915: refactor duplicate object vmap functions (reworked)

2016-02-22 Thread Tvrtko Ursulin
[Cc Chris as the author of the idea.] Hi, On 22/02/16 15:18, Dave Gordon wrote: This is essentially Chris Wilson's patch of a similar name, reworked on top of Alex Dai's recent patch: drm/i915: Add i915_gem_object_vmap to map GEM object to virtual space Chris' original commentary said:

Re: [Intel-gfx] [PATCH 136/190] drm/i915: Move ioremap_wc tracking onto VMA

2016-02-22 Thread Tvrtko Ursulin
On 19/02/16 15:11, Chris Wilson wrote: On Thu, Feb 11, 2016 at 02:10:19PM +, Tvrtko Ursulin wrote: On 11/02/16 13:29, Chris Wilson wrote: On Thu, Feb 11, 2016 at 01:20:46PM +, Tvrtko Ursulin wrote: On 11/01/16 10:45, Chris Wilson wrote: By tracking the iomapping on the VMA itself,

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when power well is down

2016-02-22 Thread Ville Syrjälä
On Fri, Feb 19, 2016 at 08:20:27AM -, Patchwork wrote: > == Summary == > > Series 3599v1 drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when > power well is down > http://patchwork.freedesktop.org/api/1.0/series/3599/revisions/1/mbox/ > > Subgroup force-load-detect: >

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for gen9 dmc state harderning (rev3)

2016-02-22 Thread Imre Deak
On ma, 2016-02-22 at 17:13 +0200, Imre Deak wrote: > On pe, 2016-02-19 at 11:35 +, Patchwork wrote: > > == Summary == > > > > Series 3587v3 gen9 dmc state harderning > > http://patchwork.freedesktop.org/api/1.0/series/3587/revisions/3/mbox/ Thanks for the patches, I pushed them to -dinq. --I

Re: [Intel-gfx] [PATCH] drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Tvrtko Ursulin
On 22/02/16 14:56, Maarten Lankhorst wrote: Op 22-02-16 om 15:27 schreef Tvrtko Ursulin: On 22/02/16 13:09, Maarten Lankhorst wrote: Hey, Op 22-02-16 om 12:52 schreef Tvrtko Ursulin: From: Tvrtko Ursulin Not sure if intel_wm_config->num_pipes_active is supposed to ever be zero when intel_u

[Intel-gfx] [PATCH v4 3/3] drm/i915: optimise i915_gem_object_vmap_range() for small objects

2016-02-22 Thread Dave Gordon
Now that we use this function for ringbuffers and other "small" objects, it's worth avoiding an extra kmalloc()/kfree() cycle if the page array is small enough to put on the stack. Here we've chosen an arbitrary cutoff of 32 (4k) pages, which is big enough for a ringbuffer (4 pages) or a context im

[Intel-gfx] [PATCH v4 0/3] Reorganise calls to vmap() GEM objects

2016-02-22 Thread Dave Gordon
Alex Dai and Chris Wilson have both recently posted patches to rationalise the use of vmap() for mapping GEM objects into kernel virtual space. However, they addressed different areas, with Alex's patch being derived from the copy_batch() code, whereas Chris' patch refactored the dma-buf and ringbu

[Intel-gfx] [PATCH v4 2/3] drm/i915: refactor duplicate object vmap functions (reworked)

2016-02-22 Thread Dave Gordon
This is essentially Chris Wilson's patch of a similar name, reworked on top of Alex Dai's recent patch: drm/i915: Add i915_gem_object_vmap to map GEM object to virtual space Chris' original commentary said: We now have two implementations for vmapping a whole object, one for dma-buf and one

[Intel-gfx] [PATCH v4 1/3] drm/i915: add i915_gem_object_vmap_range() to map GEM object to virtual space

2016-02-22 Thread Dave Gordon
From: Alex Dai There are several places inside driver where a GEM object is mapped to kernel virtual space. The mapping may be done either for the whole object or only a subset of it. This patch introduces a function i915_gem_object_vmap_range() to implement the common functionality. v2: Use ob

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for gen9 dmc state harderning (rev3)

2016-02-22 Thread Imre Deak
On pe, 2016-02-19 at 11:35 +, Patchwork wrote: > == Summary == > > Series 3587v3 gen9 dmc state harderning > http://patchwork.freedesktop.org/api/1.0/series/3587/revisions/3/mbox > / > > Test gem_ctx_param_basic: > Subgroup basic-default: > incomplete -> PASS   (sn

Re: [Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV

2016-02-22 Thread Ville Syrjälä
On Mon, Feb 22, 2016 at 10:23:30AM -, Patchwork wrote: > == Summary == > > Series 3636v1 drm/i915: synchronize_irq() before turning off disp2d power > well on VLV/CHV > http://patchwork.freedesktop.org/api/1.0/series/3636/revisions/1/mbox/ > > Test kms_force_connector_basic: > Subgro

Re: [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+

2016-02-22 Thread Ville Syrjälä
On Mon, Feb 22, 2016 at 11:18:21AM -, Patchwork wrote: > == Summary == > > Series 3639v1 Series without cover letter > http://patchwork.freedesktop.org/api/1.0/series/3639/revisions/1/mbox/ > > Test kms_force_connector_basic: > Subgroup force-load-detect: > dmesg-fail

Re: [Intel-gfx] [PATCH] drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Maarten Lankhorst
Op 22-02-16 om 15:27 schreef Tvrtko Ursulin: > On 22/02/16 13:09, Maarten Lankhorst wrote: >> Hey, >> >> Op 22-02-16 om 12:52 schreef Tvrtko Ursulin: >>> From: Tvrtko Ursulin >>> >>> Not sure if intel_wm_config->num_pipes_active is supposed to >>> ever be zero when intel_update_watermarks gets cal

[Intel-gfx] ✗ Fi.CI.BAT: warning for Pipe level color management (rev6)

2016-02-22 Thread Patchwork
== Summary == Series 2720v6 Pipe level color management http://patchwork.freedesktop.org/api/1.0/series/2720/revisions/6/mbox/ Test gem_cs_prefetch: Subgroup basic-default: incomplete -> PASS (ilk-hp8440p) Test kms_flip: Subgroup basic-flip-vs-modeset:

Re: [Intel-gfx] [PATCH v6 0/7] Convert requests to use struct fence

2016-02-22 Thread John Harrison
On 18/02/2016 14:51, Chris Wilson wrote: On Thu, Feb 18, 2016 at 02:24:03PM +, john.c.harri...@intel.com wrote: From: John Harrison Does this pass igt? AFAICT, it passes as much of IGT as was passing before this patch set. If so, which are the bug fixes for the current regressions fro

Re: [Intel-gfx] [PATCH v6 4/7] drm/i915: Delay the freeing of requests until retire time

2016-02-22 Thread John Harrison
On 18/02/2016 14:48, Chris Wilson wrote: On Thu, Feb 18, 2016 at 02:24:07PM +, john.c.harri...@intel.com wrote: From: John Harrison As I said, and have shown in patches several months ago, just fix the underlying bug to remove the struct_mutex requirement for freeing the request. If you ha

Re: [Intel-gfx] [PATCH v6 3/7] drm/i915: Add per context timelines to fence object

2016-02-22 Thread John Harrison
On 18/02/2016 14:49, Chris Wilson wrote: On Thu, Feb 18, 2016 at 02:24:06PM +, john.c.harri...@intel.com wrote: From: John Harrison The fence object used inside the request structure requires a sequence number. Although this is not used by the i915 driver itself, it could potentially be us

Re: [Intel-gfx] Fwd: [PATCH] drm/i915: Avoid vblank counter for gen9+

2016-02-22 Thread Imre Deak
On to, 2016-02-18 at 08:56 -0800, Rodrigo Vivi wrote: > Imre, Patrik, do you know if I'm missing something or what I'm doing > wrong with this power domain handler for vblanks to avoid DC states > when we need a reliable frame counter in place. > > Do you have better ideas? Would it be possible t

Re: [Intel-gfx] [PATCH] drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Tvrtko Ursulin
On 22/02/16 13:09, Maarten Lankhorst wrote: > Hey, > > Op 22-02-16 om 12:52 schreef Tvrtko Ursulin: >> From: Tvrtko Ursulin >> >> Not sure if intel_wm_config->num_pipes_active is supposed to >> ever be zero when intel_update_watermarks gets called. But >> since it can be triggered in early platf

[Intel-gfx] [PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-22 Thread Lionel Landwerlin
Implement Daniel Stone's recommendation to not read registers to infer the hardware's state. Signed-off-by: Lionel Landwerlin --- drivers/gpu/drm/i915/intel_color.c | 7 +-- drivers/gpu/drm/i915/intel_drv.h | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[Intel-gfx] [PATCH 5/5] drm/i915: Implement color management on chv

2016-02-22 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. v2: Update contributors v3: Refactor degamma/gamma LUTs load into a single function v4: Remove unused variable Signed-off-by: Shashank Sharma Signed-off-by: Lionel Landwerlin Signed-off-by: Kumar, Kiran S Signed-off-by: Kausal Malladi ---

[Intel-gfx] [PATCH 4/5] drm/i915: Implement color management on bdw/skl/bxt/kbl

2016-02-22 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. v2: Do not read GAMMA_MODE register to figure what mode we're in v3: Program PREC_PAL_GC_MAX to clamp pixel values > 1.0 Add documentation on how the Broadcast RGB property is affected by CTM v4: Update contributors v5: Refactor degamma/

[Intel-gfx] [PATCH 3/5] drm: introduce pipe color correction properties

2016-02-22 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. This introduces optional properties to enable color correction at the pipe level. It relies on 3 transformations applied to every pixels displayed. First a lookup into a degamma table, then a multiplication of the rgb components by a 3x3 matrix

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add for_each_pipe_masked()

2016-02-22 Thread Imre Deak
On pe, 2016-02-19 at 20:47 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > for_each_pipe_masked() can be used to iterate over the pipes > included in the user provided pipe mask. Removes a few lines of > duplicated code. > > Signed-off-by: Ville Syrjälä Reviewed-by: Imre

[Intel-gfx] [PATCH 0/5] Pipe level color management V6

2016-02-22 Thread Lionel Landwerlin
This series introduces pipe level color management through a set of properties attached to the CRTC. It also provides an implementation for some Intel platforms. This series is based of a previous set of patches by Shashank Sharma. Cheers, Lionel Lionel Landwerlin (5): drm/i915: Extract out

[Intel-gfx] [PATCH 1/5] drm/i915: Extract out gamma table and CSC to their own file

2016-02-22 Thread Lionel Landwerlin
The moves a couple of functions programming the gamma LUT and CSC units into their own file. On generations prior to Haswell there is only a gamma LUT. From haswell on there is also a new enhanced color correction unit that isn't used yet. This is why we need to set the GAMMA_MODE register, either

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+

2016-02-22 Thread Ville Syrjälä
On Mon, Feb 22, 2016 at 03:59:28PM +0200, Imre Deak wrote: > On pe, 2016-02-19 at 20:47 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Starting from BDW the DE_PIPE interrupts for pipe B and C belong to the > > relevant display power well. So we should make sure we've

Re: [Intel-gfx] [GPIO PATCH 2/2] drm/i915: GPIO for BXT generic MIPI

2016-02-22 Thread Jani Nikula
On Mon, 22 Feb 2016, Deepak M wrote: > From: Uma Shankar > > Added the BXT GPIO pin configuration and programming logic for > backlight and panel control. > > v2 by Deepak > - Added the GPIO table got BXT. > - Added gpio_free > > Cc: Jani Nikula > Cc: Ville Syrjälä > Signed-off-by: Uma Shan

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+

2016-02-22 Thread Imre Deak
On pe, 2016-02-19 at 20:47 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Starting from BDW the DE_PIPE interrupts for pipe B and C belong to the > relevant display power well. So we should make sure we've finished > processing them before turning off the power well. > > T

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with drm/i915/dsi: Added the generic gpio sequence support and gpio table (rev4)

2016-02-22 Thread Patchwork
== Summary == Series 3623v4 Series without cover letter http://patchwork.freedesktop.org/api/1.0/series/3623/revisions/4/mbox/ Test gem_cs_prefetch: Subgroup basic-default: incomplete -> PASS (ilk-hp8440p) Test kms_flip: Subgroup basic-flip-vs-modeset:

Re: [Intel-gfx] [GPIO PATCH 1/2] drm/i915: GPIO for CHT generic MIPI

2016-02-22 Thread Jani Nikula
On Mon, 22 Feb 2016, Deepak M wrote: > From: Yogesh Mohan Marimuthu > > The GPIO configuration and register offsets are different from > baytrail for cherrytrail. Port the gpio programming accordingly > for cherrytrail in this patch. > > v2: Removing the duplication of parsing > > Cc: Jani Nikula

[Intel-gfx] [GPIO PATCH 2/2] drm/i915: GPIO for BXT generic MIPI

2016-02-22 Thread Deepak M
From: Uma Shankar Added the BXT GPIO pin configuration and programming logic for backlight and panel control. v2 by Deepak - Added the GPIO table got BXT. - Added gpio_free Cc: Jani Nikula Cc: Ville Syrjälä Signed-off-by: Uma Shankar Signed-off-by: Deepak M --- drivers/gpu/drm/i915/int

[Intel-gfx] [GPIO PATCH 1/2] drm/i915: GPIO for CHT generic MIPI

2016-02-22 Thread Deepak M
From: Yogesh Mohan Marimuthu The GPIO configuration and register offsets are different from baytrail for cherrytrail. Port the gpio programming accordingly for cherrytrail in this patch. v2: Removing the duplication of parsing Cc: Jani Nikula Cc: Ville Syrjälä Signed-off-by: Yogesh Mohan Mari

Re: [Intel-gfx] [PATCH i-g-t v6] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-02-22 Thread Marius Vlad
Hi, I don't know how much sense whould this make: igt_display_t has a universal_plane bool var, can't we have one as well that can be set in igt_display_init() when trying to set the cap? This way in case DRM_CLIENT_CAP_ATOMIC is not enabled an ATOMIC commit can fail ``gracef

Re: [Intel-gfx] [RFCv2 01/14] drm/i915: factor out i915_pvinfo.h

2016-02-22 Thread Joonas Lahtinen
Hi, On to, 2016-02-18 at 19:42 +0800, Zhi Wang wrote: > As the PVINFO page definition is used by both GVT-g guest (vGPU) and GVT-g > host (GVT-g kernel device model), factor it out for better code structure. > > Signed-off-by: Zhi Wang > --- >  drivers/gpu/drm/i915/i915_pvinfo.h | 113 > +++

Re: [Intel-gfx] [PATCH] drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Maarten Lankhorst
Hey, Op 22-02-16 om 12:52 schreef Tvrtko Ursulin: > From: Tvrtko Ursulin > > Not sure if intel_wm_config->num_pipes_active is supposed to > ever be zero when intel_update_watermarks gets called. But > since it can be triggered in early platform bringup perhaps > we want to guard against it rather

Re: [Intel-gfx] [PATCH v5 09/35] drm/i915: Force MMIO flips when scheduler enabled

2016-02-22 Thread John Harrison
So is the summary that currently MMIO flips do not work on some platforms? That could be a problem because the scheduler is intended to be enabled for everything and thus will be forcing MMIO flips on everything. So should I reverse the logic here - only enable the scheduler if MMIO flips are

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Avoid selecting unavailable BSD2 ring

2016-02-22 Thread Patchwork
== Summary == Series 3678v1 drm/i915: Avoid selecting unavailable BSD2 ring http://patchwork.freedesktop.org/api/1.0/series/3678/revisions/1/mbox/ Test drv_getparams_basic: Subgroup basic-eu-total: pass -> FAIL (bsw-nuc-2) pass -> FAIL

Re: [Intel-gfx] [PATCH] drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV

2016-02-22 Thread Imre Deak
On pe, 2016-02-19 at 18:41 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > After we've told the irq code we don't want to handle display irqs > anymore, we must make sure any display irq handling already > kicked off has finished before we actually turn off the power well. >

Re: [Intel-gfx] [REGRESSION] i915: No HDMI output with 4.4

2016-02-22 Thread Oleksandr Natalenko
Ville, Daniel, any additional info I could provide? I have to return dual-link DVI cable back, so let me know if I could reveal more details if necessary. Regards, Oleksandr 16.02.2016 14:54, Daniel Vetter написав: On Tue, Feb 16, 2016 at 12:58:56PM +0200, Oleksandr Natalenko wrote: Ville

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Patchwork
== Summary == Series 3677v1 drm/i915: Avoid divbyzero in modesetting http://patchwork.freedesktop.org/api/1.0/series/3677/revisions/1/mbox/ Test gem_cs_prefetch: Subgroup basic-default: incomplete -> PASS (ilk-hp8440p) Test kms_flip: Subgroup basic-flip-vs-dp

[Intel-gfx] [PATCH] drm/i915: Avoid selecting unavailable BSD2 ring

2016-02-22 Thread Gabriel Feceoru
Return error when I915_EXEC_BSD_RING2 flag is set but BSD2 ring is not available in the HW. Signed-off-by: Gabriel Feceoru --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffe

[Intel-gfx] [PATCH] drm/i915: Avoid divbyzero in modesetting

2016-02-22 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Not sure if intel_wm_config->num_pipes_active is supposed to ever be zero when intel_update_watermarks gets called. But since it can be triggered in early platform bringup perhaps we want to guard against it rather than divide by zero. Signed-off-by: Tvrtko Ursulin Cc: Matt

Re: [Intel-gfx] [PATCH i-g-t v6] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-02-22 Thread Maarten Lankhorst
Op 19-02-16 om 11:08 schreef Pratik Vishwakarma: > From: Mayuresh Gharpure > > Co-Author : Marius Vlad > Co-Author : Pratik Vishwakarma > > So far we have had only two commit styles, COMMIT_LEGACY > and COMMIT_UNIVERSAL. This patch adds another commit style > COMMIT_ATOMIC which makes use of drm

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+

2016-02-22 Thread Patchwork
== Summary == Series 3639v1 Series without cover letter http://patchwork.freedesktop.org/api/1.0/series/3639/revisions/1/mbox/ Test kms_force_connector_basic: Subgroup force-load-detect: dmesg-fail -> FAIL (snb-x220t) fail -> DMESG-FAIL (snb-del

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV

2016-02-22 Thread Patchwork
== Summary == Series 3636v1 drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV http://patchwork.freedesktop.org/api/1.0/series/3636/revisions/1/mbox/ Test kms_force_connector_basic: Subgroup force-load-detect: dmesg-fail -> FAIL (snb-x220t)

[Intel-gfx] [PATCH v3] drm/i915/gen9: Set value of Indirect Context Offset based on gen version

2016-02-22 Thread Michel Thierry
The cache line offset for the Indirect CS context (0x21C8) varies from gen to gen. v2: Move it into a function (Arun), use MISSING_CASE (Chris) v3: Rebased (catched by ci bat) Cc: Arun Siluvery Cc: Chris Wilson Reviewed-by: Arun Siluvery Signed-off-by: Michel Thierry --- drivers/gpu/drm/i915

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/bxt: Remove DSP CLK_GATE programming for BXT (rev2)

2016-02-22 Thread Patchwork
== Summary == Series 3521v2 drm/i915/bxt: Remove DSP CLK_GATE programming for BXT http://patchwork.freedesktop.org/api/1.0/series/3521/revisions/2/mbox/ Test kms_flip: Subgroup basic-flip-vs-modeset: pass -> INCOMPLETE (ilk-hp8440p) UNSTABLE Test kms_force_connector_

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Get the i2c bus number from the ACPI

2016-02-22 Thread Patchwork
== Summary == Series 3628v1 drm/i915: Get the i2c bus number from the ACPI http://patchwork.freedesktop.org/api/1.0/series/3628/revisions/1/mbox/ Test kms_flip: Subgroup basic-flip-vs-dpms: incomplete -> PASS (ilk-hp8440p) UNSTABLE Test kms_force_connector_basic:

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Some FDI related dotclock stuff

2016-02-22 Thread Patchwork
== Summary == Series 3541v1 drm/i915: Some FDI related dotclock stuff http://patchwork.freedesktop.org/api/1.0/series/3541/revisions/1/mbox/ Test kms_flip: Subgroup basic-flip-vs-dpms: dmesg-warn -> PASS (ilk-hp8440p) UNSTABLE Subgroup basic-flip-vs-wf_vblank

[Intel-gfx] ✗ Fi.CI.BAT: failure for Pipe level color management (rev5)

2016-02-22 Thread Patchwork
== Summary == Series 2720v5 Pipe level color management http://patchwork.freedesktop.org/api/1.0/series/2720/revisions/5/mbox/ Test gem_sync: Subgroup basic-render: pass -> INCOMPLETE (ilk-hp8440p) Test gem_tiled_pread_basic: incomplete -> PASS

[Intel-gfx] ✗ Fi.CI.BAT: failure for Add i915_gem_object_vmap

2016-02-22 Thread Patchwork
== Summary == Series 3554v1 Add i915_gem_object_vmap http://patchwork.freedesktop.org/api/1.0/series/3554/revisions/1/mbox/ Test gem_ctx_param_basic: Subgroup basic-default: pass -> DMESG-WARN (bdw-nuci7) Subgroup invalid-param-set: pass

[Intel-gfx] ✗ Fi.CI.BAT: failure for gen9 dmc state harderning (rev2)

2016-02-22 Thread Patchwork
== Summary == Series 3587v2 gen9 dmc state harderning http://patchwork.freedesktop.org/api/1.0/series/3587/revisions/2/mbox/ Test gem_cs_prefetch: Subgroup basic-default: incomplete -> PASS (snb-x220t) Test kms_flip: Subgroup basic-plain-flip:

[Intel-gfx] ✗ Fi.CI.BAT: failure for GPU scheduler for i915 driver

2016-02-22 Thread Patchwork
== Summary == Series 3585v1 GPU scheduler for i915 driver 2016-02-18T14:27:54.467402 http://patchwork.freedesktop.org/api/1.0/series/3585/revisions/1/mbox/ Applying: drm/i915: Add total count to context status debugfs output Repository lacks necessary blobs to fall back on 3-way merge. Cannot fal

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Prevent runaway head from denying hangcheck

2016-02-22 Thread Patchwork
== Summary == Series 3630v1 drm/i915: Prevent runaway head from denying hangcheck http://patchwork.freedesktop.org/api/1.0/series/3630/revisions/1/mbox/ Test kms_force_connector_basic: Subgroup force-load-detect: fail -> DMESG-FAIL (snb-x220t) dmesg-f

[Intel-gfx] ✗ Fi.CI.BAT: warning for series starting with [1/2] drm: Add few more wrapper functions for drm panel

2016-02-22 Thread Patchwork
== Summary == Series 3624v1 Series without cover letter http://patchwork.freedesktop.org/api/1.0/series/3624/revisions/1/mbox/ Test gem_cs_prefetch: Subgroup basic-default: incomplete -> PASS (ilk-hp8440p) Test gem_ctx_param_basic: Subgroup basic-default:

[Intel-gfx] ✗ Fi.CI.BAT: warning for series starting with drm/i915/dsi: Added the generic gpio sequence support and gpio table (rev2)

2016-02-22 Thread Patchwork
== Summary == Series 3623v2 Series without cover letter http://patchwork.freedesktop.org/api/1.0/series/3623/revisions/2/mbox/ Test kms_flip: Subgroup basic-flip-vs-dpms: incomplete -> PASS (ilk-hp8440p) UNSTABLE Test kms_force_connector_basic: Subgroup force

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [Generic,GPIO,1/3] drm/i915/dsi: Added the generic gpio sequence support and gpio table

2016-02-22 Thread Patchwork
== Summary == Series 3623v1 Series without cover letter http://patchwork.freedesktop.org/api/1.0/series/3623/revisions/1/mbox/ Test gem_ctx_param_basic: Subgroup basic-default: incomplete -> PASS (snb-x220t) Subgroup invalid-ctx-get: incomplet

[Intel-gfx] ✗ Fi.CI.BAT: failure for Convert requests to use struct fence (rev3)

2016-02-22 Thread Patchwork
== Summary == Series 1068v3 Convert requests to use struct fence 2016-02-18T14:23:35.102012 http://patchwork.freedesktop.org/api/1.0/series/1068/revisions/3/mbox/ Applying: drm/i915: Convert requests to use struct fence Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall bac

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/atomic: Fix encoder stealing.

2016-02-22 Thread Patchwork
== Summary == Series 3568v1 drm/atomic: Fix encoder stealing. http://patchwork.freedesktop.org/api/1.0/series/3568/revisions/1/mbox/ Test kms_flip: Subgroup basic-flip-vs-dpms: dmesg-warn -> PASS (ilk-hp8440p) UNSTABLE Subgroup basic-flip-vs-modeset:

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Add RPS debugfs disabling for gen6+ platforms

2016-02-22 Thread Patchwork
== Summary == Series 3572v1 drm/i915: Add RPS debugfs disabling for gen6+ platforms http://patchwork.freedesktop.org/api/1.0/series/3572/revisions/1/mbox/ Test drv_module_reload_basic: pass -> DMESG-WARN (ilk-hp8440p) Test kms_flip: Subgroup basic-flip-vs-dpms:

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gen9: Set value of Indirect Context Offset based on gen version (rev2)

2016-02-22 Thread Patchwork
== Summary == Series 3629v2 drm/i915/gen9: Set value of Indirect Context Offset based on gen version 2016-02-19T14:57:22.102741 http://patchwork.freedesktop.org/api/1.0/series/3629/revisions/2/mbox/ Applying: drm/i915/gen9: Set value of Indirect Context Offset based on gen version Repository la

[Intel-gfx] ✗ Fi.CI.BAT: failure for Add i915_gem_object_vmap (rev2)

2016-02-22 Thread Patchwork
== Summary == Series 3554v2 Add i915_gem_object_vmap http://patchwork.freedesktop.org/api/1.0/series/3554/revisions/2/mbox/ Test core_auth: Subgroup basic-auth: pass -> INCOMPLETE (ilk-hp8440p) Test gem_cs_prefetch: Subgroup basic-default: inc

[Intel-gfx] ✗ Fi.CI.BAT: failure for Support for creating/using Stolen memory backed objects (rev10)

2016-02-22 Thread Patchwork
== Summary == Series 659v10 Support for creating/using Stolen memory backed objects 2016-02-19T07:14:23.836239 http://patchwork.freedesktop.org/api/1.0/series/659/revisions/10/mbox/ Applying: drm/i915: Add support for mapping an object page by page Applying: drm/i915: Introduce i915_gem_object_ge

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when power well is down

2016-02-22 Thread Patchwork
== Summary == Series 3599v1 drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when power well is down http://patchwork.freedesktop.org/api/1.0/series/3599/revisions/1/mbox/ Test core_auth: Subgroup basic-auth: pass -> INCOMPLETE (ilk-hp8440p) Test core_prop_

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Before waiting for a vblank update drm frame counter.

2016-02-22 Thread Patchwork
== Summary == Series 3605v1 drm/i915: Before waiting for a vblank update drm frame counter. http://patchwork.freedesktop.org/api/1.0/series/3605/revisions/1/mbox/ Test drv_getparams_basic: Subgroup basic-subslice-total: pass -> INCOMPLETE (snb-x220t) Test drv_hangman

[Intel-gfx] ✗ Fi.CI.BAT: failure for gen9 dmc state harderning (rev3)

2016-02-22 Thread Patchwork
== Summary == Series 3587v3 gen9 dmc state harderning http://patchwork.freedesktop.org/api/1.0/series/3587/revisions/3/mbox/ Test gem_ctx_param_basic: Subgroup basic-default: incomplete -> PASS (snb-x220t) Subgroup invalid-ctx-get: incomplete

Re: [Intel-gfx] [PATCH v5 09/35] drm/i915: Force MMIO flips when scheduler enabled

2016-02-22 Thread Lankhorst, Maarten
Hey, Jesse Barnes schreef op vr 19-02-2016 om 12:01 [-0800]: > On 02/19/2016 11:53 AM, Ville Syrjälä wrote: > > On Fri, Feb 19, 2016 at 11:28:05AM -0800, Jesse Barnes wrote: > >> On 02/18/2016 06:26 AM, john.c.harri...@intel.com wrote: > >>> From: John Harrison > >>> > >>> MMIO flips are the pre

Re: [Intel-gfx] duplicated patch on drm-intel-nightly

2016-02-22 Thread Jani Nikula
On Sat, 20 Feb 2016, Rodrigo Vivi wrote: > We have a duplicated patch on drm-intel-nightly > > commits d7006964d and cc1de6e80 [I snipped the extra trailing 'q' off the 2nd commit id.] > causing: > > drivers/gpu/drm//amd/amdgpu/amdgpu_ttm.c:818:6: error: redefinition of > ‘amdgpu_ttm_tt_affect_u

Re: [Intel-gfx] [PATCH] intel-pstate: Update frequencies of policy->cpus only from ->set_policy()

2016-02-22 Thread Joonas Lahtinen
Hi, This fixes the issue for my machine, we'll try in our CI system, too. CC'd Daniel for that. By R-b and T-b below. On ma, 2016-02-22 at 10:27 +0530, Viresh Kumar wrote: > The intel-pstate driver is using intel_pstate_hwp_set() from two > separate paths, i.e. ->set_policy() callback and sysfs

Re: [Intel-gfx] [PATCH] drm/atomic: Allow for holes in connector state.

2016-02-22 Thread Maarten Lankhorst
Op 19-02-16 om 04:21 schreef Dave Airlie: > On 16 February 2016 at 21:37, Ville Syrjälä > wrote: >> On Mon, Feb 15, 2016 at 02:17:01PM +0100, Maarten Lankhorst wrote: >>> Because we record connector_mask using 1 << drm_connector_index now >>> the connector_mask should stay the same even when other

Re: [Intel-gfx] Bay trail-M N2920 S3 DDI1_BKLTCTL

2016-02-22 Thread Jani Nikula
On Mon, 22 Feb 2016, "shadow.yang" wrote: > The system platform is Bay trail-M N2920. > The DDI1_BKLTCTL has output at S3 resume on WIN7 /8. > but Linux ubuntu 1404 Kernel 3.19 the DDI1_BKLTCTL is no signal at S3 > resume. > > The xrand and dmesg file please reference the attachment. > "dmesg.log"