]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff9521b71837a839a2868397aa0b8828b7c61011
treee65f482fe3a18176fb8f3355f4a6ea680555459b
parent99b5d103b96d899ce70de6f6e80d591b6a670d11
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