diff options
| -rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 6245add3768a..de82e201d682 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
| @@ -685,7 +685,7 @@ int drm_fb_helper_check_var(struct fb_var_screeninfo *var, | |||
| 685 | struct drm_framebuffer *fb = fb_helper->fb; | 685 | struct drm_framebuffer *fb = fb_helper->fb; |
| 686 | int depth; | 686 | int depth; |
| 687 | 687 | ||
| 688 | if (var->pixclock != 0) | 688 | if (var->pixclock != 0 || in_dbg_master()) |
| 689 | return -EINVAL; | 689 | return -EINVAL; |
| 690 | 690 | ||
| 691 | /* Need to resize the fb object !!! */ | 691 | /* Need to resize the fb object !!! */ |
