Commit 931e691c authored by Daniel Vetter's avatar Daniel Vetter

drm/tilcdc: Drop drm_gem_fb_create wrapper

Doesn't do anything.
Acked-by: default avatarJyri Sarha <jsarha@ti.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115092120.4445-6-daniel.vetter@ffwll.ch
parent d99382e4
...@@ -64,12 +64,6 @@ void tilcdc_module_cleanup(struct tilcdc_module *mod) ...@@ -64,12 +64,6 @@ void tilcdc_module_cleanup(struct tilcdc_module *mod)
static struct of_device_id tilcdc_of_match[]; static struct of_device_id tilcdc_of_match[];
static struct drm_framebuffer *tilcdc_fb_create(struct drm_device *dev,
struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd)
{
return drm_gem_fb_create(dev, file_priv, mode_cmd);
}
static int tilcdc_atomic_check(struct drm_device *dev, static int tilcdc_atomic_check(struct drm_device *dev,
struct drm_atomic_state *state) struct drm_atomic_state *state)
{ {
...@@ -140,7 +134,7 @@ static int tilcdc_commit(struct drm_device *dev, ...@@ -140,7 +134,7 @@ static int tilcdc_commit(struct drm_device *dev,
} }
static const struct drm_mode_config_funcs mode_config_funcs = { static const struct drm_mode_config_funcs mode_config_funcs = {
.fb_create = tilcdc_fb_create, .fb_create = drm_gem_fb_create,
.atomic_check = tilcdc_atomic_check, .atomic_check = tilcdc_atomic_check,
.atomic_commit = tilcdc_commit, .atomic_commit = tilcdc_commit,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment