summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHemant Hariyani2014-05-07 14:55:12 -0500
committerHemant Hariyani2014-05-07 15:09:44 -0500
commit34dceb6b8f0783c045442d904e2bbb1f6bce0686 (patch)
tree2993cc8d0920539663debc23c397c9e46bebbea5 /jacinto6/sgx_src/eurasia_km/eurasiacon/build
parente7d1fcd037d7f66ac2b7e891971fd2140c356d61 (diff)
downloaddevice-ti-proprietary-open-34dceb6b8f0783c045442d904e2bbb1f6bce0686.tar.gz
device-ti-proprietary-open-34dceb6b8f0783c045442d904e2bbb1f6bce0686.tar.xz
device-ti-proprietary-open-34dceb6b8f0783c045442d904e2bbb1f6bce0686.zip
SGX-BIN: DDK binaries and KM source with Post2 fix
DDK binaries and KM source. This version has Post2 fix for HWC to post NV12 layers. Change-Id: I88d9cf4df6ee8ebc96ffd051252b94bded68caaa Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/eurasiacon/build')
-rw-r--r--jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/external_tarball.mk49
-rw-r--r--jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/Makefile194
-rw-r--r--jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/products.mk46
3 files changed, 0 insertions, 289 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/external_tarball.mk b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/external_tarball.mk
deleted file mode 100644
index d3aa147..0000000
--- a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/external_tarball.mk
+++ /dev/null
@@ -1,49 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41ifneq ($(EXTERNAL_3PDD_TARBALL),)
42TAR_OPT_STRIP_COMPONENTS ?= --strip-components
43prepare_tree: $(OUT)/target/kbuild/external
44$(OUT)/target/kbuild/external: eurasiacon/external/$(EXTERNAL_3PDD_TARBALL)
45 @echo "Extracting $<.."
46 @mkdir -p $@
47 @tar $(TAR_OPT_STRIP_COMPONENTS) 1 --touch -jxf $< -C $@
48 @touch $(OUT)/target/kbuild/external
49endif
diff --git a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/Makefile b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/Makefile
deleted file mode 100644
index 0d9ba11..0000000
--- a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/Makefile
+++ /dev/null
@@ -1,194 +0,0 @@
1########################################################################### ###
2#@Title Root makefile for omap4430 Android. Builds everything else.
3#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
4#@License Dual MIT/GPLv2
5#
6# The contents of this file are subject to the MIT license as set out below.
7#
8# Permission is hereby granted, free of charge, to any person obtaining a copy
9# of this software and associated documentation files (the "Software"), to deal
10# in the Software without restriction, including without limitation the rights
11# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12# copies of the Software, and to permit persons to whom the Software is
13# furnished to do so, subject to the following conditions:
14#
15# The above copyright notice and this permission notice shall be included in
16# all copies or substantial portions of the Software.
17#
18# Alternatively, the contents of this file may be used under the terms of
19# the GNU General Public License Version 2 ("GPL") in which case the provisions
20# of GPL are applicable instead of those above.
21#
22# If you wish to allow use of your version of this file only under the terms of
23# GPL, and not to allow others to use your version of this file under the terms
24# of the MIT license, indicate your decision by deleting the provisions above
25# and replace them with the notice and other provisions required by GPL as set
26# out in the file called "GPL-COPYING" included in this distribution. If you do
27# not delete the provisions above, a recipient may use your version of this file
28# under the terms of either the MIT license or GPL.
29#
30# This License is also included in this distribution in the file called
31# "MIT-COPYING".
32#
33# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
34# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
35# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
36# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
37# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
38# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
39# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40### ###########################################################################
41
42ifeq ($(TARGET_SGX),544sc)
43 SGXCORE := 544
44 SGX_CORE_REV := 112
45else ifeq ($(TARGET_SGX),540)
46 SGXCORE := 540
47 SGX_CORE_REV := 120
48else ifeq ($(TARGET_SGX),544)
49 SGXCORE := 544
50 SGX_CORE_REV := 105
51 HAL_VARIANT := omap5
52 SGX_FEATURE_MP := 1
53 SGX_FEATURE_SYSTEM_CACHE := 1
54 SGX_FEATURE_MP_CORE_COUNT := 2
55else ifeq ($(TARGET_SGX),544es2)
56 SGXCORE := 544
57 SGX_CORE_REV := 116
58 HAL_VARIANT := omap5
59 SGX_FEATURE_MP := 1
60 SGX_FEATURE_SYSTEM_CACHE := 1
61 SGX_FEATURE_MP_CORE_COUNT := 2
62else
63 #default config
64 SGXCORE := 540
65 SGX_CORE_REV := 120
66endif
67export SGXCORE
68export SGX_CORE_REV
69
70SUPPORT_ACTIVE_POWER_MANAGEMENT := 0
71
72SGX_DYNAMIC_TIMING_INFO := 1
73
74SUPPORT_LINUX_USING_WORKQUEUES := 1
75
76DISPLAY_CONTROLLER := omaplfb
77
78PVR_SYSTEM := omap4
79HAL_VARIANT := $(PVR_SYSTEM)
80
81# We have more memory on OMAP platforms, so we can spare to make the
82# pool larger, and have higher resolutions which benefit from it.
83#
84PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 10800
85
86include ../common/android/paths.mk
87include ../common/android/armv7-a.mk
88include ../common/android/features.mk
89
90ifneq ($(strip $(KERNELDIR)),)
91 include ../kernel_version.mk
92 ifeq ($(call kernel-version-at-least,2,6,35),true)
93 PVR_NO_OMAP_TIMER := 1
94 endif
95 ifeq ($(call kernel-version-at-least,2,6,39),true)
96 ifeq ($(LDM_PLATFORM),1)
97 PVR_LDM_PLATFORM_PRE_REGISTERED := 1
98 PVR_LDM_PLATFORM_PRE_REGISTERED_DEV := "\"pvrsrvkm\""
99 endif
100 endif
101 ifeq ($(is_at_least_icecream_sandwich),1)
102 ifeq ($(call kernel-version-at-least,3,0),true)
103 SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1
104 PVR_ANDROID_NEEDS_ACCUM_SYNC_WORKAROUND := 1
105 SYS_OMAP4_HAS_DVFS_FRAMEWORK := 1
106 endif
107 endif
108else
109 ifeq ($(is_at_least_icecream_sandwich),1)
110 $(warning "KERNELDIR is not set, so can't feature check DVFS or dsscomp.")
111 $(warning "Assuming we want DVFS and dsscomp support.")
112 SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1
113 PVR_ANDROID_NEEDS_ACCUM_SYNC_WORKAROUND := 1
114 SYS_OMAP4_HAS_DVFS_FRAMEWORK := 1
115 endif
116endif
117
118ifneq ($(LDM_PLATFORM),1)
119SUPPORT_LINUX_USING_WORKQUEUES := 0
120SUPPORT_LINUX_USING_SHARED_WORKQUEUES := 1
121SUPPORT_ACTIVE_POWER_MANAGEMENT := 0
122DISPLAY_CONTROLLER := pvrlfb
123DISPLAY_CONTROLLER_COMPONENT := linux_framebuffer
124OMAP_NON_FLIP_DISPLAY := 1
125
126# The code for the omaplfb component is now hosted on a
127# different repository. No need to compile this now
128#
129# DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux
130
131endif
132
133ifeq ($(SUPPORT_DRI_DRM),1)
134ifeq ($(PVR_LDM_PLATFORM_PRE_REGISTERED),1)
135PVR_DRI_DRM_PLATFORM_DEV := 1
136PVR_DRI_DRM_STATIC_BUS_ID := 1
137PVR_DRI_DRM_DEV_BUS_ID := "\"platform:pvrsrvkm"\"
138else
139PVR_DRI_DRM_NOT_PCI := 1
140KERNEL_COMPONENTS += linux_drm
141endif
142EXTRA_PVRSRVKM_COMPONENTS += $(DISPLAY_CONTROLLER_COMPONENT)
143EXTRA_KBUILD_SOURCE := $(KERNELDIR)
144# FIXME: Only required for comparison with X's KM
145PVR_SECURE_DRM_AUTH_EXPORT := 1
146ifneq ($(OMAP_NON_FLIP_DISPLAY),1)
147PVR_DISPLAY_CONTROLLER_DRM_IOCTL := 1
148endif
149else
150KERNEL_COMPONENTS += $(DISPLAY_CONTROLLER_COMPONENT)
151endif
152
153SUPPORT_ANDROID_OMAP_NV12 := 1
154
155ifeq ($(is_at_least_icecream_sandwich),1)
156ifeq ($(SUPPORT_ANDROID_COMPOSER_HAL),1)
157PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1
158endif
159endif
160
161PVR_ANDROID_PLATFORM_HAS_LINUX_FBDEV := 1
162
163# FIXME: Remove this once vsync issues are resolved
164PVR_ANDROID_COMPOSITOR_WAIT_FOR_RENDER := 1
165
166ifeq ($(is_at_least_icecream_sandwich),1)
167-include products.mk
168endif
169
170ifeq ($(NO_HARDWARE),1)
171ifeq ($(SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED),1)
172$(info WARNING: SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED=1 is incompatible with NO_HARDWARE=1)
173$(info WARNING: Setting SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED=0 and switching to dc_nohw)
174override SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 0
175override DISPLAY_CONTROLLER := dcnohw
176KERNEL_COMPONENTS += dc_nohw
177endif
178endif
179
180include ../config/core.mk
181include ../common/android/extra_config.mk
182include ../common/dridrm.mk
183include ../common/opencl.mk
184include ../common/omap4.mk
185
186# Not all OMAP4 kernels have a compatible DVFS framework
187#
188$(eval $(call TunableKernelConfigC,SYS_OMAP4_HAS_DVFS_FRAMEWORK,))
189
190# If set, services allows two flips to enter the processing queue,
191# and does not add read dependencies to the set of buffers last
192# flipped to. This is necessary for DSS composition on OMAP4.
193#
194$(eval $(call TunableKernelConfigC,SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED,))
diff --git a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/products.mk b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/products.mk
deleted file mode 100644
index 53073a9..0000000
--- a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/products.mk
+++ /dev/null
@@ -1,46 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41PVRSRV_USSE_EDM_STATUS_DEBUG ?= 1
42SGX_DISABLE_VISTEST_SUPPORT ?= 1
43PVRSRV_DUMP_MK_TRACE ?= 1
44PVRSRV_NEED_PVR_DPF ?= 1
45PVRSRV_NEED_PVR_TRACE ?= 1
46PVRSRV_NEED_PVR_ASSERT ?= 1