Re: [Intel-gfx] [PATCH] drm/i915: IVB missed irqs w/a

2012-03-19 Thread Ben Widawsky
On Mon, 19 Mar 2012 08:48:44 -0700 Ben Widawsky wrote: > Request for testing. > > This is the proposed workaround from the HW team for the missed IRQ > issue. I do not have a machine to test on, so it's just compile > tested. This is very similar to another workaround I implemented, but > I neve

[Intel-gfx] [PATCH] intel: Add some PCI IDs for Haswell.

2012-03-19 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke --- intel/intel_chipset.h | 28 +++- 1 files changed, 23 insertions(+), 5 deletions(-) This suffers from the usual copy & paste issues, since intel_chipset.h exists in Mesa, libdrm, and intel-gpu-tools. We should fix that, but for now, co

[Intel-gfx] [PATCH] drm/i915: IVB missed irqs w/a

2012-03-19 Thread Ben Widawsky
Request for testing. This is the proposed workaround from the HW team for the missed IRQ issue. I do not have a machine to test on, so it's just compile tested. This is very similar to another workaround I implemented, but I never tried it on IVB, and don't recall if I ever mailed those out. Anyo

Re: [Intel-gfx] [PATCH 0/2 v4] drm/i915: LVDS channel mode fixes

2012-03-19 Thread Adam Jackson
On Fri, 2012-03-16 at 22:41 +0100, Takashi Iwai wrote: > Hi, > > this is the revised patch for fixing the wrong LVDS channel mode, > e.g. when booted while the lid is closed. Also, a new module option > to override the LVDS channel mode is added in the second patch. > > v1->v2: Fix the register

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add lvds_channel module option

2012-03-19 Thread Daniel Vetter
On Mon, Mar 19, 2012 at 12:07:37PM +0100, Takashi Iwai wrote: > Add a new module optoin lvds_channel to specify the LVDS channel mode > explicitly instead of probing the LVDS register value set by BIOS. > This will be helpful when VBT is broken or incompatible with the > current code. > > Reviewed

[Intel-gfx] [PATCH 2/2] drm/i915: Add lvds_channel module option

2012-03-19 Thread Takashi Iwai
Add a new module optoin lvds_channel to specify the LVDS channel mode explicitly instead of probing the LVDS register value set by BIOS. This will be helpful when VBT is broken or incompatible with the current code. Reviewed-by: Eugeni Dodonov Signed-off-by: Takashi Iwai --- drivers/gpu/drm/i91

[Intel-gfx] [PATCH 1/2] drm/i915: Check VBIOS value for determining LVDS dual channel mode, too

2012-03-19 Thread Takashi Iwai
Currently i915 driver checks [PCH_]LVDS register bits to decide whether to set up the dual-link or the single-link mode. This relies implicitly on that BIOS initializes the register properly at boot. However, BIOS doesn't initialize it always. When the machine is booted with the closed lid, BIOS

[Intel-gfx] [PATCH 0/2 v5] drm/i915: LVDS channel mode fixes

2012-03-19 Thread Takashi Iwai
Hi, this is the revised series of patches for fixing the wrong LVDS channel mode on some laptops in a certan situation such as boot with the closed lid. v1->v2: Fix the register for gen<=4 v2->v3: Check the resolution of the entry to be sure v3->v4: Optimize the register reference; add a module o

Re: [Intel-gfx] [PATCH 00/18] i915 HW Context Support

2012-03-19 Thread Daniel Vetter
On Sun, Mar 18, 2012 at 01:39:40PM -0700, Ben Widawsky wrote: > The patches have changed quite a bit since the RFC, and therefore I > didn't feel comfortable trying to do v2 information. I didn't feel > comfortable taking the few r-bs that I had from the RFC except for the > one patch that I applie

[Intel-gfx] how to enable "wait for vertical sync" on i915 framebuffer driver?

2012-03-19 Thread hank peng
Hi: I need to enable this function in use space programe, but I found that it is not implemented in i915 fb driver. I used FBIO_WAITFORVSYNC ioctl command, then what should I do? -- The simplest is not all best but the best is surely the simplest! ___ I