Skip to content

Commit

Permalink
[Hack] Make exynos_drm_fbdev export physical address of fb
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloPL committed Feb 8, 2019
1 parent 748d35f commit d0b1df4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/exynos/exynos_drm_fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
fbi->screen_base = exynos_gem->kvaddr + offset;
fbi->screen_size = size;
fbi->fix.smem_len = size;
fbi->fix.smem_start = virt_to_phys(fbi->screen_base);

return 0;
}
Expand Down

0 comments on commit d0b1df4

Please sign in to comment.