aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_fb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-11 04:35:38 -0400
committerDave Airlie <airlied@linux.ie>2009-09-11 04:35:38 -0400
commit2f9a60d76692ffbc749d97ac55717f70eb1f9432 (patch)
tree7ad85e6b86638d7c40a624da8ab62bc092342420 /drivers/gpu/drm/radeon/radeon_fb.c
parent6cf8a3f58806f12b975a89cfd7edf01566ff80a0 (diff)
drm/radeon/kms: set fbdev_info for suspend/resume
this hopefully will bring back suspend/resume under kms. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_fb.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index ebb58959f418..19e244a512ba 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -258,6 +258,7 @@ int radeonfb_create(struct drm_device *dev,
258 goto out_unref; 258 goto out_unref;
259 } 259 }
260 260
261 rdev->fbdev_info = info;
261 rfbdev = info->par; 262 rfbdev = info->par;
262 rfbdev->helper.funcs = &radeon_fb_helper_funcs; 263 rfbdev->helper.funcs = &radeon_fb_helper_funcs;
263 rfbdev->helper.dev = dev; 264 rfbdev->helper.dev = dev;