[Intel-gfx] [PATCH][v2 1/2] drm/i915: prepare for video codec ring buffer on Sandybridge

2010-09-13 Thread Xiang, Haihao
Some little changes: Add set_tail hook to struct intel_ring_buffer fix HAS_BSD with a device info flag Don't export the initialiser of struct intel_ring_buffer Signed-off-by: Xiang, Haihao haihao.xi...@intel.com --- drivers/gpu/drm/i915/i915_drv.c |4 ++

Re: [Intel-gfx] [PATCH][v2 1/2] drm/i915: prepare for video codec ring buffer on Sandybridge

2010-09-13 Thread Chris Wilson
On Mon, 13 Sep 2010 15:17:05 +0800, Xiang, Haihao haihao.xi...@intel.com wrote: Some little changes: Add set_tail hook to struct intel_ring_buffer fix HAS_BSD with a device info flag Don't export the initialiser of struct intel_ring_buffer A really nice set of cleanups, thanks!

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread Nasa
- Nasa nas...@comcast.net wrote: Hi, Is there a way to tell the driver to use DisplaySize to pass the correct dimensions to the i915 driver? from my searches, I saw the following note: News: xf86-video-intel only supports KMS now 2010-02-11 - Jan de Groot With the move of

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread Felix Miata
On 2010/09/13 10:10 (GMT) Nasa composed: Is there a way to tell the driver to use DisplaySize to pass the correct dimensions to the i915 driver? from my searches, I saw the following note: News: xf86-video-intel only supports KMS now 2010-02-11 - Jan de Groot With the move of

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread Nasa
- Felix Miata mrma...@earthlink.net wrote: On 2010/09/13 10:10 (GMT) Nasa composed: Is there a way to tell the driver to use DisplaySize to pass the correct dimensions to the i915 driver? from my searches, I saw the following note: News: xf86-video-intel only supports KMS now

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread The Fungi
On Mon, Sep 13, 2010 at 11:42:22AM +, Nasa wrote: [...] I have also verified that the monitor doesn't provide EDID data as the file size (I found were it's dump to, just can't recall right now) was 0. [...] You checked the size of the /sys/devices/*/*/drm/*/*/edid structure (remember to

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread Nasa
- Felix Miata mrma...@earthlink.net wrote: On 2010/09/13 11:42 (GMT) Nasa composed: This isn't a laptop. It's a 7 monitor (http://www.lilliput.cn/EBY701-NP.html), that I am using in my carpc. I am presently try this with the IVI version of meego (with it's own issues). Lilliput

Re: [Intel-gfx] [RFC PATCH 0/2] i915 brightness control

2010-09-13 Thread Matthew Garrett
On Wed, Jun 02, 2010 at 03:11:40PM -0700, Kamal Mostafa wrote: In order to avoid the often-dysfunctional native acpi brightness control methods, a new acpi_brightness_hook interface is made available. The i915 driver uses the new hook to take over brightness control. Boot with

[Intel-gfx] vsync problems with recent graphics stack and 945gm

2010-09-13 Thread Vasily Khoruzhick
Hi there, I've just built graphics stack (xf86-video-intel, libdrm, mesa) from git (but I'm on 2.6.35.x kernel) and still experiencing vsync troubles without composite manager, here's output of glxgears: $ glxgears Running synchronized to the vertical refresh. The framerate should be

Re: [Intel-gfx] vsync problems with recent graphics stack and 945gm

2010-09-13 Thread Jesse Barnes
On Mon, 13 Sep 2010 23:36:11 +0300 Vasily Khoruzhick anars...@gmail.com wrote: Hi there, I've just built graphics stack (xf86-video-intel, libdrm, mesa) from git (but I'm on 2.6.35.x kernel) and still experiencing vsync troubles without composite manager, here's output of glxgears: $

[Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Jesse Barnes
On Tue, 14 Sep 2010 00:10:08 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 13 of September 2010 23:44:41 автор Jesse Barnes написал: I remember seeing a similar problem on an Eee PC I had; it seemed to be timer/interrupt related somehow. If I booted with clocksource=tsc

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Vasily Khoruzhick
В сообщении от 14 of September 2010 00:19:55 автор Jesse Barnes написал: On Tue, 14 Sep 2010 00:10:08 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 13 of September 2010 23:44:41 автор Jesse Barnes написал: I remember seeing a similar problem on an Eee PC I had; it

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Jesse Barnes
On Tue, 14 Sep 2010 00:41:18 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 14 of September 2010 00:19:55 автор Jesse Barnes написал: On Tue, 14 Sep 2010 00:10:08 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 13 of September 2010 23:44:41 автор

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Vasily Khoruzhick
В сообщении от 14 of September 2010 00:46:32 автор Jesse Barnes написал: Yes, you can set vblank_mode=0 in your environment or drirc. At least I think 0 is no vsync. :) That doesn't help, glxgears shows ~1000fps, but it's output is jerky. signature.asc Description: This is a digitally

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Jesse Barnes
On Tue, 14 Sep 2010 00:52:31 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 14 of September 2010 00:46:32 автор Jesse Barnes написал: Yes, you can set vblank_mode=0 in your environment or drirc. At least I think 0 is no vsync. :) That doesn't help, glxgears shows

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-13 Thread Vasily Khoruzhick
В сообщении от 14 of September 2010 00:59:52 автор Jesse Barnes написал: On Tue, 14 Sep 2010 00:52:31 +0300 Vasily Khoruzhick anars...@gmail.com wrote: В сообщении от 14 of September 2010 00:46:32 автор Jesse Barnes написал: Yes, you can set vblank_mode=0 in your environment or drirc. At

[Intel-gfx] [PATCH 01/17] intel-gtt: initialize our own scratch page

2010-09-13 Thread Daniel Vetter
The intel gtt fake agp driver is the only agp driver to use dma address remapping. So it makes sense to fold this code back into the only user (and thus reduce the reliance on the agp code). This patch does the first step by initializing (and remapping) the scratch page in a new function

[Intel-gfx] [PATCH 02/17] intel-gtt: introduce pte write function for i8xx/i915/i945

2010-09-13 Thread Daniel Vetter
And put it to use in the gtt configuration code that writes the scratch page addr in all gtt ptes. This makes intel_i830_configure generic, hence rename it to intel_fake_agp_configure. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 41

[Intel-gfx] [PATCH 08/17] intel-gtt: generic (insert|remove)_entries for i915

2010-09-13 Thread Daniel Vetter
Beef up the generic version to support dmar. Otherwise like for the i830. v2: Don't try to DMA remap on resume for already remapped pages. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 60 ++--- 1 files changed, 49

[Intel-gfx] [PATCH 10/17] intel-gtt: generic (insert|remove)_entries for sandybridge

2010-09-13 Thread Daniel Vetter
Like before, but now with the added bonus of being able to kill quite a bit of no-longer useful code (the old dmar support stuff). Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 144 +++--- 1 files changed, 8

[Intel-gfx] [PATCH 09/17] intel-gtt: generic (insert|remove)_entries for g33/i965

2010-09-13 Thread Daniel Vetter
Like for the i915. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 21 + 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c index 8273b2b..225b791 100644 ---

[Intel-gfx] [PATCH 11/17] intel-gtt: kill mask_memory functions

2010-09-13 Thread Daniel Vetter
That indirection mess can now go. Add a dummy i81x gtt_driver to avoid a NULL pointer check. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 105 + 1 files changed, 13 insertions(+), 92 deletions(-) diff --git

[Intel-gfx] [PATCH 12/17] intel-gtt: move chipset flush to the gtt driver struct

2010-09-13 Thread Daniel Vetter
This is the last differentiator between the different fake agp drivers. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 28 +--- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git a/drivers/char/agp/intel-gtt.c

[Intel-gfx] [PATCH 14/17] agp: kill agp_(unmap|map)_memory

2010-09-13 Thread Daniel Vetter
DMA remapping was only used by the intel-gtt driver. With that code now folded into the driver, kill the agp generic support for it. Cc: Dave Airlie airl...@linux.ie Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/agp.h |3 --- drivers/char/agp/generic.c |8

[Intel-gfx] [PATCH 17/17] intel-gtt add a cleanup function for chipset specific stuff

2010-09-13 Thread Daniel Vetter
The old code didn't clean up the i830 chipset flush page. And it looks nicer. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/char/agp/intel-gtt.c | 39 +++ 1 files changed, 31 insertions(+), 8 deletions(-) diff --git

Re: [Intel-gfx] Using quirks to fix incorrect Monitor physical size

2010-09-13 Thread Nasa
- Felix Miata mrma...@earthlink.net wrote: Does Meego have /etc/sysconfig/videobios? I just discovered it on openSUSE 11.4. It contains: ## Path:System/Hardware/Graphicscard ## Description: Additional options for graphics cards ## Type:yesno ## Default: no # #