diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_fb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 8e28e5993df..1af7d68e380 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c | |||
@@ -870,7 +870,11 @@ static int intelfb_single_fb_probe(struct drm_device *dev) | |||
870 | */ | 870 | */ |
871 | void intelfb_restore(void) | 871 | void intelfb_restore(void) |
872 | { | 872 | { |
873 | drm_crtc_helper_set_config(&kernelfb_mode); | 873 | int ret; |
874 | if ((ret = drm_crtc_helper_set_config(&kernelfb_mode)) != 0) { | ||
875 | printk(KERN_ERR "Failed to restore crtc configuration: %d\n", | ||
876 | ret); | ||
877 | } | ||
874 | } | 878 | } |
875 | 879 | ||
876 | static void intelfb_restore_work_fn(struct work_struct *ignored) | 880 | static void intelfb_restore_work_fn(struct work_struct *ignored) |