diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-23 13:21:58 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-25 10:21:43 +0300 |
commit | c85dce1b2e7e5037ef9f01bc64a26e40c92a9e79 (patch) | |
tree | 2925c9d45379e24c70107456552cfbf01e319d92 /include/drm/drm_drv.h | |
parent | 1adda8b8f12c22705e7f86c120499d806d09af6a (diff) | |
download | linux-c85dce1b2e7e5037ef9f01bc64a26e40c92a9e79.tar.xz |
drm/xlnx: Initialize DRM driver instance with CMA helper macro
The xlnx 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, .dumb_destroy and .gem_prime_import, were initialized
to their default implementations, so they are just kept empty now.
v2:
* initialize with DRM_GEM_CMA_DRIVER_OPS_WITH_DUMB_CREATE (Laurent)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923102159.24084-22-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_drv.h')
0 files changed, 0 insertions, 0 deletions