[Intel-gfx] drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-24 Thread Chuansheng Liu
In our platform, we hit the the stolen region initialization failure case, such as below log: [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0x7b00] And it causes the dev_priv-mm.stolen_base is NULL, in this case, we should avoid accessing it any more. Here is

Re: [Intel-gfx] HPD flood warning since b8f102e8b

2013-10-24 Thread Jiri Kosina
On Mon, 21 Oct 2013, Egbert Eich wrote: On Thu, 3 Oct 2013, Daniel Vetter wrote: Can you please attach full dmesg from boot up to the first WARN with drm.debug=0xe? This really shouldn't happen and indicates a bug somewhere ... A bit difficult ... I originally thought

Re: [Intel-gfx] [PATCH v5 0/4] Fix Win8 backlight issue

2013-10-24 Thread Aaron Lu
On 10/16/2013 07:33 AM, Rafael J. Wysocki wrote: On Friday, October 11, 2013 09:27:42 PM Aaron Lu wrote: v5: 1 Introduce video.use_native_backlight module parameter and set its value to false by default as suggested by Rafael. For Win8 systems which have broken ACPI video backlight

[Intel-gfx] [QA] Testing report for `drm-intel-testing` (was: Updated -next) on ww43

2013-10-24 Thread Yang, Guang A
Summary We covered the platform: Baytrail-M, Haswell mobile, HSW desktop, HSW ULT, IvyBridge, SandyBridge, IronLake. In this circle, 10 new bugs are filed, 35 bugs are still opened, no WONTFIX bugs, 2 NOTABUG bugs, 1 NOTOURBUG bugs, 1 Duplicated bugs, no REOPENED bugs, 4 bugs are fixed, 4 bugs

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Add more dev ops for MIPI sub encoder

2013-10-24 Thread Jani Nikula
On Thu, 24 Oct 2013, Shobhit Kumar shobhit.ku...@intel.com wrote: On 10/23/2013 07:52 PM, Jani Nikula wrote: So I think let's keep trying to find the right abstractions to separate the DSI core and the panel drivers, make it possible to support several panels with one driver, and make it

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: set HDMI pixel clock in audio configuration

2013-10-24 Thread Jasper Smet
Although i know it also happens in windows, the one particular thing i am 'fiddling' with is that when i try the receiver with an nvidia or amd apu (ion, e-450 trough hdmi) with my pioneer receiver audio works fine with 44100hz at the 1080p@50/60 modes. Only with intel i need to force upstreaming

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Add more dev ops for MIPI sub encoder

2013-10-24 Thread Shobhit Kumar
On 10/24/2013 01:54 PM, Jani Nikula wrote: On Thu, 24 Oct 2013, Shobhit Kumar shobhit.ku...@intel.com wrote: On 10/23/2013 07:52 PM, Jani Nikula wrote: So I think let's keep trying to find the right abstractions to separate the DSI core and the panel drivers, make it possible to support

Re: [Intel-gfx] drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-24 Thread Chris Wilson
On Fri, Oct 25, 2013 at 12:33:47AM +0800, Chuansheng Liu wrote: In our platform, we hit the the stolen region initialization failure case, such as below log: [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0x7b00] And it causes the dev_priv-mm.stolen_base

Re: [Intel-gfx] HPD flood warning since b8f102e8b

2013-10-24 Thread Jiri Kosina
On Thu, 24 Oct 2013, Jiri Kosina wrote: I have this: [357128.184113] [drm] HPD interrupt storm detected on connector DP-3: switching from hotplug detection to polling It appeared in the log approximately 5 seconds after resume has been completed. Okay, and it just happened during

Re: [Intel-gfx] gem_render_copy

2013-10-24 Thread Damien Lespiau
On Wed, Oct 23, 2013 at 04:05:11PM +0100, Damien Lespiau wrote: A few moons ago, Chris suggested to create a small, standalone, render copy test to add aub file support and help enabling new platforms instead of hijacking gem_render_linear_blits. So here it is. A whole day without comment,

