Re: [Intel-gfx] [PATCH 0/6] make gem_object embedable and convert i915 driver

2010-04-12 Thread Dave Airlie
On Tue, Apr 13, 2010 at 5:19 AM, Daniel Vetter wrote: > On Mon, Apr 12, 2010 at 10:51:20AM -0700, Eric Anholt wrote: >> On Fri,  9 Apr 2010 21:05:03 +0200, Daniel Vetter >> wrote: >> > Daniel Vetter (6): >> >   drm: extract drm_gem_object_init >> >   drm: free core gem object from driver callbac

Re: [Intel-gfx] [PATCH] drm/i915: Don't enable pipe/plane/VCO early (wait for DPMS on).

2010-04-12 Thread Eric Anholt
On Fri, 09 Apr 2010 07:42:57 -0700, Carl Worth wrote: > On Thu, 8 Apr 2010 23:31:57 -0700, Carl Worth wrote: > > It's likely that this fixes problems with LVDS coming up blank about > > 50% of the time on Ironlake, (noted on lenovo x201s). > > For what it's worth, further testing suggests that

Re: [Intel-gfx] [PATCH] i915: do not read uninitialized ->dev_private

2010-04-12 Thread Eric Anholt
On Thu, 8 Apr 2010 21:41:59 +0200, Luca Tettamanti wrote: > ->dev_private at that point is NULL and is initialied only a few lines > later. > > Signed-off-by: Luca Tettamanti > --- > I'm beginnig to dive into DRM&KMS, that assignment really confused me :P Applied. Thanks! pgph9nR9DtFZC.pgp D

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add the support of memory self-refresh on Ironlake

2010-04-12 Thread ykzhao
On Mon, 2010-04-12 at 22:43 +0800, Adam Jackson wrote: > On Mon, 2010-04-12 at 17:09 +0800, Zhenyu Wang wrote: > > Update the self-refresh watermark for display plane/cursor and enable > > the memory self-refresh on Ironlake. The watermark is also updated for > > the active display plane. > > > >

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Matthew Garrett
On Mon, Apr 12, 2010 at 09:57:51PM +0100, Sergio Monteiro Basto wrote: > My technique to recompile kernels, now, is based on src.rpm at > http://koji.fedoraproject.org/koji/packageinfo?packageID=8 Yeah, I'm afraid that's not going to work. > So any change this patch enter in fedora kernel ? or

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Sergio Monteiro Basto
On Mon, 2010-04-12 at 21:46 +0100, Matthew Garrett wrote: > On Mon, Apr 12, 2010 at 08:45:11PM +0100, Sergio Monteiro Basto wrote: > > On Mon, 2010-04-12 at 18:36 +0100, Matthew Garrett wrote: > > > On Mon, Apr 12, 2010 at 06:19:20PM +0100, Matthew Garrett wrote: > > > > Can you give this patch a

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Matthew Garrett
On Mon, Apr 12, 2010 at 08:45:11PM +0100, Sergio Monteiro Basto wrote: > On Mon, 2010-04-12 at 18:36 +0100, Matthew Garrett wrote: > > On Mon, Apr 12, 2010 at 06:19:20PM +0100, Matthew Garrett wrote: > > > Can you give this patch a try? It's not ready for upstream yet, but > > > ought to work. >

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Sergio Monteiro Basto
On Mon, 2010-04-12 at 18:36 +0100, Matthew Garrett wrote: > On Mon, Apr 12, 2010 at 06:19:20PM +0100, Matthew Garrett wrote: > > Can you give this patch a try? It's not ready for upstream yet, but > > ought to work. > > It would, of course, be more useful if I included the patch. Hum can't appl

Re: [Intel-gfx] How is X4500MHD performance in Windows 7?

2010-04-12 Thread Clemens Eisserer
Jep sure. At least from my experiences windows-opengl drivers are far superior than the linux ones. I usually get twice the FPS for the same game running it on windows. (Thought about an RadeonHD4200 based laptop, is usually 2x as fast as 4500) - Clemens __

Re: [Intel-gfx] [PATCH 0/6] make gem_object embedable and convert i915 driver

2010-04-12 Thread Daniel Vetter
On Mon, Apr 12, 2010 at 10:51:20AM -0700, Eric Anholt wrote: > On Fri, 9 Apr 2010 21:05:03 +0200, Daniel Vetter > wrote: > > Daniel Vetter (6): > > drm: extract drm_gem_object_init > > drm: free core gem object from driver callbacks > > drm/i915: introduce i915_gem_alloc_object > > drm/i

[Intel-gfx] How is X4500MHD performance in Windows 7?

2010-04-12 Thread Pedro Ribeiro
Hi all, I'm buying a computer for a relative. The most graphics intensive application she'll run is Google Earth. Besides that, she needs excellent 2D performance and image quality. I have a X4500 in my laptop and it works very well - under Linux. However, I've heard some horror stories around th

Re: [Intel-gfx] [PATCH 0/6] make gem_object embedable and convert i915 driver

2010-04-12 Thread Eric Anholt
On Fri, 9 Apr 2010 21:05:03 +0200, Daniel Vetter wrote: > Hi all, > > As promised here's my patch series to make struct drm_gem_object embedable. > Also converts drm/i915 as a proof of concept. > > I've already looked at the radeon and nouveau modules and a straightforward > replament of the g

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add the support of memory self-refresh on Ironlake

