Re: [Intel-gfx] [PATCH 0/4 V7] Power-well API implementation for Haswell

2013-07-08 Thread Wang xingchao
On Sat, Jul 06, 2013 at 08:20:59AM +0200, Takashi Iwai wrote: drm-intel-next. I'll show up in the next linux-next and I'll forward it to Dave for mergin into drm-next in roughly 2 weeks. So today I unblacklisted the audio modules on one of my Haswell machines and booted

Re: [Intel-gfx] [PATCH 3/3] i915: Don't provide ACPI backlight interface if firmware expects Windows 8

2013-07-08 Thread Aaron Lu
On 07/07/2013 09:19 PM, Rafael J. Wysocki wrote: OK, the patch is appended. Please have a look and tell me what you think. Thanks, Rafael --- From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

Re: [Intel-gfx] [PATCH 0/4 V7] Power-well API implementation for Haswell

2013-07-08 Thread Takashi Iwai
At Sun, 7 Jul 2013 19:59:33 -0400, Wang xingchao wrote: On Sat, Jul 06, 2013 at 08:20:59AM +0200, Takashi Iwai wrote: drm-intel-next. I'll show up in the next linux-next and I'll forward it to Dave for mergin into drm-next in roughly 2 weeks. So today I

Re: [Intel-gfx] [PATCH] drm/intel: add enable_psr module option

2013-07-08 Thread Paulo Zanoni
2013/6/28 Rodrigo Vivi rodrigo.v...@gmail.com: PSR is enabled by default but can be disabled. v2: prefer seq_puts to seq_printf detected by Paulo Zanoni. Signed-off-by: Rodrigo Vivi rodrigo.v...@gmail.com --- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ drivers/gpu/drm/i915/i915_drv.c

Re: [Intel-gfx] [PATCH] drm/i915: Add functions to force psr exit

2013-07-08 Thread Paulo Zanoni
2013/6/28 Rodrigo Vivi rodrigo.v...@gmail.com: PSR tracking engine in HSW doesn't detect automagically some directly copy area operations through scanout so we will have to kick it manually and reschedule it to come back to normal operation as soon as possible. v2: Before PSR Hook. Don't

Re: [Intel-gfx] [PATCH] drm/i915: Hook PSR functionality

2013-07-08 Thread Paulo Zanoni
2013/7/1 Rodrigo Vivi rodrigo.v...@gmail.com: PSR must be enabled after transcoder and port are running. And it is only available for HSW. v2: move enable/disable to intel_ddi v3: The spec suggests PSR should be disabled even before backlight (by pzanoni) v4: also disabling and enabling

[Intel-gfx] RFC: drm/1915: Resource streamer initial support

2013-07-08 Thread Abdiel Janulgue
Daniel Vetter suggested at some point we need to implement getparam ioctl so userspace can figure out whether kernel supports RS at runtime. For now, this will do to support the corresponding RFC mesa patches. Based on the work of: Lukasz Anaczkowski lukasz.anaczkow...@intel.com Abdiel Janulgue

[Intel-gfx] [PATCH 1/2] drm/i915/hsw: Expose resource streamer control flags

2013-07-08 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- drivers/gpu/drm/i915/i915_gem_execbuffer.c |2 ++ include/uapi/drm/i915_drm.h|1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c

[Intel-gfx] [PATCH 2/2] drm/i915/hsw: Enable resource streamer bit on MI_BATCH_BUFFER_START

2013-07-08 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_ringbuffer.c |6 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [RFC libdrm PATCH] intel: Add support for resource streamer

2013-07-08 Thread Abdiel Janulgue
Expose defines for resource streamer controls. Based on the work of: Lukasz Anaczkowski lukasz.anaczkow...@intel.com Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- include/drm/i915_drm.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/i915_drm.h

Re: [Intel-gfx] [PATCH] drm/i915: convert debugfs creation/destruction to table

2013-07-08 Thread Paulo Zanoni
2013/7/5 Daniel Vetter dan...@ffwll.ch: On Fri, Jul 05, 2013 at 12:29:14PM -0700, Ben Widawsky wrote: On Thu, Jul 04, 2013 at 08:49:44PM +0200, Daniel Vetter wrote: At least for the common cases where we only need special file operations. The forcewake file is still rather more special.

Re: [Intel-gfx] [PATCH 01/14] drm/i915: extract ibx_display_interrupt_update

2013-07-08 Thread Paulo Zanoni
2013/7/4 Daniel Vetter daniel.vet...@ffwll.ch: This way all changes to SDEIMR all go through the same function, with the exception of the (single-threaded) setup/teardown code. For paranoia again add an assert_spin_locked. v2: For even more paranoia also sprinkle a spinlock assert over

Re: [Intel-gfx] [PATCH 02/14] drm/i915: improve SERR_INT clearing for fifo underrun reporting

2013-07-08 Thread Paulo Zanoni
2013/7/4 Daniel Vetter daniel.vet...@ffwll.ch: The current code won't report any fifo underruns on cpt if just one pipe has fifo underrun reporting disabled. We can't enable the interrupts, but we can still check the per-transcoder bits and so report the underrun delayed if: - We always clear

Re: [Intel-gfx] [PATCH] drm/i915: Hook PSR functionality

2013-07-08 Thread Daniel Vetter
On Mon, Jul 08, 2013 at 10:13:30AM -0300, Paulo Zanoni wrote: 2013/7/1 Rodrigo Vivi rodrigo.v...@gmail.com: PSR must be enabled after transcoder and port are running. And it is only available for HSW. v2: move enable/disable to intel_ddi v3: The spec suggests PSR should be disabled even

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-08 Thread Daniel Vetter
On Sat, Jul 06, 2013 at 11:41:07PM +0200, Jan Niggemann wrote: Hi list, I'm not sure, but I think the recent patch to keep i915 systems from locking up / slowing down in case of irq storms didn't fully help. I compiled 3.10, but every now and then, my system has the same symptoms as before.

