[Intel-gfx] About KMS, FB and Intel drivers
Jesse Barnes
jbarnes at virtuousgeek.org
Tue Jan 20 20:10:54 CET 2009
On Tuesday, January 20, 2009 10:33 am Yves-Alexis Perez wrote:
> On mar, 2009-01-20 at 09:57 -0800, Jesse Barnes wrote:
> > > 2) Is there anybody using GM45 and getting KMS working with
> > > libdrm-2.4.3, mesa 7.3rc1, xf86-video-intel-2.6.0 and kernel
> >
> > 2.6.29-rc2
> >
> > > or lower versions? I cannot get it working at all.
> >
> > It works for me with xf86-video-intel git; but you'll probably want to
> > apply
> > my "fix LeaveVT if KMS enabled" patch to make VT switch and
> > suspend/resume
> > stable (see the list archives for that one).
>
> Not sure if you saw my mail (it was on dri list), but I have some
> problems with KMS, using linux from drm-intel-next, drm 2.4.3+git
> +20090105+a8c5480-1 and xf86-video-intel 2.6.0: the cursor is not
> correct, it's like some lines of magenta, green etc. I'm on amd64 if it
> can make a difference.
Ah you may also want this patch, I don't think it's been applied upstream yet.
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 44f20bf..87932b7 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -938,11 +938,14 @@ static int i915_load_modeset_init(struct drm_device *dev)
DRM_DEBUG("*** fb base 0x%08lx\n", dev->mode_config.fb_base);
- if (IS_MOBILE(dev) || (IS_I9XX(dev) && !IS_I965G(dev) && !IS_G33(dev)))
+ if (IS_MOBILE(dev) || IS_I9XX(dev))
dev_priv->cursor_needs_physical = true;
else
dev_priv->cursor_needs_physical = false;
+ if (IS_I965G(dev) || IS_G33(dev))
+ dev_priv->cursor_needs_physical = false;
+
ret = i915_probe_agp(dev, &agp_size, &prealloc_size);
if (ret)
goto kfree_devname;
More information about the Intel-gfx
mailing list