Re: [Intel-gfx] [PATCH] drm/i915: fix errata for sync flush enable on 845G/830M

2010-08-09 Thread Eric Anholt
On Mon, 09 Aug 2010 18:04:50 +0100, Chris Wilson wrote: > On Mon, 9 Aug 2010 09:45:38 -0700, Jesse Barnes > wrote: > > Is this hack even needed? I noticed on my 945GM that INSTDONE has a > > stuck bit when I use this code, removing it didn't seem to have any > > negative effects... > > I'm no

Re: [Intel-gfx] Screen not turned on in kernel 2.6.35

2010-08-09 Thread Jesse Barnes
On Mon, 09 Aug 2010 14:08:59 -0400 Adam Jackson wrote: > On Mon, 2010-08-09 at 09:39 -0700, Jesse Barnes wrote: > > On Sat, 7 Aug 2010 20:09:32 +0200 Paul Neumann wrote: > > > i915 :00:02.0: BAR 6: can't assign [??? 0x flags 0x0] (bogus > > > alignment) > > > [drm] failed to find VB

Re: [Intel-gfx] Screen not turned on in kernel 2.6.35

2010-08-09 Thread Adam Jackson
On Mon, 2010-08-09 at 09:39 -0700, Jesse Barnes wrote: > On Sat, 7 Aug 2010 20:09:32 +0200 Paul Neumann wrote: > > i915 :00:02.0: BAR 6: can't assign [??? 0x flags 0x0] (bogus > > alignment) > > [drm] failed to find VBIOS tables > > [drm] initialized overlay support > > No connectors

Re: [Intel-gfx] FBC underruns on GMA4500?

2010-08-09 Thread Jesse Barnes
On Mon, 09 Aug 2010 19:20:34 +0200 Alexey Fisher wrote: > On Mo, 2010-08-09 at 09:36 -0700, Jesse Barnes wrote: > > On Sat, 07 Aug 2010 11:46:19 +0200 > > Alexey Fisher wrote: > > > > > Hallo all, > > > > > > i have some times on my primer desktop with Intel DG45ID board some sort > > > of fli

Re: [Intel-gfx] FBC underruns on GMA4500?

2010-08-09 Thread Alexey Fisher
On Mo, 2010-08-09 at 09:36 -0700, Jesse Barnes wrote: > On Sat, 07 Aug 2010 11:46:19 +0200 > Alexey Fisher wrote: > > > Hallo all, > > > > i have some times on my primer desktop with Intel DG45ID board some sort > > of flickering, it schort (1 second) and only half of the display. Same > > sort

Re: [Intel-gfx] [PATCH] drm/i915: fix errata for sync flush enable on 845G/830M

2010-08-09 Thread Chris Wilson
On Mon, 9 Aug 2010 09:45:38 -0700, Jesse Barnes wrote: > Is this hack even needed? I noticed on my 945GM that INSTDONE has a > stuck bit when I use this code, removing it didn't seem to have any > negative effects... I'm not sure why we need to trigger a Sync on the GPU at this point, I just as

Re: [Intel-gfx] [PATCH] drm/i915: fix errata for sync flush enable on 845G/830M

2010-08-09 Thread Jesse Barnes
On Sun, 8 Aug 2010 19:39:40 +0100 Chris Wilson wrote: > From: Zhenyu Wang > > The sync flush enable mask on 845G and 830M is flipped. > So driver should invert it usage. > > Signed-off-by: Zhenyu Wang > Reviewed-by: Chris Wilson > --- > drivers/gpu/drm/i915/i915_dma.c | 10 -- >

Re: [Intel-gfx] Screen not turned on in kernel 2.6.35

2010-08-09 Thread Jesse Barnes
On Sat, 7 Aug 2010 20:09:32 +0200 Paul Neumann wrote: > Hi, > > when I use kernel 2.6.35 my screen (connected via DVI) is not turned on. > Everything else works fine so I can ssh into the machine and safely shut it > down. This did not happen with 2.6.34. However I know that the issue is > ca

Re: [Intel-gfx] FBC underruns on GMA4500?

2010-08-09 Thread Jesse Barnes
On Sat, 07 Aug 2010 11:46:19 +0200 Alexey Fisher wrote: > Hallo all, > > i have some times on my primer desktop with Intel DG45ID board some sort > of flickering, it schort (1 second) and only half of the display. Same > sort of flickering i had with Bug 24314 - [945GME FBC] underruns > followed

[Intel-gfx] [PATCH] drm/i915/dp: Boot timeout for enabling transcoder to 100ms

2010-08-09 Thread Chris Wilson
Adam Hill reported that his Arrandale system required a much longer, up to 200x500us, wait for the panel to initialise or else modesetting would fail. References: https://bugs.freedesktop.org/show_bug.cgi?id=29141 Signed-off-by: Chris Wilson Reported-by: Adam Hill --- drivers/gpu/drm/i915/i

Re: [Intel-gfx] totem initiate EDID scan?

2010-08-09 Thread Adam Jackson
On Sat, 2010-08-07 at 11:13 +0200, Alexey Fisher wrote: > Seems like totem (video player) re ask every time for new hardware or > some thing like this. i can't reproduce it with mplayer. > My question is, is it the right way to do? are they any thing wrong > about it? They shouldn't be reprobing

[Intel-gfx] [PATCH] drm/i915: Avoid using msleep under kdb and wait_for()

2010-08-09 Thread Chris Wilson
wait_for() uses msleep() to yield the cpu whilst spinning waiting for a register to change. kdb asserts that mode changes are atomic and so prohibits msleep. The alternative would be to use mdelay or to simply probe the register more often instead of busy waiting. Signed-off-by: Chris Wilson ---

[Intel-gfx] [PATCH] drm/i915/crt: Flush register prior to waiting for vblank.

2010-08-09 Thread Chris Wilson
If we don't flush the write then we can not be sure that the border colour will have taken effect by the time we try to read it back. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_crt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/int

[Intel-gfx] [PATCH] drm/i915: Perform initial configuration asynchronously

2010-08-09 Thread Chris Wilson
It takes over 0.5s to probe the outputs and configure the i915 console. This can be performed in the background whilst the rest of the system is booting. Based on a patch by Arjan van de Van Signed-off-by: Chris Wilson Cc: Dave Airlie --- drivers/gpu/drm/drm_drv.c |6 ++ drivers

Re: [Intel-gfx] [PATCH] drm/i915: Disable FDI link before retraining.

2010-08-09 Thread Chris Wilson
On Fri, 06 Aug 2010 22:57:33 +0100, Chris Wilson wrote: > On Fri, 06 Aug 2010 14:21:59 -0700, Eric Anholt wrote: > > With the drm fix to not re-dpms the crtc, is this one still needed? > > No. I had to disable both this and Dave Airlie's double dpms defense, but > with the drm crtc dpms fix thi