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 57a319e3f780..1aa5e3bcc8a1 100644
--- a/drivers/gpu/drm/drm_modeset_helper.c
+++ b/drivers/gpu/drm/drm_modeset_helper.c
@@ -91,6 +91,7 @@ void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
91 } 91 }
92 92
93 fb->dev = dev; 93 fb->dev = dev;
94 fb->format = info;
94 fb->width = mode_cmd->width; 95 fb->width = mode_cmd->width;
95 fb->height = mode_cmd->height; 96 fb->height = mode_cmd->height;
96 for (i = 0; i < 4; i++) { 97 for (i = 0; i < 4; i++) {