aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr
Commit message (Collapse)AuthorAgeFilesLines
* Remove PVR.Kyle Repinski2014-11-19178-95586/+0
|
* omaplfb: If the framebuffer is in VRAM avoid mapping into Tiler1DTony Lofthouse2014-10-011-0/+7
| | | | | | | | | | | | Calculate whether we get an address which lies in the range of the frame buffer, if we do pass this on directly to dsscomp. Previously the framebuffer was accidentally being mapped into Tiler1D, which could cause some composition scenarios to fail to render because HWC calculations assumed exclusive use of the tiler 1d slot for itself. Change-Id: I7c90e4adb9bee25e6a3825d456653af088803f83 Signed-off-by: Tony Lofthouse <a0741364@ti.com>
* SGX-KM: Use define to set core revisionRodrigo Obregon2014-10-011-2/+2
| | | | | | | | | | | Use SGX_CORE_REV to set the attribute in the sysfs entry. This will allow to use different core revisions with the same SGX core. Signed-off-by: Rodrigo Obregon <robregon@ti.com> Change-Id: I618a8fc6b62ae716ee26a079fc3f939ec4083a45
* SGX-KM: egl.cfg sysfs entryTate Hornbeck2014-10-014-0/+88
| | | | | | | | | Create a runtime sysfs entry for egl.cfg. This is needed by the SGX driver to determine which OpenGL libraries to load. Change-Id: Ief39f498721d0ad71942f8a49fcfefc4c449d656 Signed-off-by: Tate Hornbeck <tate.hornbeck@ti.com>
* SGX-KM: Add build config for SGX 544 (OMAP 4470)Hemant Hariyani2014-10-012-0/+7
| | | | | | | Adding build config for SGX 544 (OMAP 4470) Change-Id: Iaecdbd3db551b5685f8d8e3b93656a4b3f33b721 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
* gpu: pvr: Update to DDK 1.8@2198402Alistair Strachan2012-11-267-19/+34
| | | | | | | - Implemented a DC API change which queues a dummy display flip to workaround a rare and difficult to reproduce synchronization deadlock. - Eliminate log spam from Linux shrinker integration.
* gpu: pvr: Update to DDK 1.8@905891Ben Jones2012-05-142-57/+78
| | | | | | - Fix some bugs in the newly introduced memory pool code (b/6096575) Change-Id: I983f28e7c350ad72510b82b94e27d2cc103e10cd
* gpu: pvr: Update to DDK 1.8@904153Alistair Strachan2012-05-1013-458/+1213
| | | | | | | | | | | - Fix http://b/6446135 "eglHibernateProcessIMG slows down.." Release the bridge mutex in various places while waiting on the hardware. Permits multiple userspace processes/threads entering the driver simulataneously in some controlled cases. - Fix http://b/6096575 "some gralloc operations are very slow" Add a shrinkable pool for uncached memory allocations. Change-Id: I9c793ae3fae7b33f7b7c64aec53f848fed8d4eac
* gpu: pvr: Update to DDK 1.8@900138.Alistair Strachan2012-05-0315-69/+221
| | | | | | | | - Fixed "XPROC workaround in a bad state" messages, issue http://b/5806132. - Fixed missing GPL header in sgx_ukernel_status_codes.h. Change-Id: I0f09634f0ac3cbc2fcacee81a79c3e28b67aea9e
* gpu: pvr: Update to DDK 1.8@873556Alistair Strachan2012-05-039-50/+993
| | | | | | | | | | - Allow SGX compositions requiring implicit synchronization to correctly synchronize with more than 8 buffers. This feature has been tested with 16 buffers. - Enable kernel driver to decode SGX firmware status codes. Fixes http://b/6168368 Change-Id: I047b35d5a7f6ddf3e6fd6af5130cce1207499e25
* gpu: pvr: Update to DDK 1.8@869593Ben Jones2012-04-0519-130/+239
| | | | | | - Add missing PVRSRVKernelSyncInfoDecRef calls to error paths. Change-Id: I68e15fdd828449038a966f55f8d0a1461f060b5b
* gpu: pvr: Update to DDK 1.8@840215Alistair Strachan2012-03-092-4/+16
| | | | Change-Id: I5e42b74681bb5ee14235f7ed227d4fe581a2d12e
* gpu: pvr: Update to DDK 1.8@813213Alistair Strachan2012-03-093-12/+175
| | | | | | | | - Add PVRSRV_MMU_MAKE_READWRITE_ON_DEMAND feature for Crespo MapPage() crash bug investigation. This will write-protect the MMU pagetables when the SGX driver is not modifying them. Change-Id: If2b488128ddf28536d6e706dc977f719c0193f61
* gpu: pvr: Update to DDK 1.8@808799Alistair Strachan2012-02-236-16/+59
| | | | | | | - Fix a bad pointer dereference in services DC. - Correct GPL license text in two files. Change-Id: Id5c4b3b2b3495007aa9a8e554f8ff8a69ebec500
* gpu: pvr: Update to DDK 1.8@796887.Alistair Strachan2012-01-278-10/+79
| | | | | | | | | - Re-introduce DC refcounting fix, which makes an unrelated (and unfixed) problem more reproducible. - Fix a bug where the driver would not wait for propagation (during power transitions) before performing a soft reset. Change-Id: I88d9b6d0e434bcbcfacae967b634a0699723d35b
* gpu: pvr: Update to DDK 1.8@795947Alistair Strachan2012-01-271-2/+2
| | | | Change-Id: I06b43df6f86c7199b5d75dc10716e6e6b65ee9b5
* gpu: pvr: Update to DDK 1.8@794370Alistair Strachan2012-01-1921-216/+767
| | | | Change-Id: I77887fd47acf5f29cce09bc9e06378d3c8608614
* OMAPLFB/DSSCOMP: Added support for non-gralloc layers in Post2Lajos Molnar2011-12-121-32/+45
| | | | | | | | | | | | | | | Reworked OMAPLFB to work with new layer indexing in hwc. Post2 layers are now specified directly (vs. assuming co-ordered dsscomp and post2 layers). This allows specifying non-post2 layers, such as static images that HWC may choose to display on external displays. Added support to display external FBMEM images in addition to the layers passed to Post2. Change-Id: I4f7e4946c7656c0d1c70e4f89649054ea253e92a Signed-off-by: Lajos Molnar <lajos@ti.com>
* gpu: pvr: Update to DDK 1.8@785978Alistair Strachan2011-12-088-25/+166
| | | | | | | - Revert 1.8@778707 bugfix to queue.c (again). - Merge up refcount debugging changes (can still be compiled out). Change-Id: I901010a1523489fa3fcf824b613b1575670150ac
* gpu: pvr: Update to DDK 1.8@782952Alistair Strachan2011-11-302-3/+5
| | | | | | | - Flush the CPU cache before 3D transfers or 2D core operations. Fixes glCopyTexSubImage2D() of SW-rendered EGLImage. Change-Id: Ic3eee4c7b455b18772f048458f6900f8b8eda26e
* gpu: pvr: Enable refcount debug feature by default.Alistair Strachan2011-11-291-0/+2
|
* gpu: pvr: Update to DDK 1.8@782847Alistair Strachan2011-11-2913-59/+659
| | | | | | | | - Add reference count debugging feature to dump out the last 256 object reference count modifications. This is for further bug investigation. Change-Id: I8d2c2ea4fb52a68e4ec30abb31628f0c44ec5dec
* gpu: pvr: Update to DDK 1.8@780962Ben Jones2011-11-281-2/+2
| | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. Change-Id: I444346d12c711a3b9e263f803f0eadddd879eac1
* gpu: pvr: Update to DDK 1.8@780209Alistair Strachan2011-11-214-19/+5
| | | | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. (It also reverts the revert of DDK 1.8@779856) Change-Id: I72b4e08f5b9c31f9f576d90f75e9eba39da23aa5
* Revert "gpu: pvr: Update to DDK 1.8@779856"Colin Cross2011-11-184-4/+18
| | | | This reverts commit 033e440c45511ab4fd02584aeca082169c9bfa75.
* gpu: pvr: Update to DDK 1.8@779856Alistair Strachan2011-11-184-18/+4
| | | | | | | | - If PVRMMapRemoveRegisteredArea() detects a reference counting error, it will dump_stack() now so we can find out what called it (bug investigation). - Revert 1.8@778707 bugfix to queue.c in case it is responsible for a regression.
* gpu: pvr: Update to DDK 1.8@779532Alistair Strachan2011-11-181-4/+4
| | | | | This is a version number change only, which is required for compatibility with the user-mode driver.
* gpu: pvr: Update to DDK 1.8@779202Alistair Strachan2011-11-184-18/+45
| | | | | - Dump SGX page tables if corruption is detected. - Fix a security issue found in various PVR ioctls
* gpu: pvr: Update to DDK 1.8@778707Alistair Strachan2011-11-157-3/+56
| | | | | | | | | | | | - Properly reference count display sync objects while they are in use by the SGX queue code. Should fix kernel crashes seen with "stop" command, SurfaceFlinger crashes or framework restart after entering an encryption passphrase. - Add API to determine whether a PDC_MEM_INFO is contiguous. Requested by TI. Change-Id: Iaedb8242f4ecb319623b51f104054a107984ce3f
* gpu: pvr: Update to DDK 1.8@550175Ben Jones2011-11-075-5/+12
| | | | | | | | | | | - http://b/5568038 "Prime lock-up: IMGSRV WaitUntilBufObjNotUsed" Improve debugging situation for this and other similar lockups. Dump microkernel trace and call BUG() when ukernel cleanup or initialisation times out. - Turn on CONFIG_PVR_NEED_PVR_ASSERT in tuna_defconfig. This should help us get better firmware traces from bugreports. Change-Id: I781683f4bad9eaba56397af99cd5f795579f78dc
* gpu: pvr: Update to DDK 1.8@334506Ben Jones2011-11-075-23/+69
| | | | | | | - Cleaned up interface between OMAP third party display and PVR services. Change-Id: I83efbe2df6e4edb4b9861ffe805c00125fac167a
* gpu: pvr: make ACTIVE_POWER_LATENCY a module paramErik Gilling2011-10-283-2/+6
| | | | | Change-Id: I3073ac56de481b0ee5b14f379b52a10dd53faac1 Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: implement intra-frame dvfsErik Gilling2011-10-284-2/+108
| | | | | Change-Id: Icbf59e69e51f6798724eaae0793f923c06d6bc30 Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: add idle loggingErik Gilling2011-10-284-3/+250
| | | | | Change-Id: I825ab0dfd2dddca0fb6ee429113fba0fe79e9257 Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: enbable idle callbacksErik Gilling2011-10-281-0/+1
| | | | | Change-Id: I34c838fd6be88e69384456abbb90e0c58885fa88 Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: refactor DVFSErik Gilling2011-10-281-60/+35
| | | | | Change-Id: Ib4ceaa865e62f696de4615dc5b113f15a9920438 Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: make ACTIVE_POWER_LATENCY_MS respect config optionErik Gilling2011-10-281-1/+3
| | | | | Change-Id: Ie56492c9344e400edfa040f20414e13e571a712d Signed-off-by: Erik Gilling <konkers@android.com>
* Fix for ProcessFlipSunita Nadampalli2011-10-281-1/+1
| | | | | | | | The logic to parse the dsscomp overlay structures is fixed. Change-Id: I9a6214384cdfe30904c171222c31f783eb5b781b Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* gpu: pvr: Update to DDK 1.8@300406Alistair Strachan2011-10-243-14/+5
| | | | | | | - Make sure we return NULL to PVR services if we fail to allocate via ion/TILER. Change-Id: I7a4b8dd75a0923ecdfdd1c46fea0e1b993b5dec4
* gpu: pvr: Update to DDK 1.8@298138Alistair Strachan2011-10-202-29/+43
| | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. Change-Id: I4592d17effc481187cd6bda87118029739dac8af
* gpu: pvr: Update to DDK 1.8@297401Alistair Strachan2011-10-183-6/+12
| | | | | | | - Replace a BUG_ON in ion.c with proper error handling. - Add some instrumentation to LinuxMemAreaToCpuPAddr(). Change-Id: I7ec640d09d21dbe6b896b149e1ec59b43f9c964a
* gpu: pvr: Update to DDK 1.8@296806Ben Jones2011-10-134-31/+77
| | | | | | | | | | - http://b/5443319 "PowerVR driver allows screenshots to be taken by any user" The PVRSRVGetDCSystemBuffer function (which mapped the framebuffer to userspace) has now been completely removed. It should no longer be possible for an application to map the system framebuffer. Change-Id: I806b8afedfa601a25d9d4bc84702360d3e805827
* gpu: pvr: make SGXPanic dependent on PVRSRV_RESET_ON_HWTIMEOUTErik Gilling2011-10-121-0/+4
| | | | | Change-Id: Ia5ac7932e2cc89c9e7748c4224a20af62e6079dc Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: Update to DDK 1.8@295945Alistair Strachan2011-10-102-3/+6
| | | | | | | - Make sure buffer IDs propagate to other process mappings. Debug feature only. Change-Id: I87dda23e85acb287544df06a42396a7cc29c8819
* OMAP:OMAPLFB: Conditionally compile ION specific codeLajos Molnar2011-10-071-0/+2
| | | | | | | Compile out ION support if ION is not supported. Change-Id: I8210f0fbc8f822d46579bfecd787b148c66115ab Signed-off-by: Lajos Molnar <molnar@ti.com>
* OMAP: OMAPLFB: Allocate framebuffer from nonsecure carveoutLajos Molnar2011-10-071-1/+5
| | | | | | | | Allocate framebuffer swap-chain from nonsecure carveout if possible. Change-Id: I23415f0c0061f62e662a653b6edbe0974e1e882c Signed-off-by: Lajos Molnar <molnar@ti.com>
* gpu: pvr: Update to DDK 1.8@295231Ben Jones2011-10-051-2/+2
| | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. Change-Id: I267424711d8971c80bd74fb3f939bf0f6013ee73
* gpu: pvr: Update to DDK 1.8@294981Alistair Strachan2011-10-041-2/+2
| | | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. Change-Id: I036959b45f0ad12f39aa1f7f1389661f6b7664fb Signed-off-by: Erik Gilling <konkers@android.com>
* gpu: pvr: Update to DDK 1.8@293942Alistair Strachan2011-09-283-6/+19
| | | | | | | | - Fix http://b/5359899 "hardware composer artifacts for SurfaceView.." Make sure the CPU cache is cleaned if no SGX render was issued (only SW renders) between two HWC compositions. Change-Id: Ic7a785cf00788eefe323289e5c850dc90038ee9c
* gpu: pvr: Update to DDK 1.8@293628Alistair Strachan2011-09-271-2/+2
| | | | | | | This is a version number change only, which is required for compatibility with the user-mode driver. Change-Id: I7d01605f826ad79efb8f30dadcca5018eefcba05