diff options
author | Gowtham Tammana <g-tammana@ti.com> | 2010-09-06 18:28:38 +0200 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2010-09-07 15:44:25 +0200 |
commit | b6b1ac9c0f53064f24f28a7b2347707edf4e28a5 (patch) | |
tree | b7991b8f8ff20c036a1181a88d98f1aacfeeaeff /include | |
parent | d72fa8ec2dd60e3ceb486440fd5b180c281c7fa4 (diff) |
DRM: enable DRM build for SGX DDK
PCI dependency is removed in the DRM makefile. DRM stub files from
DDK are added to drm source tree in the kernel.
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
[s-jan@ti.com: defconfig changes to debian folder + checkpatch fixes]
Signed-off-by: Sebastien Jan <s-jan@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drmP.h | 2 | ||||
-rw-r--r-- | include/drm/pvr_drm_mod.h | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index c1b987158dfa..bd833c3c86a6 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -48,6 +48,8 @@ #include <linux/proc_fs.h> #include <linux/init.h> #include <linux/file.h> +#define CONFIG_PCI /* hack, PCI is not enabled globally + * enabling it locally here. TODO: clean */ #include <linux/pci.h> #include <linux/jiffies.h> #include <linux/smp_lock.h> /* For (un)lock_kernel */ diff --git a/include/drm/pvr_drm_mod.h b/include/drm/pvr_drm_mod.h new file mode 100644 index 000000000000..1a9db9b7edc7 --- /dev/null +++ b/include/drm/pvr_drm_mod.h @@ -0,0 +1,34 @@ +/********************************************************************** + * + * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful but, except + * as otherwise stated in writing, without any warranty; without even the + * implied warranty of merchantability or fitness for a particular purpose. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * + * The full GNU General Public License is included in this distribution in + * the file called "COPYING". + * + * Contact Information: + * Imagination Technologies Ltd. <gpl-support@imgtec.com> + * Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK + * + ******************************************************************************/ + +#ifndef __PVR_DRM_MOD_H__ +#define __PVR_DRM_MOD_H__ + +int drm_pvr_dev_add(void); + +void drm_pvr_dev_remove(void); + +#endif |