diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-09-01 10:22:52 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-09-02 17:10:32 +0300 |
commit | d56125afcbdfde09bcb05d3e07e1d063989b5f74 (patch) | |
tree | 3d3c62fc188f65a7abdfb3db4a4257aea20df279 /drivers/gpu/drm/exynos/exynos_drm_fb.h | |
parent | dcbb85a1641771547d83ee3a43230ea76703ed68 (diff) | |
download | linux-d56125afcbdfde09bcb05d3e07e1d063989b5f74.tar.xz |
drm/exynos: update exynos_drm_framebuffer_init() for multiple buffers
This modifies exynos_drm_framebuffer_init() to be possible to support
multiple buffers. Then it can be used by exynos_user_fb_create().
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fb.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.h b/drivers/gpu/drm/exynos/exynos_drm_fb.h index 897d2cff6287..8900f6baf315 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.h +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.h @@ -14,10 +14,13 @@ #ifndef _EXYNOS_DRM_FB_H_ #define _EXYNOS_DRM_FB_H +#include "exynos_drm_gem.h" + struct drm_framebuffer * exynos_drm_framebuffer_init(struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, - struct drm_gem_object *obj); + struct exynos_drm_gem_obj **gem_obj, + int count); /* get gem object of a drm framebuffer */ struct exynos_drm_gem_obj *exynos_drm_fb_gem_obj(struct drm_framebuffer *fb, |