Re: [Intel-gfx] [PATCH] drm/i915: add an off-dvi HDMI audio mode

2012-01-07 Thread Wu Fengguang
On Fri, Jan 06, 2012 at 07:08:33AM -0800, Jesse Barnes wrote: On Fri, 6 Jan 2012 11:26:40 +0800 Wu Fengguang fengguang...@intel.com wrote: Andrea, Would you test this patch at convenient time? Thanks, Fengguang --- Subject: drm/i915: add an off-dvi HDMI audio mode Date:

Re: [Intel-gfx] [PATCH] drm/i915: add an off-dvi HDMI audio mode

2012-01-07 Thread Wu Fengguang
On Fri, Jan 06, 2012 at 05:12:57PM +0100, Andrea Arcangeli wrote: On Fri, Jan 06, 2012 at 07:08:33AM -0800, Jesse Barnes wrote: A better name might be off-dvi-mode or off-dvi-only or something. force-dvi is probably better name, off is counter intuitive. Yeah, force-dvi looks good! I

[Intel-gfx] [PATCH] drm/i915: Compute a loadavg as the number of pending requests

2012-01-07 Thread Chris Wilson
The number of pending requests correlates to the number of batches queued and so with the amount of work being performed by the GPU. We borrow the concept of loadavg from the scheduler, using the count of batches as the count of runnables, and simply adjust the timescales for a 60x higher sample

Re: [Intel-gfx] [PATCH] drm/i915: Compute a loadavg as the number of pending requests

2012-01-07 Thread Eugeni Dodonov
On Sat, Jan 7, 2012 at 19:03, Chris Wilson ch...@chris-wilson.co.uk wrote: The number of pending requests correlates to the number of batches queued and so with the amount of work being performed by the GPU. We borrow the concept of loadavg from the scheduler, using the count of batches as

[Intel-gfx] [PATCH 1/2] drm/i915: simplify pipe checking

2012-01-07 Thread Eugeni Dodonov
This is also handled by i915_reg.h, so just reuse this trick to reduce universe enthropy. Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com Reviewed-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_suspend.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

[Intel-gfx] [PATCH 2/2] drm/i915: handle 3rd pipe

2012-01-07 Thread Eugeni Dodonov
We don't need to check 3rd pipe specifically, as it shares PLL with some other one. Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com Reviewed-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_suspend.c |4 1 files changed, 4 insertions(+), 0 deletions(-)

Re: [Intel-gfx] [PATCH 1/2] drm/i915: simplify pipe checking

2012-01-07 Thread Cyril Brulebois
Eugeni Dodonov eugeni.dodo...@intel.com (07/01/2012): This is also handled by i915_reg.h, so just reuse this trick to reduce universe enthropy. entropy. Besides that: Reviewed-by: Cyril Brulebois k...@debian.org Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com Reviewed-by: Jesse