From c482a603276273419b6f4adbcea183787dd03582 Mon Sep 17 00:00:00 2001 From: Wengang Wu Date: Mon, 30 Jun 2014 11:15:38 -0500 Subject: 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 --- drivers/gpu/pvr/include4/pvrversion.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/gpu/pvr/include4') 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." -- cgit v1.2.3-70-g09d2