drm/imx/dcss: Initialize DRM driver instance with CMA helper macro
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 23 Sep 2020 10:21:44 +0000 (12:21 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 25 Sep 2020 07:20:43 +0000 (09:20 +0200)
commit80cf656c25b6febea689c49a4bcec98ed8776d64
treee65f482fe3a18176fb8f3355f4a6ea680555459b
parent10012620ea653e46004756b6a02c9fa509382438
drm/imx/dcss: Initialize DRM driver instance with CMA helper macro

The i.MX DCSS driver uses CMA helpers with default callback functions.
Initialize the driver structure with the rsp CMA helper macro. The
driver is being converted to use GEM object functions as part of
this change.

Two callbacks, .gem_prime_export and .gem_prime_import, were initialized
to their default implementations, so they are just kept empty now.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923102159.24084-8-tzimmermann@suse.de
drivers/gpu/drm/imx/dcss/dcss-kms.c