Re: [Intel-gfx] [PATCH] drm/i915: convert debugfs creation/destruction to table

2013-07-08 Thread Daniel Vetter
On Mon, Jul 08, 2013 at 09:44:18PM +0200, Daniel Vetter wrote: On Mon, Jul 8, 2013 at 4:01 PM, Paulo Zanoni przan...@gmail.com wrote: 2013/7/5 Daniel Vetter dan...@ffwll.ch: On Fri, Jul 05, 2013 at 12:29:14PM -0700, Ben Widawsky wrote: On Thu, Jul 04, 2013 at 08:49:44PM +0200, Daniel Vetter

Re: [Intel-gfx] [PATCH] drm/i915: Really fix the debug unregister code

2013-07-08 Thread Daniel Vetter
On Sun, Jul 07, 2013 at 11:03:53AM -0700, Ben Widawsky wrote: This smells like a missing git add, but unregister was not handled properly in: commit c032d5491a4d8d56d8364f4919364815b55d3437 Author: Daniel Vetter daniel.vet...@ffwll.ch Date: Thu Jul 4 20:39:49 2013 +0200 drm/i915:

Re: [Intel-gfx] [RFC libdrm PATCH] intel: Add support for resource streamer

2013-07-08 Thread Daniel Vetter
On Mon, Jul 08, 2013 at 04:47:38PM +0300, Abdiel Janulgue wrote: Expose defines for resource streamer controls. Based on the work of: Lukasz Anaczkowski lukasz.anaczkow...@intel.com Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com Note that drm header patches should be

Re: [Intel-gfx] [PATCH 1/2] drm/i915/hsw: Expose resource streamer control flags

2013-07-08 Thread Daniel Vetter
On Mon, Jul 08, 2013 at 04:38:48PM +0300, Abdiel Janulgue wrote: Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- drivers/gpu/drm/i915/i915_gem_execbuffer.c |2 ++ include/uapi/drm/i915_drm.h|1 + 2 files changed, 3 insertions(+) diff --git

[Intel-gfx] proposals/questions about the IRQ registers

2013-07-08 Thread Paulo Zanoni
Hi Due to the current features that I'm implementing I started looking at our interrupt code so I can reuse it. I noticed quite a few details and potential problems, and I can write patches for them, but first I think I should ask some questions to make sure I won't spend a big time writing

Re: [Intel-gfx] [PATCH] drm/i915: Introduce a new create ioctl for user specified placement

2013-07-08 Thread Daniel Vetter
On Fri, Jul 05, 2013 at 02:42:04PM +0100, Chris Wilson wrote: Despite being a unified memory architecture (UMA) some bits of memory are more equal than others. In particular we have the thorny issue of stolen memory, memory stolen from the system by the BIOS and reserved for igfx use. Stolen

Re: [Intel-gfx] [PATCH] drm/i915: Add functions to force psr exit

2013-07-08 Thread Rodrigo Vivi
On Mon, Jul 8, 2013 at 10:03 AM, Paulo Zanoni przan...@gmail.com wrote: 2013/6/28 Rodrigo Vivi rodrigo.v...@gmail.com: PSR tracking engine in HSW doesn't detect automagically some directly copy area operations through scanout so we will have to kick it manually and reschedule it to come back

Re: [Intel-gfx] [PATCH] drm/i915: add update function to disable/enable-back PSR

2013-07-08 Thread Rodrigo Vivi
On Fri, Jul 5, 2013 at 7:48 PM, Paulo Zanoni przan...@gmail.com wrote: 2013/6/28 Rodrigo Vivi rodrigo.v...@gmail.com: Required function to disable PSR when going to console mode. But also can be used whenever PSR mode entry conditions changed. v2: Add it before PSR Hook. Update function not

Re: [Intel-gfx] [PATCH] drm/i915: Enable/Disable PSR

2013-07-08 Thread Rodrigo Vivi
On Fri, Jul 5, 2013 at 6:58 PM, Paulo Zanoni przan...@gmail.com wrote: Hi Sorry for the delay. 2013/7/1 Rodrigo Vivi rodrigo.v...@gmail.com: On Fri, Jun 28, 2013 at 4:31 PM, Paulo Zanoni przan...@gmail.com wrote: Hi 2013/6/28 Rodrigo Vivi rodrigo.v...@gmail.com: Adding Enable and Disable

Re: [Intel-gfx] [PATCH] drm/i915: Match all PSR mode entry conditions before enabling it.

2013-07-08 Thread Rodrigo Vivi
On Fri, Jul 5, 2013 at 5:32 PM, Daniel Vetter dan...@ffwll.ch wrote: On Mon, Jul 01, 2013 at 05:47:39PM -0300, Rodrigo Vivi wrote: Again, Thank you very much for your comments. Replying what I did and why I didn't here and patches coming later. Paulo asked me to drop by maintainer bikeshed

[Intel-gfx] Dell U2412M monitor complains about input timing

2013-07-08 Thread Christian Kreibich
Hi all, I hope I have found the right forum for asking my question -- apologies if that's not the case. I have a Dell U2412M connected to a Dell StudioSlim 540s, with the i915 driver on Fedora's 3.9.6 Kernel running KDE (4.10.4). The monitor is connected via an HDMI cable, with a DVI adapter to