[Intel-gfx] [PATCH] drm/i915: Modify reset func to handle per engine resets

2016-03-19 Thread Mika Kuoppala
In full gpu reset we prime all engines and reset domains corresponding to each engine. Per engine reset is just a special case of this process wherein only a single engine is reset. This change is aimed to modify relevant functions to achieve this. There are some other steps we carry out in case of

[Intel-gfx] [PATCH v2 0/6] drm/i915/bxt: add dsi transcoders

2016-03-19 Thread Jani Nikula
v2 of adding bxt dsi transcoder support [1], addressing Ville's review, which makes this cleaner. BR, Jani. [1] http://mid.gmane.org/cover.1458070699.git.jani.nik...@intel.com Jani Nikula (6): drm/i915: split get/set pipe timings to timings and src size drm/i915: split set pipeconf to pipeco

Re: [Intel-gfx] [PATCH RESEND 6/7] drm/i915/bios: drop has_mipi in favor of intel_bios_is_dsi_present

2016-03-19 Thread Daniel Vetter
On Wed, Mar 16, 2016 at 12:43:34PM +0200, Jani Nikula wrote: > Favor a single point of truth instead of duplicating the information. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/i915_drv.h | 1 - > drivers/gpu/drm/i915/intel_bios.c | 12 +++- > 2 files changed, 3 insert

Re: [Intel-gfx] [PATCH resend for CI 2/2] drm/i915: Use shorter route to dev_private where possible

