提交 2906f025 编写于 作者: J Jesse Barnes 提交者: Dave Airlie

drm/i915: Fix cursor physical address choice to match the 2D driver.

Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: NEric Anholt <eric@anholt.net>
上级 1bb88edb
...@@ -944,11 +944,14 @@ static int i915_load_modeset_init(struct drm_device *dev) ...@@ -944,11 +944,14 @@ static int i915_load_modeset_init(struct drm_device *dev)
dev->mode_config.fb_base = drm_get_resource_start(dev, fb_bar) & dev->mode_config.fb_base = drm_get_resource_start(dev, fb_bar) &
0xff000000; 0xff000000;
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; dev_priv->cursor_needs_physical = true;
else else
dev_priv->cursor_needs_physical = false; 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); ret = i915_probe_agp(dev, &agp_size, &prealloc_size);
if (ret) if (ret)
goto kfree_devname; goto kfree_devname;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册