drm/radeon/kms: set fbdev_info for suspend/resume
authorDave Airlie <airlied@linux.ie>
Fri, 11 Sep 2009 08:35:38 +0000 (18:35 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 11 Sep 2009 08:35:38 +0000 (18:35 +1000)
this hopefully will bring back suspend/resume under kms.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fb.c

index ebb58959f4183e39ea1c8c6a99c61b77efcb78c1..19e244a512ba808b69578bfdbe1a5b39e7a9ba07 100644 (file)
@@ -258,6 +258,7 @@ int radeonfb_create(struct drm_device *dev,
                goto out_unref;
        }
 
+       rdev->fbdev_info = info;
        rfbdev = info->par;
        rfbdev->helper.funcs = &radeon_fb_helper_funcs;
        rfbdev->helper.dev = dev;