2016-03-19 Thread Chris Wilson
On Thu, Mar 17, 2016 at 01:04:10PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Where we have a request we can use req->i915 directly instead > of going through the engine and device. Coccinelle script: > > @@ > function f; > identifier r; > @@ > f(..., struct drm_i915_gem_request *r,

Re: [Intel-gfx] [PATCH 1/3] pinctrl: Intel: add RX invertion config

2016-03-19 Thread Linus Walleij
On Wed, Mar 16, 2016 at 2:34 PM, Daniel Vetter wrote: > On Wed, Mar 16, 2016 at 01:27:49PM +0100, Linus Walleij wrote: >> - What is a HPD interrupt? > > hotplug interrupt, fires when you plug in a cable. > >> - What is a Type-C DP HPD? > > usb type C connector can multiplex both DisplayPort and U

Re: [Intel-gfx] [PATCH] drm/i915: fix sparse warning for using false as NULL

2016-03-19 Thread Jani Nikula
On Wed, 16 Mar 2016, Ville Syrjälä wrote: > On Wed, Mar 16, 2016 at 06:06:58PM +0200, Jani Nikula wrote: >> drivers/gpu/drm/i915/intel_dpll_mgr.c:1200:32: warning: Using plain integer >> as NULL pointer >> >> Fixes: 304b65cbdc8d ("drm/i915: Move SKL/KLB pll selection logic to >> intel_dpll_mgr.

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Drop locking/rpm resume/flush_delayed_work for cur/min/max freq sysfs read

2016-03-19 Thread Imre Deak
On Fri, 2016-03-04 at 21:43 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > cur_freq, min/max_freq_softlimit, efficient_freq are just single > values > stored under dev_priv.rps, so there's no real point in locking, > resuming > the devices and flushing the delayed resume wo

Re: [Intel-gfx] [PATCH 14/21] drm/i915: Use fb modifiers for display tiling decisions

2016-03-19 Thread Matthew Auld
Reviewed-by: Matthew Auld ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] [PATCH 5/8] drm/i915/dsi: clean up the VLV gpio table and definitions

2016-03-19 Thread Jani Nikula
Add some VLV prefixes, remove redundant initialization, etc. No functional changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 60 +++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_

Re: [Intel-gfx] [PATCH 1/2] mm/vmap: Add a notifier for when we run out of vmap address space

2016-03-19 Thread Chris Wilson
On Thu, Mar 17, 2016 at 02:21:40PM +0100, Roman Peniaev wrote: > On Thu, Mar 17, 2016 at 1:57 PM, Chris Wilson > wrote: > > On Thu, Mar 17, 2016 at 01:37:06PM +0100, Roman Peniaev wrote: > >> > + freed = 0; > >> > + blocking_notifier_call_chain(&vmap_notify_list, 0, &freed); > >> > >>

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/bxt: Reversed polarity of PORT_PLL_REF_SEL bit

2016-03-19 Thread dw kim
This error doesn't seem to be related to this specific patch. Similar issue was already filed in Bugzilla a week ago at https://bugs.freedesktop.org/show_bug.cgi?id=94294 On Wed, Mar 16, 2016 at 11:58:28AM +, Patchwork wrote: > == Series Details == > > Series: drm/i915/bxt: Reversed polarity

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/bxt: Fix off-by-one error in Broxton PLL IDs (rev3)

2016-03-19 Thread Daniel Vetter
On Wed, Mar 16, 2016 at 4:50 PM, Jani Nikula wrote: > On Wed, 16 Mar 2016, Daniel Vetter wrote: >> [ text/plain ] >> On Wed, Mar 16, 2016 at 02:37:24PM +0200, Tomi Sarvela wrote: >>> On Wednesday 16 March 2016 10:48:43 Imre Deak wrote: >>> > Tomi, noticed two things that maybe infrastructure rela

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/bxt: Fix off-by-one error in Broxton PLL IDs (rev3)

2016-03-19 Thread Tomi Sarvela
On Thursday 17 March 2016 18:00:52 Takashi Iwai wrote: ... > > CI_DRM_1147 git://anongit.freedesktop.org/drm-intel > > dbbc6d276864d7b7a3a1edb04f0511153f9c3852 > > > > Note that drm-intel-nightly history changes, so the exact commits might > > not be there any more. > > Well, I have no internal

[Intel-gfx] [PATCH 3/4] drm/i915: Rename local struct intel_ringbuffer variables

2016-03-19 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Majority of the code calls these ringbuf so fix up a few places which use something else to be consistent. Coccinelle script of: @@ expression E; identifier r; @@ - struct intel_ringbuffer *r = E; + struct intel_ringbuffer *ringbuf = E; <+... - r + ringbuf ...+> @@ identifi

[Intel-gfx] [PATCH 2/6] drm/i915: Allow passing any known pointer to for_each_engine()

2016-03-19 Thread Chris Wilson
Rather than require the user to grab a drm_i915_private, allow them to pass anything that we know how to derive such a pointer user to_i915() Note this fixes a macro bug in for_each_engine_masked() which was not using its dev_priv__ parameter. Signed-off-by: Chris Wilson Cc: Mika Kuoppala ---

Re: [Intel-gfx] [PATCH 1/3] drm/i915/gtt: Reference mappable_end variable from pointer

2016-03-19 Thread Chris Wilson
On Fri, Mar 18, 2016 at 09:53:08AM +0200, Joonas Lahtinen wrote: > Reference variable value from pointer, not assumed pointer destination. > > Since: > > commit c44ef60e437019b8ca1dab8b4d2e8761fd4ce1e9 > Author: Mika Kuoppala > Date: Thu Jun 25 18:35:05 2015 +0300 > > drm/i915/gtt: Allow

Re: [Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: add another virtual PCH bridge for passthrough support

2016-03-19 Thread Jesse Barnes
On 03/17/2016 05:31 AM, Patchwork wrote: > == Series Details == > > Series: drm/i915: add another virtual PCH bridge for passthrough support > URL : https://patchwork.freedesktop.org/series/4539/ > State : warning > > == Summary == > > Series 4539v1 drm/i915: add another virtual PCH bridge for

[Intel-gfx] [PATCH 2/3] drm/i915/tdr: Prepare error handler to accept mask of hung engines

2016-03-19 Thread Arun Siluvery
In preparation for engine reset, the wedged argument of i915_handle_error() is extended to reflect as a mask of engines that are hung. This is further passed down to error state capture functions which are also updated. Engine reset recovery mechanism uses this mask and schedules recovery work for

[Intel-gfx] [PATCH v3 07/19] drm/i915: Move load time gem_load_init earlier

2016-03-19 Thread Imre Deak
The only steps requiring device access is the fence and swizzling initialization, so split these out keeping them in their current place and move the rest of init steps earlier. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/i915_dma.c | 13 - drivers/gpu/drm/i915/i915_drv.h | 1

Re: [Intel-gfx] [PATCH 2/2] igt/gem_stolen: No support for stolen backed objects if Intel RST present

2016-03-19 Thread Chris Wilson
On Thu, Mar 17, 2016 at 11:52:50AM +0530, ankitprasad.r.sha...@intel.com wrote: > From: Ankitprasad Sharma > > Skip gem_stolen and pread/pwrite on stolen backed objects if Intel > RST device is present. This has to be checking for kernel support of user stolen nothing else. -Chris -- Chris Wil

[Intel-gfx] [PATCH v2 0/9] drm/i915/dsi: improved gpio element support for vlv/chv/bxt

2016-03-19 Thread Jani Nikula
Next iteration after [1]. Plenty of changes around VLV macros and tables. I wish I could get my hands on a CHV gpio table spec. BXT is included. BR, Jani. [1] http://mid.gmane.org/cover.1458226863.git.jani.nik...@intel.com Jani Nikula (8): drm/i915/dsi: refer to gpio index instead of gpio to

[Intel-gfx] [PATCH v3 01/19] Fix MCHBAR cleanup on the driver init error path

2016-03-19 Thread Imre Deak
MCHBAR is cleaned up in i915_mmio_cleanup(), so the separate call in i915_driver_load() is incorrect. CC: David Weinehall Fixes: ad5c3d3ffbb2 ("drm/i915: Move MCHBAR setup earlier during init") Signed-off-by: Imre Deak Reviewed-by: David Weinehall --- drivers/gpu/drm/i915/i915_dma.c | 1 - 1 f

[Intel-gfx] [PATCH 6/8] drm/i915/dsi: add support for sequence block v3 gpio for VLV

2016-03-19 Thread Jani Nikula
From: Deepak M Currently all gpio indices we support (via the gpio table) fall in NC anyway, but prepare for bigger indices. [Rewritten by Jani, based on earlier work by Deepak.] Signed-off-by: Deepak M Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 16 ++

Re: [Intel-gfx] Information about Intel_GPU_TOP tool

2016-03-19 Thread Martinez Rodriguez, Sergio
Hi Adolfo! We are working in a tool related to performance analysis called Gputop. It is not "Intel Gputop" which is an old project that has quite a few limitations. Depending on what you are trying to achieve Gputop could be a better tool at this moment, although it requires more setup. You c

<    1   2   3   4