2010-04-12 Thread Jesse Barnes
On Mon, 12 Apr 2010 10:43:04 -0400 Adam Jackson wrote: > On Mon, 2010-04-12 at 17:09 +0800, Zhenyu Wang wrote: > > Update the self-refresh watermark for display plane/cursor and enable > > the memory self-refresh on Ironlake. The watermark is also updated for > > the active display plane. > > >

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Matthew Garrett
On Mon, Apr 12, 2010 at 06:19:20PM +0100, Matthew Garrett wrote: > Can you give this patch a try? It's not ready for upstream yet, but > ought to work. It would, of course, be more useful if I included the patch. commit bd599ffa48a679679434109ead29fcdf108ccc77 Author: Matthew Garrett Date: We

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Unbind the bo if the user requests a different alignment

2010-04-12 Thread Chris Wilson
On Mon, 12 Apr 2010 10:10:22 -0700, Eric Anholt wrote: > On Sun, 4 Apr 2010 22:35:19 +0100, Chris Wilson > wrote: > > If the buffer is currently bound and does not meet the requested > > alignment, then unbind it and repin. > > Do we have any users legitimately requesting an alignment? I thou

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-12 Thread Matthew Garrett
Can you give this patch a try? It's not ready for upstream yet, but ought to work. -- Matthew Garrett | mj...@srcf.ucam.org ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Unbind the bo if the user requests a different alignment

2010-04-12 Thread Eric Anholt
On Sun, 4 Apr 2010 22:35:19 +0100, Chris Wilson wrote: > If the buffer is currently bound and does not meet the requested > alignment, then unbind it and repin. Do we have any users legitimately requesting an alignment? I thought they never existed or only lied when they did. pgpgLm85h31ZK.p

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Un-magic a DPCD register write

2010-04-12 Thread Eric Anholt
On Mon, 5 Apr 2010 17:58:00 -0400, Adam Jackson wrote: > Signed-off-by: Adam Jackson > --- > drivers/gpu/drm/i915/intel_dp.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c > index a21f810..e7d789c

[Intel-gfx] [PATCH] drm/i915/pch: Use minimal number of FDI lanes (v2)

2010-04-12 Thread Adam Jackson
This should be a small power savings. Tested on Lenovo T410 (Ironlake), LVDS VGA and DisplayPort, up to 1920x1200R. v2: Add Sandybridge support, fix obvious math error. Acked-by: Zhenyu Wang Signed-off-by: Adam Jackson --- drivers/gpu/drm/i915/intel_display.c | 26 --

Re: [Intel-gfx] [PATCH] drm/i915/pch: Use minimal number of FDI lanes

2010-04-12 Thread Adam Jackson
On Mon, 2010-04-12 at 17:03 +0800, Zhenyu Wang wrote: > On 2010.04.09 17:55:10 -0400, Adam Jackson wrote: > > This should be a small power savings, but the Watts-Up I used to test is > > only precise to within 100mW. Tested on Lenovo T410 (Ironlake), LVDS > > VGA and DisplayPort, up to 1920x1200R.

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add the support of memory self-refresh on Ironlake

2010-04-12 Thread Adam Jackson
On Mon, 2010-04-12 at 17:09 +0800, Zhenyu Wang wrote: > Update the self-refresh watermark for display plane/cursor and enable > the memory self-refresh on Ironlake. The watermark is also updated for > the active display plane. > > More than 1W idle power is saved on one Ironlake laptop after enabl

Re: [Intel-gfx] [PATCH] drm/i915/pch: Use minimal number of FDI lanes

2010-04-12 Thread ykzhao
On Sat, 2010-04-10 at 05:55 +0800, Adam Jackson wrote: > This should be a small power savings, but the Watts-Up I used to test is > only precise to within 100mW. Tested on Lenovo T410 (Ironlake), LVDS > VGA and DisplayPort, up to 1920x1200R. Very good point. I test this patch on another laptop.

[Intel-gfx] [PATCH 2/2] drm/i915: Add the support of memory self-refresh on Ironlake

2010-04-12 Thread Zhenyu Wang
Update the self-refresh watermark for display plane/cursor and enable the memory self-refresh on Ironlake. The watermark is also updated for the active display plane. More than 1W idle power is saved on one Ironlake laptop after enabling memory self-refresh. Signed-off-by: Zhao Yakui Signed-off-

[Intel-gfx] [PATCH 1/2] drm/i915: Add pineview_update_wm callback to update watermark for pineview

2010-04-12 Thread Zhenyu Wang
From: Zhao Yakui Now we don't define the update_wm callback function explicitly for pineview platform. But as it also belongs to mobile platform, we will use the function of i9xx_update_wm function to update its watermark again after we configure the watermark. This is incorrect. So we will add

Re: [Intel-gfx] [PATCH] drm/i915/pch: Use minimal number of FDI lanes

2010-04-12 Thread Zhenyu Wang
On 2010.04.09 17:55:10 -0400, Adam Jackson wrote: > This should be a small power savings, but the Watts-Up I used to test is > only precise to within 100mW. Tested on Lenovo T410 (Ironlake), LVDS > VGA and DisplayPort, up to 1920x1200R. > > Signed-off-by: Adam Jackson Nice work for per crtc FDI