drm/hisilicon/kirin: Set GEM CMA functions with DRM_GEM_CMA_DRIVER_OPS
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 5 Jun 2020 07:32:18 +0000 (09:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Jun 2020 07:03:13 +0000 (09:03 +0200)
commit491e00fbbc03e354946c48dbf42099fc617cf16f
treeb0756b80b4635cf8fd27c92ad39f3f8e248170fa
parent986e670d3123d0470cd73247029661f7a6559099
drm/hisilicon/kirin: Set GEM CMA functions with DRM_GEM_CMA_DRIVER_OPS

DRM_GEM_CMA_DRIVER_OPS sets the functions in struct drm_driver
to their defaults. No functional changes are made.

v2:
* use DRM_GEM_CMA_DRIVER_OPS

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Xu YiPing <xuyiping@hisilicon.com>
Cc: Rongrong Zou <zourongrong@gmail.com>
Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605073247.4057-15-tzimmermann@suse.de
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c