summaryrefslogtreecommitdiff
path: root/drivers/gpu/pvr/include4/pvrversion.h
diff options
context:
space:
mode:
authorWengang Wu <wgw@motorola.com>2014-06-30 11:15:38 -0500
committerWengang Wu <wgw@motorola.com>2014-07-01 19:11:24 +0000
commitc482a603276273419b6f4adbcea183787dd03582 (patch)
tree35f90d0e1c45dcf41df5c92ab375e3a24459de15 /drivers/gpu/pvr/include4/pvrversion.h
parent4ef0c4d2561955eeafc1585627736c561ea65bb7 (diff)
downloadolio-linux-3.10-c482a603276273419b6f4adbcea183787dd03582.tar.xz
olio-linux-3.10-c482a603276273419b6f4adbcea183787dd03582.zip
IKXCLOCK-1806 pvr ver 3: Disabling LLS (Low Latency Scheduling) for SGX DDK
Low latency scheduling divides each 3D task into 4 subtasks, where each subtask renders a quadrant of the output buffer. This adds additional overhead on both the CPU and GPU, and is not necessary when working with the small output buffers we use due to the low resolution on xclock's display. SUPPORT_SGX_PRIORITY_SCHEDULING was not explicitly enabled before, but was enabled automatically by SUPPORT_SGX_LOW_LATENCY_SCHEDULING. Enable this feature explicitly so that it stays on when LLS is disabled. This change must be made to the user and kernel drivers at the same time or the GPU driver will not start. Change-Id: I21081f37edc42e050a048ce864c5aa7d4552a69e
Diffstat (limited to 'drivers/gpu/pvr/include4/pvrversion.h')
-rwxr-xr-xdrivers/gpu/pvr/include4/pvrversion.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/include4/pvrversion.h b/drivers/gpu/pvr/include4/pvrversion.h
index ed4025f88b2..840868ed4f8 100755
--- a/drivers/gpu/pvr/include4/pvrversion.h
+++ b/drivers/gpu/pvr/include4/pvrversion.h
@@ -56,8 +56,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define PVRVERSION_BUILD 2701748
#define PVRVERSION_BSCONTROL "SGX_DDK"
+#if defined(MOT_BUILD)
+#define PVRVERSION_MOTBUILD ((PVRVERSION_BUILD<<8) | MOT_BUILD)
+#define PVRVERSION_STRING "SGX_DDK sgxddk 1.12@" PVR_STR2(PVRVERSION_BUILD) "." PVR_STR2(MOT_BUILD)
+#define PVRVERSION_STRING_SHORT "1.12@" PVR_STR2(PVRVERSION_BUILD) "." PVR_STR2(MOT_BUILD) ""
+#else
#define PVRVERSION_STRING "SGX_DDK sgxddk 1.12@" PVR_STR2(PVRVERSION_BUILD)
#define PVRVERSION_STRING_SHORT "1.12@" PVR_STR2(PVRVERSION_BUILD) ""
+#endif
#define COPYRIGHT_TXT "Copyright (c) Imagination Technologies Ltd. All Rights Reserved."