Re: [Intel-gfx] [PATCH] drm/i915: Sanitize the PPT fdi lane bifurcate state on ivb

2013-10-24 Thread Daniel Vetter
On Wed, Oct 23, 2013 at 12:58 PM, Ville Syrjälä ville.syrj...@linux.intel.com wrote: I'm thinking the crtc-base.enabled check is actually pointless. AFAICS we should never get here with crtc-base.enabled==false and crtc-active==true Hm yeah. I was kinda shooting for the minimal thing here.

Re: [Intel-gfx] HPD flood warning since b8f102e8b

2013-10-24 Thread Egbert Eich
Jiri Kosina writes: On Mon, 21 Oct 2013, Egbert Eich wrote: On Thu, 3 Oct 2013, Daniel Vetter wrote: Can you please attach full dmesg from boot up to the first WARN with drm.debug=0xe? This really shouldn't happen and indicates a bug somewhere ... A bit

Re: [Intel-gfx] HPD flood warning since b8f102e8b

2013-10-24 Thread Jiri Kosina
On Thu, 24 Oct 2013, Egbert Eich wrote: Can you please attach full dmesg from boot up to the first WARN with drm.debug=0xe? This really shouldn't happen and indicates a bug somewhere ... A bit difficult ... I originally thought that it was reliably

[Intel-gfx] Using render nodes in i-g-t

2013-10-24 Thread Damien Lespiau
Hi, This small series add the possibility for a test to ask for a render device. This allows us to run render tests as a regular users. -- Damien ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org

[Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
I was fedup with having to run my tests as root and not being able to use my usual setup for tests that only exercise the GT part of the GPU. Render nodes to the rescue! Signed-off-by: Damien Lespiau damien.lesp...@intel.com --- lib/drmtest.c | 58

[Intel-gfx] [PATCH 4/5] tests/gem_render_copy: Use render nodes

2013-10-24 Thread Damien Lespiau
Signed-off-by: Damien Lespiau damien.lesp...@intel.com --- tests/gem_render_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_render_copy.c b/tests/gem_render_copy.c index 40c37f4..e481733 100644 --- a/tests/gem_render_copy.c +++ b/tests/gem_render_copy.c @@

[Intel-gfx] [PATCH 5/5] tests: Convert the ctx test to use render nodes when possible

2013-10-24 Thread Damien Lespiau
Signed-off-by: Damien Lespiau damien.lesp...@intel.com --- tests/gem_ctx_bad_destroy.c | 2 +- tests/gem_ctx_bad_exec.c| 2 +- tests/gem_ctx_basic.c | 4 ++-- tests/gem_ctx_create.c | 2 +- tests/gem_ctx_exec.c| 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff

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

2013-10-24 Thread Daniel Vetter
Hi Dave, drm-intel-next-2013-10-18: - CRC support from Damien and He Shuang. Long term this should allow us to test an awful lot modesetting corner cases automatically. So for me as the maintainer this is really big. - HDMI audio fix from Jani. - VLV dpll computation code refactoring from

[Intel-gfx] [PATCH 1/4] drm/i915: Remove WaFbcDisableDpfcClockGating on IVB

2013-10-24 Thread Ben Widawsky
Production IVB does not need it. I confirmed this with Art. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/intel_pm.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index d4dd543..33ad028

[Intel-gfx] [PATCH 2/4] drm/i915: Remove WaFbcDisableDpfcClockGating on HSW

2013-10-24 Thread Ben Widawsky
Production HSW does not need it. I confirmed this with Art. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/i915_reg.h | 3 --- drivers/gpu/drm/i915/intel_pm.c | 10 -- 2 files changed, 13 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH 3/4] drm/i915: WaFbcDisableDpfcrClockGating only with fbc

2013-10-24 Thread Ben Widawsky
We were turning this on for ILK regardless of whether or not we use FBC. We can save the slightest amount of power if we don't disable it when not using FBC. The workaround should be bit 8 for ILK. Notice it is 1 bit difference from SNB. This is actually DPFCR unit as we've defined it.

[Intel-gfx] [PATCH 4/4] drm/i915: WaFbcDisableDpfcClockGating only with fbc

