Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4578240b authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie
Browse files

gma500: re-order calling on the fix setup so we set up after the DRM layer



Noted by Kirill A Shutemov

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent aa7c62af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -463,6 +463,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
	fbdev->psb_fb_helper.fb = fb;
	fbdev->psb_fb_helper.fbdev = info;

	drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
	strcpy(info->fix.id, "psbfb");

	info->flags = FBINFO_DEFAULT;
@@ -500,7 +501,6 @@ static int psbfb_create(struct psb_fbdev *fbdev,
		info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
	}

	drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
	drm_fb_helper_fill_var(info, &fbdev->psb_fb_helper,
				sizes->fb_width, sizes->fb_height);