Re: [Intel-gfx] [PATCH 2/3] i915: Rename PIPE_CONTROL bit defines to be less terse.

2011-10-04 Thread Daniel Vetter
On Mon, Oct 03, 2011 at 11:02:39PM -0700, Kenneth Graunke wrote: STALL_AT_SCOREBOARD is much clearer than STALL_EN now that there are several different kinds of stalls. Also, INSTRUCTION_CACHE_FLUSH is a lot easier to understand at a glance than the terse IS_FLUSH. Signed-off-by: Kenneth

[Intel-gfx] Garbage on screen when switching resolution after BIOS post

2011-10-04 Thread meteor
We are developing a Linux solution. Our platform is using Intel SandyBridge and its VGA (kernel 2.6.35.8, 915 KMS driver). We found system will show garbage at the moment VGA is hand over to OS after BIOS POST. The symptom doesn’t happen in WIN 7. After checking with EE, the LCD_VDD_EN pin is

Re: [Intel-gfx] Garbage on screen when switching resolution after BIOS post

2011-10-04 Thread Daniel Vetter
On Tue, Oct 04, 2011 at 05:53:08PM +0800, meteor wrote: We are developing a Linux solution. Our platform is using Intel SandyBridge and its VGA (kernel 2.6.35.8, 915 KMS driver). We found system will show garbage at the moment VGA is hand over to OS after BIOS POST. The symptom doesn’t

Re: [Intel-gfx] Garbage on screen when switching resolution after BIOS post

2011-10-04 Thread Keith Packard
On Tue, 4 Oct 2011 17:53:08 +0800, meteor met...@ms1.url.com.tw wrote: Please refer to the VDD power monitoring image: http://imageshack.us/photo/my-images/827/auoi.jpg/ Nice picture. As Daniel mentioned, you'll want to try my eDP power sequencing changes and see what they do. I'm not sure

[Intel-gfx] [PATCH v2 0/3] hangcheck fixes

2011-10-04 Thread Ben Widawsky
I split out a lot more of the per ring registers in this version, as well as added the patch to remove the kick_ring, which AFAICT doesn't really help anything. Patch 3 can be dropped if not desired. Ben Widawsky (3): drm/i915: collect more per ring error info drm/i915: check acthd for all

[Intel-gfx] [PATCH 1/3] drm/i915: collect more per ring error info

2011-10-04 Thread Ben Widawsky
V1: Just added per ring page faults Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch V2: Added much more per ring stuff Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/i915_debugfs.c | 44 +++-- drivers/gpu/drm/i915/i915_drv.h | 28

[Intel-gfx] [PATCH 2/3] drm/i915: check acthd for all rings

2011-10-04 Thread Ben Widawsky
On Gen6+ we have other rings which may be in use. We haven't hung if the blit or media ring is still going Before rebase: Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/i915_drv.h |5 +- drivers/gpu/drm/i915/i915_irq.c

[Intel-gfx] [PATCH 3/3] drm/i915: remove ring kick

2011-10-04 Thread Ben Widawsky
Ring kick was racy (forcewake), and doesn't really do anything for us that shouldn't be done by reset. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/i915_irq.c | 41 --- 1 files changed, 0 insertions(+), 41 deletions(-) diff --git

[Intel-gfx] [PATCH v2 1/2] drm: Add Panel Self Refresh DP addresses

2011-10-04 Thread Ben Widawsky
Add the addresses and definitions I care about for Panel Self Refresh, as documented in the eDP spec. I'm sending these out before some other patches because this should be a fairly simple one to get upstream and not require too much fuss (where the others may have some fuss). This file is a

[Intel-gfx] unbinding graphics driver

2011-10-04 Thread Kay, Allen M
I'm working on assigning Intel graphics to a guest OS in Xen/KVM environment. Before assigning the device to the guest OS, I need to first unbind the i915 driver from the device in the host kernel. If I unbind the i915 driver by doing echo -n :00:02.0

Re: [Intel-gfx] [PATCH 2/3] i915: Rename PIPE_CONTROL bit defines to be less terse.

2011-10-04 Thread Kenneth Graunke
On 10/04/2011 01:30 AM, Daniel Vetter wrote: On Mon, Oct 03, 2011 at 11:02:39PM -0700, Kenneth Graunke wrote: STALL_AT_SCOREBOARD is much clearer than STALL_EN now that there are several different kinds of stalls. Also, INSTRUCTION_CACHE_FLUSH is a lot easier to understand at a glance than