From 279bae6d4e71462abc3d75e20cc513cd55abc3dd Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 28 Mar 2013 05:14:48 -0700 Subject: [PATCH] compat-drivers: fix hunk on vt switch patch I manually edited the patch but failed to test it... Signed-off-by: Luis R. Rodriguez --- .../collateral-evolutions/drm/0001-fb-info-vt_switch.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/patches/collateral-evolutions/drm/0001-fb-info-vt_switch.patch b/patches/collateral-evolutions/drm/0001-fb-info-vt_switch.patch index 39b13d174e8e..ae1b2cb3989e 100644 --- a/patches/collateral-evolutions/drm/0001-fb-info-vt_switch.patch +++ b/patches/collateral-evolutions/drm/0001-fb-info-vt_switch.patch @@ -44,13 +44,12 @@ Date: Tue Mar 26 09:25:45 2013 -0700 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c -@@ -150,8 +150,8 @@ static int intelfb_create(struct drm_fb_ - } +@@ -151,7 +151,7 @@ static int intelfb_create(struct drm_fb_ info->screen_size = size; /* This driver doesn't need a VT switch to restore the mode on resume */ -- info->skip_vt_switch = true; -+ fb_enable_skip_vt_switch(info); +- info->skip_vt_switch = true; ++ fb_enable_skip_vt_switch(info); drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); drm_fb_helper_fill_var(info, &ifbdev->helper, sizes->fb_width, sizes->fb_height); -- 2.30.2