gem.h 835 B

123456789101112131415161718192021
  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. #ifndef _GEM_H
  16. #define _GEM_H
  17. extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,
  18. u64 size, u32 *handlep, int stolen, u32 align);
  19. #endif