diff options
Diffstat (limited to 'drivers/video/intelfb')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index 7a5750b449a8..448c90864016 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -1301,7 +1301,7 @@ intelfb_set_par(struct fb_info *info) | |||
1301 | 1301 | ||
1302 | intelfb_blank(FB_BLANK_POWERDOWN, info); | 1302 | intelfb_blank(FB_BLANK_POWERDOWN, info); |
1303 | 1303 | ||
1304 | if (dinfo->accel) | 1304 | if (ACCEL(dinfo, info)) |
1305 | intelfbhw_2d_stop(dinfo); | 1305 | intelfbhw_2d_stop(dinfo); |
1306 | 1306 | ||
1307 | memcpy(hw, &dinfo->save_state, sizeof(*hw)); | 1307 | memcpy(hw, &dinfo->save_state, sizeof(*hw)); |
@@ -1317,7 +1317,7 @@ intelfb_set_par(struct fb_info *info) | |||
1317 | 1317 | ||
1318 | update_dinfo(dinfo, &info->var); | 1318 | update_dinfo(dinfo, &info->var); |
1319 | 1319 | ||
1320 | if (dinfo->accel) | 1320 | if (ACCEL(dinfo, info)) |
1321 | intelfbhw_2d_start(dinfo); | 1321 | intelfbhw_2d_start(dinfo); |
1322 | 1322 | ||
1323 | intelfb_pan_display(&info->var, info); | 1323 | intelfb_pan_display(&info->var, info); |