diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-23 13:21:57 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-25 10:21:40 +0300 |
commit | 1adda8b8f12c22705e7f86c120499d806d09af6a (patch) | |
tree | 29cfa89c3538c6949f0a4c03836722a50fa4d1c4 /drivers/gpu/drm/xen/xen_drm_front.h | |
parent | b76b85b7c2e28a0e73dbd2d4cf4da7c933858924 (diff) | |
download | linux-1adda8b8f12c22705e7f86c120499d806d09af6a.tar.xz |
drm/xen: Introduce GEM object functions
GEM object functions deprecate several similar callback interfaces in
struct drm_driver. This patch replaces the per-driver callbacks with
per-instance callbacks in xen. The only exception is gem_prime_mmap,
which is non-trivial to convert.
v2:
* convert xen_drm_drv_free_object_unlocked() to static
callback (Oleksandr)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923102159.24084-21-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/xen/xen_drm_front.h')
-rw-r--r-- | drivers/gpu/drm/xen/xen_drm_front.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xen/xen_drm_front.h b/drivers/gpu/drm/xen/xen_drm_front.h index 54486d89650e..cefafe859aba 100644 --- a/drivers/gpu/drm/xen/xen_drm_front.h +++ b/drivers/gpu/drm/xen/xen_drm_front.h @@ -160,4 +160,6 @@ int xen_drm_front_page_flip(struct xen_drm_front_info *front_info, void xen_drm_front_on_frame_done(struct xen_drm_front_info *front_info, int conn_idx, u64 fb_cookie); +void xen_drm_front_gem_object_free(struct drm_gem_object *obj); + #endif /* __XEN_DRM_FRONT_H_ */ |