aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_modeset_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_modeset_helper.c')
-rw-r--r--drivers/gpu/drm/drm_modeset_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_modeset_helper.c b/drivers/gpu/drm/drm_modeset_helper.c
index 285ffcba0fe8..57a319e3f780 100644
--- a/drivers/gpu/drm/drm_modeset_helper.c
+++ b/drivers/gpu/drm/drm_modeset_helper.c
@@ -90,6 +90,7 @@ void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
90 fb->bits_per_pixel = info->cpp[0] * 8; 90 fb->bits_per_pixel = info->cpp[0] * 8;
91 } 91 }
92 92
93 fb->dev = dev;
93 fb->width = mode_cmd->width; 94 fb->width = mode_cmd->width;
94 fb->height = mode_cmd->height; 95 fb->height = mode_cmd->height;
95 for (i = 0; i < 4; i++) { 96 for (i = 0; i < 4; i++) {