xref: /openbmc/linux/drivers/gpu/drm/gma500/gem.h (revision 275876e2)
1 /**************************************************************************
2  * Copyright (c) 2014 Patrik Jakobsson
3  * All Rights Reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  **************************************************************************/
15 
16 #ifndef _GEM_H
17 #define _GEM_H
18 
19 extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,
20 			  u64 size, u32 *handlep, int stolen, u32 align);
21 #endif
22