Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/vc4: 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: 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

+2 -1
+2 -1
drivers/gpu/drm/vc4/vc4_kms.c
··· 20 20 #include <drm/drm_crtc_helper.h> 21 21 #include <drm/drm_plane_helper.h> 22 22 #include <drm/drm_fb_cma_helper.h> 23 + #include <drm/drm_gem_framebuffer_helper.h> 23 24 #include "vc4_drv.h" 24 25 25 26 static void vc4_output_poll_changed(struct drm_device *dev) ··· 190 189 mode_cmd = &mode_cmd_local; 191 190 } 192 191 193 - return drm_fb_cma_create(dev, file_priv, mode_cmd); 192 + return drm_gem_fb_create(dev, file_priv, mode_cmd); 194 193 } 195 194 196 195 static const struct drm_mode_config_funcs vc4_mode_funcs = {