[Intel-gfx] [PATCH 1/1] drm/i915: fix operator precedence when enabling RC6p

2012-02-23 Thread Eugeni Dodonov
As noticed by Torsten Kaiser, the operator precedence can play tricks with us here. CC: Dave Airlie CC: Jesse Barnes Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_displ

[Intel-gfx] [PATCH 1/2] drm/i915: Only bump refcnt on objects scheduled for eviction

2012-02-23 Thread Chris Wilson
Incrementing the reference count on all objects walked when searching for space in the aperture is a non-neglible amount of overhead. In fact, we only need to hold on to a reference for objects that we will evict, so we can therefore delay the referencing until we find a suitable hole and only add

[Intel-gfx] [PATCH 2/2] drm/i915: No need to search again after retiring requests

2012-02-23 Thread Chris Wilson
Retiring requests does not typically free up space in the aperture, so the additional search is pointless. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_evict.c | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_e

Re: [Intel-gfx] [PATCH] mm: extend prefault helpers to fault in more than PAGE_SIZE

2012-02-23 Thread Andrew Morton
On Thu, 16 Feb 2012 13:01:36 +0100 Daniel Vetter wrote: > drm/i915 wants to read/write more than one page in its fastpath > and hence needs to prefault more than PAGE_SIZE bytes. > > I've checked the callsites and they all already clamp size when > calling fault_in_pages_* to the same as for the

Re: [Intel-gfx] [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v6

2012-02-23 Thread Jesse Barnes
On Wed, 15 Feb 2012 03:18:42 + "Lan, Hai" wrote: > Hi Jesse, > I have tested the video sprite with intel-gpu-tools on SNB and found a bug. > When setting overlay position with x<0, it will divide 0 and make drm driver > crash. > I have fixed it. Please see my patch. Thanks. > > Hai Lan >

Re: [Intel-gfx] [PATCH] drm/i915: use the new hdmi_force_audio enum more

2012-02-23 Thread Chris Wilson
On Thu, 23 Feb 2012 17:14:47 +0100, Daniel Vetter wrote: > While fixing up a merge conflict with drm-next I've noticed that we > use the same audio drm connector property also for dp and sdvo > outputs. > > So put the new enum to some good use and convert these paths, too. The > HDMI_AUDIO_ pref

[Intel-gfx] [PATCH] drm/i915: use the new hdmi_force_audio enum more

2012-02-23 Thread Daniel Vetter
While fixing up a merge conflict with drm-next I've noticed that we use the same audio drm connector property also for dp and sdvo outputs. So put the new enum to some good use and convert these paths, too. The HDMI_AUDIO_ prefix is a bit a misnomer. But at least for sdvo it makes sense (and you c

Re: [Intel-gfx] [PATCH] drm/i915: fix mode set on load pipe. (v2)

2012-02-23 Thread Jesse Barnes
On Thu, 23 Feb 2012 15:56:52 + Chris Wilson wrote: > On Thu, 23 Feb 2012 15:33:40 +, Dave Airlie wrote: > > From: Dave Airlie > > > > Booted my i965 machine and it started printing the unsupported pixel > > format of 0 message (once I added content to it). > > > > Oh looksie here, we

Re: [Intel-gfx] [PATCH 1/2] drm/i915: print the unrecognised pixel format value.

2012-02-23 Thread Chris Wilson
On Thu, 23 Feb 2012 15:31:45 +, Dave Airlie wrote: > From: Dave Airlie > > Another contentless error bites the dust. > > Signed-off-by: Dave Airlie Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ Intel

Re: [Intel-gfx] [PATCH] drm/i915: fix mode set on load pipe. (v2)

2012-02-23 Thread Chris Wilson
On Thu, 23 Feb 2012 15:33:40 +, Dave Airlie wrote: > From: Dave Airlie > > Booted my i965 machine and it started printing the unsupported pixel > format of 0 message (once I added content to it). > > Oh looksie here, we pass 0. fix. > > v2: compile it. > > Signed-off-by: Dave Airlie Bugz

Re: [Intel-gfx] [PATCH] drm/i915: fix mode set on load pipe. (v2)

2012-02-23 Thread Daniel Vetter
On Thu, Feb 23, 2012 at 01:54:04PM -0200, Eugeni Dodonov wrote: > On Thu, Feb 23, 2012 at 13:33, Dave Airlie wrote: > > > From: Dave Airlie > > > > Booted my i965 machine and it started printing the unsupported pixel > > format of 0 message (once I added content to it). > > > > Oh looksie here,

Re: [Intel-gfx] [PATCH] drm/i915: fix mode set on load pipe. (v2)

2012-02-23 Thread Eugeni Dodonov
On Thu, Feb 23, 2012 at 13:33, Dave Airlie wrote: > From: Dave Airlie > > Booted my i965 machine and it started printing the unsupported pixel > format of 0 message (once I added content to it). > > Oh looksie here, we pass 0. fix. > We already have patch1 in drm-intel-fixes I think. And as fo

Re: [Intel-gfx] [PATCH 1/2] drm/i915: print the unrecognised pixel format value.

2012-02-23 Thread Daniel Vetter
On Thu, Feb 23, 2012 at 03:31:45PM +, Dave Airlie wrote: > From: Dave Airlie > > Another contentless error bites the dust. > > Signed-off-by: Dave Airlie Almost identical patch is already merged into -next: commit aca258482ed7c600b5aeed03aa8727d94d8dd07e Author: Eugeni Dodonov Date: Tu

[Intel-gfx] [PATCH] drm/i915: fix mode set on load pipe. (v2)

2012-02-23 Thread Dave Airlie
From: Dave Airlie Booted my i965 machine and it started printing the unsupported pixel format of 0 message (once I added content to it). Oh looksie here, we pass 0. fix. v2: compile it. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertio

[Intel-gfx] [PATCH 2/2] drm/i915: fix mode set on load pipe.

2012-02-23 Thread Dave Airlie
From: Dave Airlie Booted my i965 machine and it started printing the unsupported pixel format of 0 message (once I added content to it). Oh looksie here, we pass 0. fix. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletion

[Intel-gfx] [PATCH 1/2] drm/i915: print the unrecognised pixel format value.

2012-02-23 Thread Dave Airlie
From: Dave Airlie Another contentless error bites the dust. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index f425b23..

[Intel-gfx] Intel 12.02 graphics package announce

2012-02-23 Thread Eugeni Dodonov
Hi, We’d like to announce Intel 12.02 graphics package, featuring new release numbering scheme, stable support for Intel Ivy Bridge platform, compatibility with OpenGL 3.0 and GLSL 1.30 specifications and stability fixes. Please check http://intellinuxgraphics.org/2012.02.html for the recommended

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

2012-02-23 Thread Daniel Vetter
Hi Dave, New pull request for drm-intel-next, this time with a backmerge from -fixes to sort out a few things. Highlights: - interlaced support for i915. Again thanks a lot to all the ppl who help out with testing, patches and doc-crawling. - aliasing ppgtt support for snb/ivb. Because ppgtt pt