[Intel-gfx] [PATCH 1/8] drm/i915: Fixed point fixed16 wrapper cleanup

2017-07-18 Thread Mahesh Kumar
From: "Kumar, Mahesh" As per suggestion from Jani, cleanup the code. Cleanup includes - Instead of left shifting & check, compare with U32/16_MAX - Use typecast instead of clamp_t Signed-off-by: Mahesh Kumar Cc: Jani Nikula Reviewed-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.h | 14

[Intel-gfx] [PATCH 0/8] Fixed16.16 wrapper cleanup & wm optimization

2017-07-18 Thread Mahesh Kumar
This series Include patches for: clean fixed16.16 wrappers optimize wm calculation code enable/Implement trans wm calculation create a DebugFS entry for IPC status Mahesh Kumar (8): drm/i915: Fixed point fixed16 wrapper cleanup drm/i915/skl+: Optimize WM calcula

Re: [Intel-gfx] [PATCH v3 0/2] Handle unsupported configuration with IF-ID

2017-07-18 Thread Mahesh Kumar
Hi Daniel, On Monday 17 July 2017 12:56 PM, Daniel Vetter wrote: On Fri, Jun 30, 2017 at 05:40:58PM +0530, Mahesh Kumar wrote: Gen9+ Interlace fetch mode doesn't support few plane configurations & pipe scaling. - Y-tile - 90/270 rotation - pipe/plane scaling - 420 planar formats Do w

Re: [Intel-gfx] ✓ Fi.CI.BAT: success for net/sch_generic: Shut up noise

2017-07-18 Thread Daniel Vetter
On Tue, Jul 18, 2017 at 11:14:35AM -, Patchwork wrote: > == Series Details == > > Series: net/sch_generic: Shut up noise > URL : https://patchwork.freedesktop.org/series/27475/ > State : success > > == Summary == > > Series 27475v1 net/sch_generic: Shut up noise > https://patchwork.freedes

Re: [Intel-gfx] [PATCH] drm/i915: Synchronize connectors states when switching from poll to irq

2017-07-18 Thread Paul Kocialkowski
On Mon, 2017-06-26 at 15:32 +0300, Paul Kocialkowski wrote: > After detecting an IRQ storm, hotplug detection will switch from > irq-based detection to poll-based detection. After a short delay or > when resetting storm detection from debugfs, detection will switch > back to being irq-based. > > H

