2021-05-27 00:09:36 +05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
/**************************************************************************
|
|
|
|
* Copyright (c) 2014 Patrik Jakobsson
|
|
|
|
* All Rights Reserved.
|
|
|
|
*
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _GEM_H
|
|
|
|
#define _GEM_H
|
|
|
|
|
2021-10-02 21:09:28 +05:00
|
|
|
struct drm_device;
|
|
|
|
|
|
|
|
extern const struct drm_gem_object_funcs psb_gem_object_funcs;
|
|
|
|
|
2021-05-27 00:09:36 +05:00
|
|
|
extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,
|
|
|
|
u64 size, u32 *handlep, int stolen, u32 align);
|
2021-10-02 21:09:28 +05:00
|
|
|
|
2021-05-27 00:09:36 +05:00
|
|
|
#endif
|