Subversion Repositories Kolibri OS

Rev

Rev 5060 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Created: Fri Jan 19 10:48:35 2001 by faith@acm.org
  3.  *
  4.  * Copyright 2001 VA Linux Systems, Inc., Sunnyvale, California.
  5.  * All Rights Reserved.
  6.  *
  7.  * Author Rickard E. (Rik) Faith <faith@valinux.com>
  8.  *
  9.  * Permission is hereby granted, free of charge, to any person obtaining a
  10.  * copy of this software and associated documentation files (the "Software"),
  11.  * to deal in the Software without restriction, including without limitation
  12.  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  13.  * and/or sell copies of the Software, and to permit persons to whom the
  14.  * Software is furnished to do so, subject to the following conditions:
  15.  *
  16.  * The above copyright notice and this permission notice (including the next
  17.  * paragraph) shall be included in all copies or substantial portions of the
  18.  * Software.
  19.  *
  20.  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  21.  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  22.  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  23.  * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  24.  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  25.  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  26.  * DEALINGS IN THE SOFTWARE.
  27.  */
  28.  
  29. #include <linux/fs.h>
  30. #include <linux/module.h>
  31. #include <linux/slab.h>
  32. #include <linux/export.h>
  33. #include <drm/drmP.h>
  34. #include <drm/drm_core.h>
  35.  
  36. bool drm_atomic = 0;
  37.  
  38. static int drm_version(struct drm_device *dev, void *data,
  39.                        struct drm_file *file_priv);
  40.  
  41.  
  42. int drm_core_init(void)
  43. {
  44.         int ret = -ENOMEM;
  45.  
  46.         drm_global_init();
  47.         drm_connector_ida_init();
  48. //   idr_init(&drm_minors_idr);
  49.     return 0;
  50. }
  51.  
  52.  
  53.  
  54.