summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/gem.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-09-23 12:21:42 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2020-09-25 09:20:30 +0200
commit7cd467d0fc661768c5d36cdb864c7115357c16ee (patch)
treebc699b2830be8373d4e02f720d1b2cb2e80bb792 /drivers/gpu/drm/gma500/gem.h
parenta64325a1d76a9e15425c7747dfecea7c5631c82d (diff)
drm/gma500: 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 gma500. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200923102159.24084-6-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/gma500/gem.h')
-rw-r--r--drivers/gpu/drm/gma500/gem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gem.h b/drivers/gpu/drm/gma500/gem.h
index 4a74dc623b6b..3741a711b9fd 100644
--- a/drivers/gpu/drm/gma500/gem.h
+++ b/drivers/gpu/drm/gma500/gem.h
@@ -8,6 +8,9 @@
#ifndef _GEM_H
#define _GEM_H
+extern const struct drm_gem_object_funcs psb_gem_object_funcs;
+
extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,
u64 size, u32 *handlep, int stolen, u32 align);
+
#endif