Re: [Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Lionel Landwerlin
On 18/07/17 08:51, Zhenyu Wang wrote: In order to support profiling for special context e.g vGPU context, we can expose vGPU context hw id and enable i915 perf property to get target context for profiling. This adds new perf property to assign target context with hw id. Jiao Pengyuan has helped

Re: [Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Lionel Landwerlin
On 18/07/17 12:34, Chris Wilson wrote: Quoting Lionel Landwerlin (2017-07-18 12:30:10) Looks fine to me, down there a couple of suggestions. Cheers, - Lionel On 18/07/17 08:51, Zhenyu Wang wrote: In order to support profiling for special context e.g vGPU context, we can expose vGPU context h

Re: [Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Chris Wilson
Quoting Lionel Landwerlin (2017-07-18 12:30:10) > Looks fine to me, down there a couple of suggestions. > > Cheers, > > - > Lionel > > On 18/07/17 08:51, Zhenyu Wang wrote: > > In order to support profiling for special context e.g vGPU context, > > we can expose vGPU context hw id and enable i91

Re: [Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Lionel Landwerlin
On 18/07/17 08:51, Zhenyu Wang wrote: In order to support profiling for special context e.g vGPU context, we can expose vGPU context hw id and enable i915 perf property to get target context for profiling. This adds new perf property to assign target context with hw id. Jiao Pengyuan has helped

Re: [Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Lionel Landwerlin
Looks fine to me, down there a couple of suggestions. Cheers, - Lionel On 18/07/17 08:51, Zhenyu Wang wrote: In order to support profiling for special context e.g vGPU context, we can expose vGPU context hw id and enable i915 perf property to get target context for profiling. This adds new per

Re: [Intel-gfx] [PATCH xf86-video-intel] legacy/i810: remove unused numVisualConfigs

2017-07-18 Thread Chris Wilson
Quoting Emil Velikov (2017-07-17 14:25:32) > From: Emil Velikov > > Cc: Chris Wilson > Signed-off-by: Emil Velikov Unused since commit 938ef4eaec0e406e198105d866f6d2a1be5e0ef8 Author: Kristian Høgsberg Date: Wed Jul 28 07:57:42 2010 -0400 legacy: Remove long gone use of GlxSetVisualC

Re: [Intel-gfx] [PATCH] drm/i915: Explicit the connector name for DP link training result

2017-07-18 Thread Paul Kocialkowski
Hey, On Tue, 2017-07-18 at 10:38 +0300, Jani Nikula wrote: > On Mon, 17 Jul 2017, Paul Kocialkowski com> wrote: > > This adds the connector name when printing a debug message about the > > DP > > link training result. It is useful to figure out what connector is > > failing when multiple DP conne

[Intel-gfx] ✓ Fi.CI.BAT: success for net/sch_generic: Shut up noise

2017-07-18 Thread Patchwork
== Series Details == Series: net/sch_generic: Shut up noise URL : https://patchwork.freedesktop.org/series/27475/ State : success == Summary == Series 27475v1 net/sch_generic: Shut up noise https://patchwork.freedesktop.org/api/1.0/series/27475/revisions/1/mbox/ Test gem_exec_suspend:

Re: [Intel-gfx] [PATCH v4 3/3] drm/i915: Implement I915_PERF_ADD/REMOVE_CONFIG interface

2017-07-18 Thread Matthew Auld
On 07/17, Lionel Landwerlin wrote: > The motivation behind this new interface is expose at runtime the > creation of new OA configs which can be used as part of the i915 perf > open interface. This will enable the kernel to learn new configs which > may be experimental, or otherwise not part of the

Re: [Intel-gfx] [PATCH] drm/i915: Fix cursor updates on some platforms

2017-07-18 Thread Daniel Vetter
On Mon, Jul 17, 2017 at 12:42:18PM +0200, Paul Menzel wrote: > Dear Ville, > > > On 07/14/17 17:52, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Turns out that just writing CURPOS isn't sufficient to move the cursor > > on some platforms. My 830 works just fine, but eg.

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

2017-07-18 Thread Daniel Vetter
Hi Dave, drm-intel-next-2017-07-17: 2nd round of 4.14 features: - prep for deferred fbdev setup - refactor fixed 16.16 computations and skl+ wm code (Mahesh Kumar) - more cnl paches (Rodrigo, Imre et al) - tighten context cleanup and handling (Chris Wilson) - fix interlaced handling on skl+ (Mahe

[Intel-gfx] [PATCH] net/sch_generic: Shut up noise

2017-07-18 Thread Daniel Vetter
We can't allow spam in CI. References: https://bugzilla.kernel.org/show_bug.cgi?id=196399 Acked-by: Martin Peres Cc: Martin Peres Signed-off-by: Daniel Vetter --- net/sched/sch_generic.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/sched/sch_generic.c b/net/sch

Re: [Intel-gfx] [dim PATCH] dim: restore cd in update_rerere_cache()

2017-07-18 Thread Jani Nikula
On Tue, 18 Jul 2017, Archit Taneja wrote: > On 07/18/2017 01:20 PM, Daniel Vetter wrote: >> On Tue, Jul 18, 2017 at 10:15:25AM +0300, Jani Nikula wrote: >>> The refactoring dropped a cd to the drm-rerere dir, leading to "cp: >>> cannot stat 'rr-cache/*': No such file or directory" on dim ub. >>> >

Re: [Intel-gfx] [PATCH] drm/i915: Fix cursor updates on some platforms

2017-07-18 Thread Paul Menzel
Dear Ville, On 07/14/17 17:52, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä Turns out that just writing CURPOS isn't sufficient to move the cursor on some platforms. My 830 works just fine, but eg. 945 and PNV don't. On those platforms we need to arm even the CURPOS update with a

Re: [Intel-gfx] [RFC PATCH 4/4] drm/i915: push DDI FDI link training on enable to CRT encoder

2017-07-18 Thread Daniel Vetter
On Wed, Jul 12, 2017 at 05:08:53PM +0300, Jani Nikula wrote: > Signed-off-by: Jani Nikula Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/i915/intel_crt.c | 2 ++ > drivers/gpu/drm/i915/intel_display.c | 3 --- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers

Re: [Intel-gfx] [RFC PATCH 3/4] drm/i915: push DDI underrun reporting on enable to encoder

2017-07-18 Thread Daniel Vetter
On Wed, Jul 12, 2017 at 05:08:52PM +0300, Jani Nikula wrote: > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_ddi.c | 8 > drivers/gpu/drm/i915/intel_display.c | 5 + > 2 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_dd

Re: [Intel-gfx] [RFC PATCH 2/4] drm/i915: push DDI CRT underrun reporting on disable to encoder

2017-07-18 Thread Daniel Vetter
On Wed, Jul 12, 2017 at 05:08:51PM +0300, Jani Nikula wrote: > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_crt.c | 14 ++ > drivers/gpu/drm/i915/intel_display.c | 8 > 2 files changed, 14 insertions(+), 8 deletions(-) > > diff --git a/drivers/gpu/drm/i

Re: [Intel-gfx] [RFC PATCH 1/4] drm/i915: push DDI CRT underrun reporting on enable to encoder

2017-07-18 Thread Daniel Vetter
On Wed, Jul 12, 2017 at 05:08:50PM +0300, Jani Nikula wrote: > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_crt.c | 44 > > drivers/gpu/drm/i915/intel_display.c | 16 + > 2 files changed, 45 insertions(+), 15 deletions(-) > >

[Intel-gfx] ✗ Fi.CI.BAT: failure for Enable OA perf for vGPU

2017-07-18 Thread Patchwork
== Series Details == Series: Enable OA perf for vGPU URL : https://patchwork.freedesktop.org/series/27474/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated

Re: [Intel-gfx] [dim PATCH] dim: restore cd in update_rerere_cache()

2017-07-18 Thread Archit Taneja
On 07/18/2017 01:20 PM, Daniel Vetter wrote: On Tue, Jul 18, 2017 at 10:15:25AM +0300, Jani Nikula wrote: The refactoring dropped a cd to the drm-rerere dir, leading to "cp: cannot stat 'rr-cache/*': No such file or directory" on dim ub. Reported-by: Archit Taneja Fixes: 599eb3db59c9 ("dim:

[Intel-gfx] [RFC PATCH 2/2] drm/i915/gvt: expose vGPU context hw id

2017-07-18 Thread Zhenyu Wang
This exposes vGPU context hw id in mdev sysfs which is used to do vGPU based profiling. Retrieved vGPU context hw id can be set through i915 perf ioctl to set profiling for target vGPU. Cc: Jiao, Pengyuan Cc: Niu, Bing Cc: Lionel Landwerlin Cc: intel-gvt-...@lists.freedesktop.org Signed-off-by:

[Intel-gfx] [RFC PATCH 1/2] drm/i915: Add perf property support for context HW id

2017-07-18 Thread Zhenyu Wang
In order to support profiling for special context e.g vGPU context, we can expose vGPU context hw id and enable i915 perf property to get target context for profiling. This adds new perf property to assign target context with hw id. Jiao Pengyuan has helped to fix context reference bug in original

[Intel-gfx] [RFC PATCH 0/2] Enable OA perf for vGPU

2017-07-18 Thread Zhenyu Wang
This is to enable OA based profiling for vGPU context which try to expose vGPU hw id and make i915 perf utilize it for target single context based profiling. Zhenyu Wang (2): drm/i915: Add perf property support for context HW id drm/i915/gvt: expose vGPU context hw id drivers/gpu/drm/i915/gv

Re: [Intel-gfx] [dim PATCH] dim: restore cd in update_rerere_cache()

2017-07-18 Thread Daniel Vetter
On Tue, Jul 18, 2017 at 10:15:25AM +0300, Jani Nikula wrote: > The refactoring dropped a cd to the drm-rerere dir, leading to "cp: > cannot stat 'rr-cache/*': No such file or directory" on dim ub. > > Reported-by: Archit Taneja > Fixes: 599eb3db59c9 ("dim: Move all rerere updating into helpers")

Re: [Intel-gfx] [PATCH] drm/i915: Explicit the connector name for DP link training result

2017-07-18 Thread Jani Nikula
On Mon, 17 Jul 2017, Paul Kocialkowski wrote: > This adds the connector name when printing a debug message about the DP > link training result. It is useful to figure out what connector is > failing when multiple DP connectors are used. Perhaps more consistent would be using a prefix like this:

[Intel-gfx] [dim PATCH] dim: restore cd in update_rerere_cache()

2017-07-18 Thread Jani Nikula
The refactoring dropped a cd to the drm-rerere dir, leading to "cp: cannot stat 'rr-cache/*': No such file or directory" on dim ub. Reported-by: Archit Taneja Fixes: 599eb3db59c9 ("dim: Move all rerere updating into helpers") Cc: Daniel Vetter Cc: Sean Paul Signed-off-by: Jani Nikula --- dim

Re: [Intel-gfx] [PATCH] drm: Don't complain too much about struct_mutex.

2017-07-18 Thread Daniel Vetter
On Sat, Jul 15, 2017 at 12:02:47PM +0100, Chris Wilson wrote: > Quoting Daniel Vetter (2017-07-15 10:53:28) > > For modern drivers the DRM core doesn't use struct_mutex at all, which > > means it's defacto a driver-private lock. But since we still need it > > for legacy drivers we can't initialize

<    1   2