mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
drm/omap: Use drm_fb_helper_fill_info
This changes the fb name from "omapdrm" to "omapdrmfb". v2: Rebase Reviewed-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190326132008.11781-15-daniel.vetter@ffwll.ch
This commit is contained in:
parent
f243dd0618
commit
e8f9ad5a00
@ -183,13 +183,9 @@ static int omap_fbdev_create(struct drm_fb_helper *helper,
|
|||||||
fbdev->fb = fb;
|
fbdev->fb = fb;
|
||||||
helper->fb = fb;
|
helper->fb = fb;
|
||||||
|
|
||||||
fbi->par = helper;
|
|
||||||
fbi->fbops = &omap_fb_ops;
|
fbi->fbops = &omap_fb_ops;
|
||||||
|
|
||||||
strcpy(fbi->fix.id, MODULE_NAME);
|
drm_fb_helper_fill_info(fbi, helper, sizes);
|
||||||
|
|
||||||
drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->format->depth);
|
|
||||||
drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height);
|
|
||||||
|
|
||||||
dev->mode_config.fb_base = dma_addr;
|
dev->mode_config.fb_base = dma_addr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user