2013-10-24 Thread Ben Widawsky
We were turning this on for SNB regardless of whether or not we use FBC. We can save the slightest amount of power if we don't disable it when not using FBC. The workaround should be bit 9 for SNB. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/intel_pm.c | 25

[Intel-gfx] [PATCH] drm/i915: HSW GT3 Slices: exec flag to warn kernel that userspace is using predication

2013-10-24 Thread Rodrigo Vivi
If Userspace isn't using MI_PREDICATE all slices must be enabled for backward compatibility. If I915_EXEC_USE_PREDICATE isn't set and defaul is set to half, kernel will force all slices on. v2: fix the inverted logic for backwards compatibility USE_PREDICATE unset force gt_full when defaul

Re: [Intel-gfx] drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-24 Thread Ben Widawsky
On Thu, Oct 24, 2013 at 01:17:06PM +0100, Chris Wilson wrote: On Fri, Oct 25, 2013 at 12:33:47AM +0800, Chuansheng Liu wrote: In our platform, we hit the the stolen region initialization failure case, such as below log: [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen

Re: [Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
On Thu, Oct 24, 2013 at 01:43:22PM -0700, Ben Widawsky wrote: On Thu, Oct 24, 2013 at 03:40:54PM +0100, Damien Lespiau wrote: I was fedup with having to run my tests as root and not being able to use my usual setup for tests that only exercise the GT part of the GPU. Render nodes to the

Re: [Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
On Thu, Oct 24, 2013 at 10:01:21PM +0100, Damien Lespiau wrote: On Thu, Oct 24, 2013 at 01:43:22PM -0700, Ben Widawsky wrote: On Thu, Oct 24, 2013 at 03:40:54PM +0100, Damien Lespiau wrote: I was fedup with having to run my tests as root and not being able to use my usual setup for tests

Re: [Intel-gfx] [PATCH igt] module_reload: remove snd_hda_intel

2013-10-24 Thread Ben Widawsky
On Wed, Oct 23, 2013 at 09:42:06PM +0300, Jani Nikula wrote: On Wed, 23 Oct 2013, Paulo Zanoni przan...@gmail.com wrote: 2013/10/23 Ben Widawsky b...@bwidawsk.net: On Mon, Oct 21, 2013 at 11:56:09AM -0200, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com The audio driver

Re: [Intel-gfx] drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-24 Thread Liu, Chuansheng
Hello Chris and Ben, -Original Message- From: Ben Widawsky [mailto:b...@bwidawsk.net] Sent: Friday, October 25, 2013 4:57 AM To: Chris Wilson; Liu, Chuansheng; daniel.vet...@ffwll.ch; airl...@linux.ie; intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org;

[Intel-gfx] [PATCH v3] drm/i915/vlv: enable HDA display audio for Valleyview2

2013-10-24 Thread mengdong . lin
From: Mengdong Lin mengdong@intel.com This patch defines HD-Audio configuration registers and enables display audio from HDA controller for Valleyview2. Signed-off-by: Mengdong Lin mengdong@intel.com Reviewed-by: Jesse Barnes jbar...@virtuousgeek.org diff --git

[Intel-gfx] [PATCH] drm/i915: Make the vlv_dpio_read/vlv_dpio_write more PHY centric

2013-10-24 Thread Chon Ming Lee
vlv_dpio_read/write should be describe more in PHY centric instead of display controller centric. Create a enum dpio_channel for channel index and enum dpio_phy for PHY index. This should better to gather for upcoming platform. Suggested-by: Ville Syrjälä ville.syrj...@linux.intel.com

Re: [Intel-gfx] Patch for crashing intel server

2013-10-24 Thread Bas Wijnen
On Wed, Oct 23, 2013 at 09:28:28AM +0100, Chris Wilson wrote: No worries, if you can run addr2line -e /usr/lib/xorg/modules/drivers/intel_drv.so -i 0xfcd79 0xf8215 that should give me the information needed to pinpoint the crash. $ addr2line -e /usr/lib/xorg/modules/drivers/intel_drv.so -i