diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-06-22 18:15:58 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-06-24 16:09:41 +1000 |
commit | f92e93eb5f4d56d73215f089580d53597bacd468 (patch) | |
tree | 15bbee0da31b0dc4604155e09789385f28c47b64 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | 4e8a2372f9255a1464ef488ed925455f53fbdaa1 (diff) | |
download | blackbird-op-linux-f92e93eb5f4d56d73215f089580d53597bacd468.tar.gz blackbird-op-linux-f92e93eb5f4d56d73215f089580d53597bacd468.zip |
drm/radeon: fix radeon kms framebuffer device
smem.start is a physical address which kernel can remap to access
video memory of the fb buffer. We now pin the fb buffer into vram
by doing so we are loosing vram but fbdev need to be reworked to
allow change in framebuffer address.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index f30aa7274a54..3f48a57531b5 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -496,7 +496,6 @@ int radeon_device_init(struct radeon_device *rdev, radeon_errata(rdev); /* Initialize scratch registers */ radeon_scratch_init(rdev); - /* TODO: disable VGA need to use VGA request */ /* BIOS*/ if (!radeon_get_bios(rdev)) { @@ -604,9 +603,6 @@ int radeon_device_init(struct radeon_device *rdev, if (r) { return r; } - if (rdev->fbdev_rfb && rdev->fbdev_rfb->obj) { - rdev->fbdev_robj = rdev->fbdev_rfb->obj->driver_private; - } if (!ret) { DRM_INFO("radeon: kernel modesetting successfully initialized.\n"); } |