[Intel-gfx] [PATCH] drm/i915: Improve HiZ throughput on Cherryview.

2015-01-11 Thread Kenneth Graunke
Found by reading the HIZ_CHICKEN documentation. Improves performance in a HiZ microbenchmark by around 50%. Improves performance in OglZBuffer by around 18%. Thanks to Chris Wilson for helping me figure out where to put this. Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---

[Intel-gfx] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Kenneth Graunke
This is an important optimization for avoiding read-after-write (RAW) stalls in the HiZ buffer. Certain workloads would run very slowly with HiZ enabled, but run much faster with the hiz=false driconf option. With this patch, they run at full speed even with HiZ. Improves performance in

[Intel-gfx] WARNING at drivers/gpu/drm/i915/intel_audio.c:291 ilk_audio_codec_disable

2015-01-11 Thread Daniel Borkmann
I constantly get this warning triggered on bootup. Any ideas? ;) Thanks a lot, Daniel [...] [4.634728] [drm] Memory usable by graphics device = 2048M [4.636017] checking generic (9000 42) vs hw (9000 1000) [4.636020] fb: switching to inteldrmfb from EFI VGA [

Re: [Intel-gfx] [PATCH 2/10] drm/i915: Initialize DRRS delayed work

2015-01-11 Thread Chris Wilson
On Sat, Jan 10, 2015 at 02:25:57AM +0530, Vandana Kannan wrote: Add DRRS work function to trigger a switch to low refresh rate when activity is detected on screen. Where is this function used? How can I judge that it does the right thing? Signed-off-by: Vandana Kannan vandana.kan...@intel.com

Re: [Intel-gfx] [PATCH 9/10] drm/i915: Add debugfs entry for DRRS

2015-01-11 Thread Chris Wilson
On Sat, Jan 10, 2015 at 02:26:04AM +0530, Vandana Kannan wrote: Adding a debugfs entry to determine if DRRS is supported or not Signed-off-by: Vandana Kannan vandana.kan...@intel.com --- drivers/gpu/drm/i915/i915_debugfs.c | 18 ++ 1 file changed, 18 insertions(+) diff

Re: [Intel-gfx] [PATCH 2/2] intel_frequency: A tool to manipulate Intel GPU frequency

2015-01-11 Thread Jordan Justen
On 2015-01-10 20:19:29, Ben Widawsky wrote: + printf(Usage: %s [-ef] [--min | --max] [-g (min|max|efficient)][-s frequency_mhz]\n\n, prog); -ef = -f Add space before [-s + printf(%s A program to manipulate Intel GPU frequencies.\n\n, prog); + printf(Options: \n); +

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Kenneth Graunke
On Sunday, January 11, 2015 05:46:09 PM Ben Widawsky wrote: On Sun, Jan 11, 2015 at 04:05:25PM -0800, Kenneth Graunke wrote: On Sunday, January 11, 2015 01:49:41 PM Ben Widawsky wrote: On Sat, Jan 10, 2015 at 06:44:49PM -0800, Kenneth Graunke wrote: This is an important optimization for

[Intel-gfx] drm stuck on render ring starting xlock on a x201 using SNA

2015-01-11 Thread Charles Devereaux
Hello Aftertrying to leave an xlock started with xlock -nolock +use3d -mode gears, I get a drm stuck on render ring error. The funny thing is this problem did not happen on the exact same thinkpad x201 laptop using an identical xorg.conf but with a debian jessie i386 (I did a clean reinstall

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Kenneth Graunke
On Sunday, January 11, 2015 05:46:09 PM Ben Widawsky wrote: On Sun, Jan 11, 2015 at 04:05:25PM -0800, Kenneth Graunke wrote: On Sunday, January 11, 2015 01:49:41 PM Ben Widawsky wrote: On Sat, Jan 10, 2015 at 06:44:49PM -0800, Kenneth Graunke wrote: This is an important optimization for

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Ben Widawsky
On Sun, Jan 11, 2015 at 07:05:21PM -0800, Kenneth Graunke wrote: On Sunday, January 11, 2015 05:46:09 PM Ben Widawsky wrote: On Sun, Jan 11, 2015 at 04:05:25PM -0800, Kenneth Graunke wrote: On Sunday, January 11, 2015 01:49:41 PM Ben Widawsky wrote: On Sat, Jan 10, 2015 at 06:44:49PM

[Intel-gfx] [PATCH] drm/i915: Cleaning up encoder in the end on intel_dp_encoder_destroy

2015-01-11 Thread Sonika Jindal
We clean up the encoder and then try to acquire pps_lock where it tries to get the encoder. So moving the cleanup to the end. Suggested-by: Satheeshakrishna M satheeshakrishn...@intel.com Signed-off-by: Sonika Jindal sonika.jin...@intel.com --- drivers/gpu/drm/i915/intel_dp.c |4 ++-- 1 file

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Ben Widawsky
On Sat, Jan 10, 2015 at 06:44:49PM -0800, Kenneth Graunke wrote: This is an important optimization for avoiding read-after-write (RAW) stalls in the HiZ buffer. Certain workloads would run very slowly with HiZ enabled, but run much faster with the hiz=false driconf option. With this patch,

Re: [Intel-gfx] [PATCH] [v2] intel_frequency: A tool to manipulate Intel GPU frequency

2015-01-11 Thread Ben Widawsky
On Sun, Jan 11, 2015 at 07:35:21PM -0800, Ben Widawsky wrote: WARNING: very minimally tested In general you should not need this tool. It's primary purpose is for benchmarking, and for debugging performance issues. I noticed the it's vs its on v1, but forgot to fix it. IT'S fixed locally

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Ben Widawsky
On Sun, Jan 11, 2015 at 06:53:32PM -0800, Kenneth Graunke wrote: [snip] Jesse had suggested setting it in broadwell_init_clock_gating on January 5th, and Valtteri tried it on January 7th. He found no noticeable difference. I tried it again, and confirmed his result: there was zero

Re: [Intel-gfx] [Mesa-dev] [PATCH] drm/i915: Enable the HiZ RAW Stall Optimization on Gen8.

2015-01-11 Thread Kenneth Graunke
On Sunday, January 11, 2015 01:49:41 PM Ben Widawsky wrote: On Sat, Jan 10, 2015 at 06:44:49PM -0800, Kenneth Graunke wrote: This is an important optimization for avoiding read-after-write (RAW) stalls in the HiZ buffer. Certain workloads would run very slowly with HiZ enabled, but run

[Intel-gfx] [PATCH] intel_audio_dump: add support for Cherryview

2015-01-11 Thread Yang, Libin
From ebfde852d9efbd7213c391e91be9d0741813bb16 Mon Sep 17 00:00:00 2001 From: Libin Yang libin.y...@intel.com Date: Wed, 7 Jan 2015 10:56:18 +0800 Subject: [PATCH] intel_audio_dump: add support for Cherryview This patch adds support for dumping audio registers of Cherryview. Signed-off-by: Libin

Re: [Intel-gfx] [PATCH] drm/i915: Improve HiZ throughput on Cherryview.

2015-01-11 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) -Summary- Platform Delta drm-intel-nightly Series Applied PNV 354/354

[Intel-gfx] [PATCH] [v2] intel_frequency: A tool to manipulate Intel GPU frequency

2015-01-11 Thread Ben Widawsky
WARNING: very minimally tested In general you should not need this tool. It's primary purpose is for benchmarking, and for debugging performance issues. For many kernel releases now sysfs has supported reading and writing the GPU frequency. Therefore, this tool provides no new functionality.

Re: [Intel-gfx] [PATCH] intel_audio_dump: add support for Cherryview

2015-01-11 Thread Zhenyu Wang
On 2015.01.12 01:38:34 +, Yang, Libin wrote: From ebfde852d9efbd7213c391e91be9d0741813bb16 Mon Sep 17 00:00:00 2001 From: Libin Yang libin.y...@intel.com Date: Wed, 7 Jan 2015 10:56:18 +0800 Subject: [PATCH] intel_audio_dump: add support for Cherryview This patch adds support for

Re: [Intel-gfx] [PATCH v4 0/6] sanitize hda/i915 interface using the component fw

2015-01-11 Thread Takashi Iwai
At Mon, 12 Jan 2015 02:32:16 +0100, Daniel Vetter wrote: On Fri, Jan 9, 2015 at 11:20 AM, Takashi Iwai ti...@suse.de wrote: At Fri, 9 Jan 2015 10:18:45 +0100, Daniel Vetter wrote: On Thu, Jan 08, 2015 at 05:54:12PM +0200, Imre Deak wrote: This is v4 of [1] addressing the review

Re: [Intel-gfx] [RFC v2 1/4] drm: Add support to find drm_panel by name

2015-01-11 Thread Kumar, Shobhit
On 1/9/2015 6:20 PM, Jani Nikula wrote: On Fri, 02 Jan 2015, Shobhit Kumar shobhit.ku...@intel.com wrote: For scenarios where OF is not available, we can use panel identification by name. Signed-off-by: Shobhit Kumar shobhit.ku...@intel.com --- drivers/gpu/drm/drm_panel.c | 18