Skip to content

Commit

Permalink
drm/radeon: use aperture size not vram size for overlap tests
Browse files Browse the repository at this point in the history
This fixes a problem where the wrong card conflicts with vesafb in my
x2 system.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Dec 20, 2010
1 parent 6f2f48a commit 68d3059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static int radeonfb_create(struct radeon_fbdev *rfbdev,
goto out_unref;
}
info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base;
info->apertures->ranges[0].size = rdev->mc.real_vram_size;
info->apertures->ranges[0].size = rdev->mc.aper_size;

info->fix.mmio_start = 0;
info->fix.mmio_len = 0;
Expand Down

0 comments on commit 68d3059

Please sign in to comment.