aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-09-24 08:26:17 -0400
committerNoralf Trønnes <noralf@tronnes.org>2017-10-01 11:00:20 -0400
commitba22bf6785810d89496be1d5ee9b159cc9546560 (patch)
tree97faf98f2ec02907990b2dd898256354e890978b
parentcce1a87788eb607e9616fe0d1c04f5da72141068 (diff)
drm/fsl-dcu: Use drm_gem_fb_create()
drm_fb_cma_create() is just a wrapper around drm_gem_fb_create() now, so use the function directly. Cc: Stefan Agner <stefan@agner.ch> Cc: Alison Wang <alison.wang@freescale.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/1506255985-61113-3-git-send-email-noralf@tronnes.org
-rw-r--r--drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
index d9d6cc1c8e39..ddc68e476a4d 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
@@ -13,6 +13,7 @@
13#include <drm/drm_atomic_helper.h> 13#include <drm/drm_atomic_helper.h>
14#include <drm/drm_crtc_helper.h> 14#include <drm/drm_crtc_helper.h>
15#include <drm/drm_fb_cma_helper.h> 15#include <drm/drm_fb_cma_helper.h>
16#include <drm/drm_gem_framebuffer_helper.h>
16 17
17#include "fsl_dcu_drm_crtc.h" 18#include "fsl_dcu_drm_crtc.h"
18#include "fsl_dcu_drm_drv.h" 19#include "fsl_dcu_drm_drv.h"
@@ -20,7 +21,7 @@
20static const struct drm_mode_config_funcs fsl_dcu_drm_mode_config_funcs = { 21static const struct drm_mode_config_funcs fsl_dcu_drm_mode_config_funcs = {
21 .atomic_check = drm_atomic_helper_check, 22 .atomic_check = drm_atomic_helper_check,
22 .atomic_commit = drm_atomic_helper_commit, 23 .atomic_commit = drm_atomic_helper_commit,
23 .fb_create = drm_fb_cma_create, 24 .fb_create = drm_gem_fb_create,
24}; 25};
25 26
26int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev) 27int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev)