projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6eb01a
)
drm/vc4: Use drm_gem_fb_create()
author
Noralf Trønnes
<noralf@tronnes.org>
Sun, 13 Aug 2017 13:32:03 +0000
(15:32 +0200)
committer
Noralf Trønnes
<noralf@tronnes.org>
Wed, 16 Aug 2017 19:35:57 +0000
(21:35 +0200)
drm_fb_cma_create() is just a wrapper around drm_gem_fb_create() now,
so use the function directly.
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link:
https://patchwork.freedesktop.org/patch/msgid/1502631125-13557-21-git-send-email-noralf@tronnes.org
drivers/gpu/drm/vc4/vc4_kms.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_kms.c
b/drivers/gpu/drm/vc4/vc4_kms.c
index dfe7554268f0cc6105f8b44c30db996916551137..50c4959b5bd33efe329119a0aa9fd39b255e098f 100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_kms.c
+++ b/
drivers/gpu/drm/vc4/vc4_kms.c
@@
-20,6
+20,7
@@
#include <drm/drm_crtc_helper.h>
#include <drm/drm_plane_helper.h>
#include <drm/drm_fb_cma_helper.h>
+#include <drm/drm_gem_framebuffer_helper.h>
#include "vc4_drv.h"
static void vc4_output_poll_changed(struct drm_device *dev)
@@
-189,7
+190,7
@@
static struct drm_framebuffer *vc4_fb_create(struct drm_device *dev,
mode_cmd = &mode_cmd_local;
}
- return drm_
fb_cma
_create(dev, file_priv, mode_cmd);
+ return drm_
gem_fb
_create(dev, file_priv, mode_cmd);
}
static const struct drm_mode_config_funcs vc4_mode_funcs = {