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 ebb5895..19e244a 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;