diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-02-15 14:45:22 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-18 15:01:59 +1000 |
commit | f2d12b8e2c05e86b1a2070efcc07f1b8a79afb4c (patch) | |
tree | 4e174474de39ec604ade20ce9f1e329060e5026d /drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | |
parent | 01d4503968f471f876fb44335800d2cf8dc5a2ce (diff) |
drm/vmwgfx: Use fb handover mechanism instead of stealth mode.
When the vmwgfx module is loaded on top of vesafb, it would operate in
stealth mode in parallel with vesafb, evicting VRAM on dropmaster.
Change that to use the vesafb handover mechanism, like other drmfb drivers.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_fb.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c index 4f4f6432be8..a93367041cd 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c @@ -559,6 +559,9 @@ int vmw_fb_init(struct vmw_private *vmw_priv) info->pixmap.scan_align = 1; #endif + info->aperture_base = vmw_priv->vram_start; + info->aperture_size = vmw_priv->vram_size; + /* * Dirty & Deferred IO */ |