Jiyu Yang [Fri, 11 Aug 2017 14:55:58 +0000 (22:55 +0800)]
NEEDLEPLAT-3051: map the scaled videobuffer instead of allocated. [1/1]
PD#148923
[Problem]
AIV started with jittery playbak and then video froze (with audio running)
this problem was introduced in NEEDLEPLAT-1097.
[Solution]
map the scaled video buffer instead of the previous skip map which caused
the mali_mem growing larger and lead to the create EGLImage fail
[Platform]
needle, stark
Change-Id: I8ddbe51698bbec51e5a53afb43c5a9383df6a9db
stark li [Tue, 1 Aug 2017 18:19:21 +0000 (11:19 -0700)]
NEEDLEPLAT-2845: Coordinate SF and app rendering, Prevent SF grab gpu source. [1/1]
PD#148617
[Problem]
IAP purchase dialog gets stuck and unable to make IAP purchases.
[Solution]
Coordinate SF and app rendering, Prevent SF grab gpu source.
[Platform]
needle, stark
Change-Id: I742e9ce825617fe7c1a149f79d66d24c9194b32c
Jiyu Yang [Tue, 20 Jun 2017 05:49:13 +0000 (13:49 +0800)]
gpu: fixed o-pdk compile error on r6p1
PD#147955
Change-Id: I0088c737927b7901aba37c70e80dbe71e6c65fdf
Simon Zheng [Fri, 21 Jul 2017 07:33:33 +0000 (00:33 -0700)]
Merge "gpu: fixed min_state of thermal" into r6p1
Simon Zheng [Thu, 20 Jul 2017 12:30:20 +0000 (05:30 -0700)]
Merge "use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888" into r6p1
Jiyu Yang [Tue, 18 Jul 2017 11:12:30 +0000 (19:12 +0800)]
gpu: fixed min_state of thermal
PD#143724 fixed error in m8b m8m2 driver
Change-Id: I6666ec1da1711225701e323d29fc2fc8c71df3d1
Jiyu Yang [Fri, 14 Jul 2017 05:38:47 +0000 (13:38 +0800)]
use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888
PD#146294
use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888
(Android flexible YCbCr 4:2:0 formats)
This format allows platforms to use an efficient YCbCr/YCrCb 4:2:0
buffer layout, while still describing the general format in a
layout-independent manner. While called YCbCr, it can be
used to describe formats with either chromatic ordering, as well as
whole planar or semiplanar layouts.
struct android_ycbcr (below) is the the struct used to describe it.
This format must be accepted by the gralloc module when
USAGE_SW_WRITE_* or USAGE_SW_READ_* are set.
This format is locked for use by gralloc's (*lock_ycbcr) method, and
locking with the (*lock) method will return an error.
When used with ANativeWindow, the dataSpace field describes the color
space of the buffer.
Change-Id: I1167c091350f17f8f6e4477841d0ab485e57954d
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Wed, 21 Jun 2017 04:08:21 +0000 (12:08 +0800)]
gpu: update the license [1/1]
PD#146719 license clean up
Change-Id: Ib93afab3a19b29ac89cfc6ec964912efb51095d4
Jiyu Yang [Tue, 9 May 2017 11:03:19 +0000 (19:03 +0800)]
PD#141398 r7p0 for m8b board
Change-Id: Ib4a6ad69a24aa3ef46ad168db35f1b6ed61f2c03
Jiyu Yang [Tue, 13 Jun 2017 11:49:08 +0000 (19:49 +0800)]
PD#142871 gpu: add mali for kitkat
Change-Id: Ife80a228181bce52597987c2ae24c753e3fe177f
wenbiao.zhang [Wed, 3 May 2017 07:43:31 +0000 (15:43 +0800)]
PD#143724: fixed min_state of thermal
for stark dvfs tbl is 125, 285, 400, 500, 666, 744.
so get_mali_freq_level should report min_state for STARK below
744 -> 0
666 -> 1
500 -> 2
400 -> 3
285 -> 4
125 -> 5
Change-Id: Iad17b56e8f22a29064a432f5c1810b1cb26cc79b
Jiyu Yang [Wed, 26 Apr 2017 13:35:07 +0000 (21:35 +0800)]
PD#139269 platform overlay buffer allocation
Change-Id: Ib6e62cc004eb1ca2444c59b0cb5addf3890896c9
Jiyu Yang [Fri, 24 Mar 2017 07:19:19 +0000 (15:19 +0800)]
PD#141500 midgard r16p0 release
Change-Id: Id03df3256c49740cc517f63723101ab0cf98664a
Jiyu Yang [Tue, 7 Mar 2017 10:42:37 +0000 (18:42 +0800)]
mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
PD#138714 kernel 4.9 bringup
PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time
ago with promise that one day it will be possible to implement page
cache with bigger chunks than PAGE_SIZE.
This promise never materialized. And unlikely will.
We have many places where PAGE_CACHE_SIZE assumed to be equal to
PAGE_SIZE. And it's constant source of confusion on whether
PAGE_CACHE_* or PAGE_* constant should be used in a particular case,
especially on the border between fs and mm.
Global switching to PAGE_CACHE_SIZE != PAGE_SIZE would cause to much
breakage to be doable.
Let's stop pretending that pages in page cache are special. They are
not.
The changes are pretty straight-forward:
- <foo> << (PAGE_CACHE_SHIFT - PAGE_SHIFT) -> <foo>;
- <foo> >> (PAGE_CACHE_SHIFT - PAGE_SHIFT) -> <foo>;
- PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} -> PAGE_{SIZE,SHIFT,MASK,ALIGN};
- page_cache_get() -> get_page();
- page_cache_release() -> put_page();
This patch contains automated changes generated with coccinelle using
script below. For some reason, coccinelle doesn't patch header files.
I've called spatch for them manually.
The only adjustment after coccinelle is revert of changes to
PAGE_CAHCE_ALIGN definition: we are going to drop it later.
There are few places in the code where coccinelle didn't reach. I'll
fix them manually in a separate patch. Comments and documentation also
will be addressed with the separate patch.
virtual patch
@@
expression E;
@@
- E << (PAGE_CACHE_SHIFT - PAGE_SHIFT)
+ E
@@
expression E;
@@
- E >> (PAGE_CACHE_SHIFT - PAGE_SHIFT)
+ E
@@
@@
- PAGE_CACHE_SHIFT
+ PAGE_SHIFT
@@
@@
- PAGE_CACHE_SIZE
+ PAGE_SIZE
@@
@@
- PAGE_CACHE_MASK
+ PAGE_MASK
@@
expression E;
@@
- PAGE_CACHE_ALIGN(E)
+ PAGE_ALIGN(E)
@@
expression E;
@@
- page_cache_get(E)
+ get_page(E)
@@
expression E;
@@
- page_cache_release(E)
+ put_page(E)
Change-Id: I139b5a4aab2622a3813233b1c224c02f0df9a621
Jiyu Yang [Tue, 7 Mar 2017 10:23:46 +0000 (18:23 +0800)]
dma-mapping: use unsigned long for dma_attrs
PD#138714 kernel 4.9 bringup
The dma-mapping core and the implementations do not change the DMA
attributes passed by pointer. Thus the pointer can point to const data.
However the attributes do not have to be a bitfield. Instead unsigned
long will do fine:
1. This is just simpler. Both in terms of reading the code and setting
attributes. Instead of initializing local attributes on the stack
and passing pointer to it to dma_set_attr(), just set the bits.
2. It brings safeness and checking for const correctness because the
attributes are passed by value.
Semantic patches for this change (at least most of them):
virtual patch
virtual context
@r@
identifier f, attrs;
@@
f(...,
- struct dma_attrs *attrs
+ unsigned long attrs
, ...)
{
...
}
@@
identifier r.f;
@@
f(...,
- NULL
+ 0
)
and
// Options: --all-includes
virtual patch
virtual context
@r@
identifier f, attrs;
type t;
@@
t f(..., struct dma_attrs *attrs);
@@
identifier r.f;
@@
f(...,
- NULL
+ 0
)
Link: http://lkml.kernel.org/r/1468399300-5399-2-git-send-email-k.kozlowski@samsung.com
Change-Id: I570e4dc3f2bc898d0dffa65d6e85b2767bc33832
Jiyu Yang [Thu, 23 Feb 2017 10:35:03 +0000 (18:35 +0800)]
PD#138881 disable state tracing when release
Change-Id: Id2dd5a708f7b7f34ab5131053cacb98b5e8c0d6d
Tao Zeng [Tue, 21 Feb 2017 06:27:45 +0000 (14:27 +0800)]
thermal compile ok for kernel 4.4
PD#131267 kernel 4.4 bringup
Change-Id: I3601e6eed68e6843669d472154a2f422a753771d
Jiyu Yang [Wed, 8 Feb 2017 12:53:31 +0000 (20:53 +0800)]
PD#139356 add NV12 support
Change-Id: Ic4ec13fe0534d30decc026082f4b0b25cb6abebd
Jiyu Yang [Fri, 10 Feb 2017 03:04:54 +0000 (11:04 +0800)]
temp disable gp pll request on 4.4
PD#131267 kernel 4.4 bringup
Change-Id: I791702b5b479b52738e869bbcb17b7d2f8a82bbd
Jiyu Yang [Mon, 21 Nov 2016 11:58:08 +0000 (19:58 +0800)]
gpu compile for 4.4
PD#131267 kernel 4.4
gpu compile ok, still have t83x themal can't be compiled.
Change-Id: Icbf7c75959c80166142194d4dc3cd9da9ebf4607
Jiyu Yang [Fri, 20 Jan 2017 08:59:58 +0000 (16:59 +0800)]
PD#132693 fixed Bad frame in CtsMediaTestCases
this happened when run the below cmd:
run cts -m CtsMediaTestCases
-t android.media.cts.EncodeDecodeTest#
testEncodeDecodeVideoFromPersistentSurfaceToSurface720p
Change-Id: I535d00fe395b9893ddf7a6de5c52744c9fe0e3d0
Jiyu Yang [Thu, 5 Jan 2017 05:31:56 +0000 (13:31 +0800)]
PD#132693 fixed libGLES_mali crash
this crash happened when run the below cmd:
run cts -m CtsMediaTestCases
-t android.media.cts.EncodeDecodeTest#testEncodeDecodeVideoFromPersistentSurfaceToSurface720p
Change-Id: I0073cb730ee6aeec4f29af94371f76d9cd0dbf45
Jiyu Yang [Thu, 22 Dec 2016 11:44:20 +0000 (19:44 +0800)]
PD#132695 fixed dEQP failed
Change-Id: I5eaaec1ce4c3cac02d5561f9189cd54be749e51e
Jiyu Yang [Tue, 18 Oct 2016 08:44:38 +0000 (16:44 +0800)]
update mali450 library for Android N
1. fixed video layer couldnot display
2. compile in Android N
Change-Id: Idcab239c15e1fcfc31e73627008641b9a5107d91
Jiyu Yang [Tue, 11 Oct 2016 05:35:50 +0000 (13:35 +0800)]
update r7p0 ddk for mali450
Change-Id: I7cb4b41bc017bd1048b06c0e00a96239f4d55f07
Jiyu Yang [Wed, 22 Jun 2016 09:19:02 +0000 (17:19 +0800)]
PD#128039 update 64bit so for t83x and t82x
Change-Id: Ie05521f8acd9cd381e68c76de2dcf33e480c6ffd
Lawrence Mok [Wed, 13 Jul 2016 01:19:59 +0000 (18:19 -0700)]
re-enable --strip-debug to reduce mali.ko size
from 7.6MB to 560KB
Change-Id: I86ff99724dea265657165e529892920fddf81d65
Jiyu Yang [Tue, 7 Jun 2016 06:47:30 +0000 (14:47 +0800)]
PD#126286 rm max pp and min pp for midgard
Change-Id: Idfb467f2172a54aa65133c858a2717d4ff111749
Jiyu Yang [Tue, 21 Jun 2016 13:20:06 +0000 (21:20 +0800)]
PD#126286 fix soft reset on midgard
The driver will ensure that the GPU is idle
before requesting power down. The power down request
will be made only when all jobs on all slots
have completed (all jobs flush and invalidate
on completion meaning the L2 cache will be empty).
The power down requests of the shader cores,
the tiler and the L2 cache are deferred to the system code
that will disable the clock(TODO) and power-off the whole GPU.
By bypassing the shader cores and core group power down sequences, and power
off the whole GPU instead, allows to this workaround to avoid the beginning of
any spurious transaction.
ter suspend
Change-Id: I048370dc83cb92762217f61b21a0ef3db2da457e
Ao Xu [Thu, 2 Jun 2016 02:46:48 +0000 (10:46 +0800)]
PD#126400: mali: move mali.ko to /system/lib
Change-Id: I9a38eff9eab1cd75a1d12c1fcdad7484469ab271
Jiyu Yang [Mon, 30 May 2016 10:04:49 +0000 (18:04 +0800)]
PD#125571 fixed compile for customer dir
Change-Id: I675c79ed3485293f3b321a1a5b7daef2af8326b1
Jiyu Yang [Thu, 26 May 2016 12:13:03 +0000 (20:13 +0800)]
PD#125963 gpu lib: fix yuv align to 32
this bug was imported in PD#125571
Change-Id: If2b92384d86f42db66c85a78942ddea16208c4fd
Simon Zheng [Tue, 24 May 2016 10:33:14 +0000 (03:33 -0700)]
Merge "PD#125571 midgard r11p0 rel for t82x and t83x" into r6p1
Jiyu Yang [Mon, 23 May 2016 08:16:30 +0000 (16:16 +0800)]
PD#125571 midgard r11p0 rel for t82x and t83x
commit
d28e5a582d83c19eafe00bc5e27f378ad67d82d0
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Tue May 24 16:03:58 2016 +0800
PD125571 update t82x t83x lib for android L
Change-Id: If605b9f9e98dfb571698363fe1c306771b3536a7
commit
a835f407444207c4110c40bb3d9c0be2192bc1e2
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Mon May 23 20:56:27 2016 +0800
PD#125571 add HAL_PIXEL_FORMAT_YCrCb_420_SP
this will be removed when android N
Change-Id: If23ba5d863b8f9d207b2923e82753949cbd0af55
commit
398ec136c3f1af79f6aa9c2c00912738cd66aed5
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Mon May 23 13:00:51 2016 +0800
PD#125571 update library for t82x and t83x
Change-Id: Id16041676497fa91072a9af0586d968420c16536
commit
b61cc518957e374975abe11ce743c792261b770a
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Fri May 20 14:43:04 2016 +0800
TX041-SW-99002-r11p0-00rel0
Change-Id: I6d18ef50fad81b939cf3bff21b108456258e63de
commit
210fd8146e5b64a83ba674abdfb8edbd53b22097
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Fri May 20 14:39:56 2016 +0800
TX041-SW-99002-r10p0-00rel0
Change-Id: I9d6aad092a3e69236c38f078ab6633d029a07997
commit
017572cb09550913ecd52e43ff2eb0754c5115c3
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Fri May 20 14:37:31 2016 +0800
TX041-SW-99002-r9p0-05rel0
Change-Id: Iab5b27d200621612c36deec6d1fef049af65db19
commit
4e9d6a0f22046d717c7f2599d5c89816e37d35d9
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Fri May 20 14:36:15 2016 +0800
TX041-SW-99002-r8p0-02rel0
Change-Id: Ic59759da9c59a5055595d96f9826ec1f98bdf8ce
Change-Id: I95c443fdc26dd1143ee90b2debdb40f94905e61c
Jiyu Yang [Thu, 19 May 2016 14:51:38 +0000 (22:51 +0800)]
PD#125571 gpu: update mk
Change-Id: I96c5f6b4162c5eebef0f4b91535a6781e8eb3baa
Simon Zheng [Wed, 18 May 2016 03:09:33 +0000 (20:09 -0700)]
Merge "PD#125292 gpu:dont set gp pll twice" into r6p1
Jiyu Yang [Tue, 17 May 2016 07:22:03 +0000 (15:22 +0800)]
PD#125292 gpu:dont set gp pll twice
Change-Id: I4ac6a6f15b7f19f5dc4d7f9565754f53d641d58b
Jiyu Yang [Sun, 15 May 2016 07:27:29 +0000 (15:27 +0800)]
PD#124800 add t82x support
Change-Id: I15a1198c0a39a81c10613f2b8da3e0ec3cc4600e
Tao Zeng [Wed, 20 Apr 2016 04:49:06 +0000 (12:49 +0800)]
PD#114881: add macro to control ipa
using CONFIG_DEVFREQ_THERMAL macro to control ipa
Change-Id: I54748b04015b00ac3476a16e3bdaeaac97481cb9
Jiyu Yang [Mon, 18 Apr 2016 13:59:39 +0000 (21:59 +0800)]
PD#123871 gpu lib: update so for different android version
Change-Id: I75d64ffdbaeb753e399e8ffbb50bd750217ee30c
Jiyu Yang [Sat, 26 Mar 2016 09:15:18 +0000 (17:15 +0800)]
PD#121797 r6p1 01rel0 mali450
commit
d8ca016baa66c77207970f93eba3d7b6290eb362
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Thu Mar 24 13:14:10 2016 +0800
PD#121797 r6p1 01rel0 mali450
Change-Id: I789de0b5999738fb938960c4466307a0b58d3f7c
commit
de5869e1564802896a8ab733bbacf6096dbfbe47
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Wed Mar 23 15:49:39 2016 +0800
PD#121797 r6p0 01rel1 mali450
Change-Id: I784e085317b8065c5a1e592b6b12d12cd910c70b
commit
9d995f3cab7114fe5672db15473f56e2073b1767
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Wed Mar 23 15:44:59 2016 +0800
PD#121797 r6p0 01rel0 mali450
Change-Id: I42ab3ba82b26c8258e8d8d5ae926e93f52fb62cf
commit
94925203b73e294c6839430433517a74c5db4261
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Tue Sep 1 20:15:13 2015 +0800
PD#121797 add mali r5p2
(cherry picked from commit
a87100bd8c10c4e5990cb956a97c60ce6a8de104)
Change-Id: Icfffa60966ccbceac9bf5fc6a7d2ed92327c40d0
Change-Id: I3ac9aa3364938f01efa97d161b816747d43c81b8
Simon Zheng [Wed, 16 Mar 2016 03:34:53 +0000 (20:34 -0700)]
Merge "PD#119939 add array check for dvfs table" into r5p1-3.14-dev
Jiyu Yang [Fri, 11 Mar 2016 06:34:02 +0000 (14:34 +0800)]
PD#119939 add array check for dvfs table for mali450
Change-Id: I9f6b40f28f6ad779c65fffae70d41987a01ab10e
Jiyu Yang [Tue, 8 Mar 2016 10:14:41 +0000 (18:14 +0800)]
PD#119939 add array check for dvfs table
Change-Id: I6c0ab76284a5b60073259b7817de20f38434d92d
Jiyu Yang [Fri, 19 Feb 2016 09:14:51 +0000 (17:14 +0800)]
PD#119373 fix suspend crashed in mali
Change-Id: I5d5c4838c8f7a5b39d3e62a5c22834170e4a7baa
Simon Zheng [Tue, 12 Jan 2016 08:02:39 +0000 (00:02 -0800)]
Merge "PD#117326: Have new gralloc (hardware/amlogic/gralloc/) for TV&MBOX; This gralloc is no longer needed;" into r5p1-3.14-dev
Jiyu Yang [Mon, 21 Dec 2015 14:07:14 +0000 (22:07 +0800)]
PD#116328 hibernate support for mali83x
Change-Id: I906e75eefe7a4dadf83b1071b7ad0116ad997870
Stark Li [Tue, 29 Dec 2015 03:46:15 +0000 (11:46 +0800)]
PD#117326: Have new gralloc (hardware/amlogic/gralloc/) for TV&MBOX;
This gralloc is no longer needed;
Change-Id: I55fa02a8d5471556ab5b1bad0c63b0073cbc7c24
Simon Zheng [Mon, 28 Dec 2015 07:05:36 +0000 (23:05 -0800)]
Merge "PD#116501: fix dma share fd will be destroyed when android crashed" into r5p1-3.14-dev
Stark Li [Tue, 22 Dec 2015 06:16:02 +0000 (14:16 +0800)]
PD#116501: fix dma share fd will be destroyed when android crashed
Change-Id: I58b7c4e7e09e06821ff8e2cfb7a4b558455bb65a
Jiyu Yang [Wed, 16 Dec 2015 11:18:45 +0000 (19:18 +0800)]
PD#115943 remove 905m clk limit
Change-Id: I0677ec24f097240f55c63cab7537f3a5cc4d746b
Cheng Wang [Fri, 11 Dec 2015 10:37:18 +0000 (18:37 +0800)]
PD#116616 fixed make errors for 64bits
Change-Id: I41311c48482ab57826bda01e899674d3e49549d8
Jiyu Yang [Thu, 10 Dec 2015 04:54:16 +0000 (12:54 +0800)]
PD#116026: gpu: add gpu legend dvfs for t83x
Change-Id: I9fe3bc45a20bf0d823c1684270261dbd84543c28
Zhenxing Jin [Thu, 26 Nov 2015 11:40:03 +0000 (19:40 +0800)]
PD#115299: gralloc: Enable osd afbcd function or not dynamicly
Gralloc driver will enable osd afbc fucntion or not
according to the build properties of "fb.afbcd.enable".
Meanwhile the file node of "/sys/class/graphics/fb0/osd_afbcd"
will be set or not accordingly.
And this will inform osd driver to alloc proper frame buffer.
Change-Id: I6429e54ea15a9e8981a0e7fb544c7faee36d2bf9
Signed-off-by: Zhenxing Jin <zhenxing.jin@amlogic.com>
Zhenxing Jin [Thu, 26 Nov 2015 12:33:41 +0000 (20:33 +0800)]
PD#115299: gralloc: afbc enabled
1. afbc independ framebuffer fds support
port from: http://scgit.amlogic.com:8080/#/c/6117/
Change-Id: I0cbd0fe79c3945efceaf8df7f23693bbf0a4a65d
Signed-off-by: Zhenxing Jin <zhenxing.jin@amlogic.com>
Jiyu Yang [Fri, 4 Dec 2015 03:29:19 +0000 (11:29 +0800)]
PD#115943 905m clk check
Change-Id: I27f84e943d3425316e5ac630bc1a6c63e48cf789
Tao Zeng [Thu, 3 Dec 2015 09:56:17 +0000 (17:56 +0800)]
PD#114881: add debug sysfs for devfreq governor
Change-Id: I7f7fa3902a0aa24478bc636ecfbe1a19c7ad1df8
Guosong Zhou [Mon, 30 Nov 2015 09:15:02 +0000 (17:15 +0800)]
PD#116010: gralloc: add camera function for gxtvbb
Change-Id: Ib1be8b2ca3d8e5fcf09598c79e943ce62192a44a
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Simon Zheng [Tue, 24 Nov 2015 08:16:26 +0000 (00:16 -0800)]
Merge "PD#114881: add gpu cooling hooks for ipa" into r5p1-3.14-dev
Simon Zheng [Wed, 18 Nov 2015 03:29:23 +0000 (19:29 -0800)]
Merge "Revert "PD#115299 afbc enabled"" into r5p1-3.14-dev
Sandy Luo [Wed, 18 Nov 2015 02:51:07 +0000 (18:51 -0800)]
Revert "PD#115299 afbc enabled"
This reverts commit
405d7e04fc3f536fabfb1da61a4daf1de3d57f09.
Change-Id: Id469685758ad8330e413557ccaa850b5f51d133c
Tao Zeng [Thu, 5 Nov 2015 11:09:32 +0000 (19:09 +0800)]
PD#114881: add gpu cooling hooks for ipa
for t83x, using dev_freq as cooling driver
Change-Id: I9a8d582b858c4405dfa08cc0dd752bfa2a42ac32
Simon Zheng [Tue, 17 Nov 2015 06:42:11 +0000 (22:42 -0800)]
Merge "PD#115299 afbc enabled" into r5p1-3.14-dev
Stark Li [Tue, 10 Nov 2015 07:30:01 +0000 (15:30 +0800)]
PD#115299 afbc enabled
1. afbc independ framebuffer fds support
2. changed [min, max] for dvfs
Change-Id: I3bd6cec2955c708d3767ade8489457e2ef269272
Jiyu Yang [Mon, 9 Nov 2015 06:22:02 +0000 (14:22 +0800)]
PD#112245 fixed thermal could not go high
Change-Id: If03e3e73aef44003280477f920ef7b5ee75e7037
(cherry picked from commit
6f33e6345654b760dd8e06f64d1b49b8b5e0f79d
Xu Jintao [Mon, 2 Nov 2015 13:53:40 +0000 (21:53 +0800)]
PD#114635: omx use new usage
Change-Id: I8321f7c6df5e977acb73035d12f0f3e2db001779
Signed-off-by: Xu Jintao <jintao.xu@amlogic.com>
Jiyu Yang [Mon, 19 Oct 2015 16:17:09 +0000 (00:17 +0800)]
update video overlay flags
Change-Id: Ie4db195a80c69a6c6d4bb716e49a87c4a9de27db
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Stark Li [Thu, 15 Oct 2015 07:37:05 +0000 (15:37 +0800)]
update gralloc to adapter hwcomposer 1.4
1. update hwcomposer
2. rm extra directory
Change-Id: I94745226bbb591c381ca8f1e9ab3bdf9dac8e836
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Fri, 16 Oct 2015 10:54:12 +0000 (18:54 +0800)]
add mali_page_fault and pp_hardware_reset for mp
Change-Id: I0ff2e6ace0bb9b435730b1c7fe80d8864cf2a013
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Wed, 14 Oct 2015 14:28:30 +0000 (22:28 +0800)]
fixed red and blue swapped
Change-Id: If8166551ac4b8032250fe3f144444c93fa00804a
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Sat, 10 Oct 2015 02:45:47 +0000 (10:45 +0800)]
PD#111243 add t83x r7p0 from malidevelop.arm.com
Change-Id: Ib65b744b5a8b7db87725f83194d5ea80bd27f80e
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Mon, 24 Aug 2015 09:06:07 +0000 (17:06 +0800)]
add mali_gp_reset_fail and mali_core_timeout for chip dectect
Change-Id: Ia4fa28228c1a84e674e7527f12972498c07ad241
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Thu, 17 Sep 2015 12:16:04 +0000 (20:16 +0800)]
PD#112921 fixed memleak and kernel crash in debugfs
1. fixed memleak in monkey test.
2. fixed kernel crash in debugfs
3. changed to default instead of failed
4. change the print format
Change-Id: I48a6b04d0c0b7e14969db2a42c0c3cf395f1f3d9
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Wed, 9 Sep 2015 08:56:07 +0000 (16:56 +0800)]
PD#105950 hibernate support for kernel 3.14
Change-Id: Iea2f4f5105a8aa5c5094314e57b3ae5f7757b0c8
Jiyu Yang [Thu, 10 Sep 2015 10:41:30 +0000 (18:41 +0800)]
print tgid name in /sys/kernel/debug/mali/gpu_memory node
Change-Id: Id754e0e2e2ab3f2f2cadb0868f1f744c5981d8f9
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Fri, 7 Aug 2015 03:18:43 +0000 (11:18 +0800)]
PD#108267 fixed timeout when antutu5.7 many times run
this patch from these two patch
Errata847169_Crashes_In_Application_Close.patch
Errata850522_Mali450_Job_Scheduler_Stop_In_CornerCase.patch
backtrace is below
<6>[ 2131.508868] kworker/1:1 D
ffffffc001085a00 0 1625 2 0x00000000
<6>[ 2131.515844] Workqueue: events delayed_fput
<4>[ 2131.519892] Call trace:
<4>[ 2131.522310] [<
ffffffc001085a00>] __switch_to+0x74/0x8c
<4>[ 2131.527403] [<
ffffffc001985938>] __schedule+0x2b8/0x744
<4>[ 2131.532572] [<
ffffffc001985df0>] schedule+0x2c/0x80
<4>[ 2131.537417] [<
ffffffbffc0188bc>] _mali_osk_wait_queue_wait_event+0x44/0x80 [mali]
<4>[ 2131.544833] [<
ffffffbffc02fd00>] mali_timeline_system_abort+0xfc/0x120 [mali]
<4>[ 2131.551902] [<
ffffffbffc01f54c>] _mali_ukk_close+0x58/0xb4 [mali]
<4>[ 2131.557938] [<
ffffffbffc01fdcc>] mali_release+0x3c/0xd4 [mali]
<4>[ 2131.563708] [<
ffffffc0011b1f20>] __fput+0x90/0x20c
<4>[ 2131.568452] [<
ffffffc0011b20d8>] delayed_fput+0x3c/0x54
<4>[ 2131.573629] [<
ffffffc0010b5ecc>] process_one_work+0x140/0x430
<4>[ 2131.579320] [<
ffffffc0010b6d04>] worker_thread+0x140/0x3d4
<4>[ 2131.584754] [<
ffffffc0010bd85c>] kthread+0xd8/0xf0
Change-Id: I884b38478b09e3bdbf0d168abd589faccd3f1e23
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Thu, 9 Jul 2015 07:18:26 +0000 (15:18 +0800)]
PD#108267 set mali clock as the john's method
Change-Id: Ibf29281170b3d348c2dbb33095d3e09f85070f6f
Signed-off-by: John Thodiyil <john.thodiyil@amlogic.com>
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Mon, 6 Jul 2015 11:24:15 +0000 (19:24 +0800)]
PD#108237 fixed fence timeout
use safe clock switch and remove the mali_dev_pause
and mali_dev_resume
Change-Id: I94e5efa2b3d6d322701ec78fcf9290eb214b1c75
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Sun, 28 Jun 2015 07:03:00 +0000 (15:03 +0800)]
PD#108096 add pm ops
suspend/resume issues
Change-Id: I4f8818a0b4594d0026524a8f1b417de29b04f62c
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Sun, 7 Jun 2015 07:37:18 +0000 (15:37 +0800)]
add gp request
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Change-Id: I12bf80d0e5e8d45e7461aa583c6072c52f93d73d
Jiyu Yang [Tue, 2 Jun 2015 04:45:50 +0000 (12:45 +0800)]
disable mali debug
Change-Id: I64fcabd10c51fa8dd2c2882a6fcd2c8e9caecc0f
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Fri, 29 May 2015 14:09:27 +0000 (22:09 +0800)]
use gp0_pll as the high level
1. use gp0_pll as the high level
2. add clkp_freq as the clk_parent freq.
Change-Id: I6751c3639bef5a300f4ad1cfd9776624a505342c
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Tue, 26 May 2015 13:14:18 +0000 (21:14 +0800)]
gxbb bringup
1. gxbb bringup.
2. left clock tree divider cannot work.
Change-Id: Ie4d3727fa64f60a78b4a0a94ba83b86c441b149b
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Thu, 14 May 2015 06:50:05 +0000 (14:50 +0800)]
fix compile error
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Change-Id: Ic1db46c77fd9f4602ec4df7cfb26c5ad45912766
Jiyu Yang [Mon, 30 Mar 2015 15:46:43 +0000 (23:46 +0800)]
mali temporily commit for 3.14
Change-Id: I358f51a1eda79766b9fcdc63076526fdf219bcb2
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Fri, 8 May 2015 08:39:09 +0000 (16:39 +0800)]
PD#105353 mali r5p1 release
1. r5p1 release
2. merge the following commit from from r5p0
PD#104401 fixed fence timeout when 4k2k seeking
commit
fdf8a8d3b61bfe764b42fe046d98fc30e3079229
Author: Jiyu Yang <jiyu.yang@amlogic.com>
Date: Tue Apr 21 21:40:47 2015 +0800
pp num shall not be changed by other modules
vh264_4k2k_register_module_callback func is
no longer required as the 85447, 84868, 86109,
82063 bug is ok, both on the kitkat4.4 in
20140902 and lollipop-mr1 in
20150421, though i
don't know who fixed this.
Change-Id: I05189724f3586137d7917db0d591ae28f4afa207
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Thu, 2 Apr 2015 05:24:17 +0000 (13:24 +0800)]
PD#104273 disable runtime suspend
1.disable runtime suspend
2.low the debug level in scaling.
Change-Id: Ib7ef3b62d0a350e5ea5b014ca8127c73f047fba7
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Wed, 11 Mar 2015 12:00:22 +0000 (20:00 +0800)]
set control_interval=200ms in m8b
this change refered to the r4p1 release in m8baby.
Change-Id: I228131a18dc5a214b7e386045699d39442994fd4
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Jiyu Yang [Tue, 10 Mar 2015 05:45:19 +0000 (13:45 +0800)]
PD#103748 mali r5p0 release
Change-Id: I3521eafa6dcc8da8c143edc96bf35a459c1e2c9b
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Kasin Lee [Thu, 22 Jan 2015 13:48:36 +0000 (21:48 +0800)]
PD #000001: Fix error in condition of skipping power domain
Change-Id: I67f7c6065f9dff41083aaba0187c9372e1c6c96a
Kasin Lee [Sun, 4 Jan 2015 07:28:51 +0000 (15:28 +0800)]
PD #00001: For G9TV
Change-Id: I2b210c764ad5c2cfe1dc0c3c30095b54b5726742
Tao Zeng [Fri, 19 Dec 2014 08:33:31 +0000 (16:33 +0800)]
PD #94468: change mali driver to support keep mode of thermal governor
Change-Id: I324e06252d4e0b5118a11ce0458b9e800a71b134
Conflicts:
mali/platform/meson_m450/platform_m8b.c
Kasin Lee [Thu, 25 Dec 2014 08:12:13 +0000 (16:12 +0800)]
initialize r5p0 for amlogic M8
Change-Id: Id047466a7e04a09296334a16b2079e83f73cd124
Kasin Lee [Fri, 19 Dec 2014 07:45:18 +0000 (15:45 +0800)]
PD #96512: hibernate suported
Change-Id: Ic6c846a9eef70fcf7dfc437a1290f6d5b0f75a14
Kasin Lee [Thu, 11 Dec 2014 09:57:17 +0000 (17:57 +0800)]
PD #99439: fix thermal action too early
Change-Id: I4ef1a38d6ce98db29e9fe1a24c799e0c5a202abf
jintao.xu [Thu, 13 Mar 2014 11:34:20 +0000 (19:34 +0800)]
PD# 87909: for chip detect
Conflicts:
mali/common/mali_gp.c
mali/platform/meson_main.c
Change-Id: I35b05a179ddd4c80b276f79f5ed8bd8378ac6905
Kasin Lee [Fri, 10 Oct 2014 08:04:01 +0000 (16:04 +0800)]
PD #98307: Disable DVFS caller before mali resume.
Change-Id: I1924f199786849541f5e73443f794d2ee23933c3
Kasin Lee [Fri, 5 Sep 2014 07:22:13 +0000 (15:22 +0800)]
PD #93541: Remove warning for unused function, disable mpgpu in m6tvd
Change-Id: Ie0771c9feed0bddec995493f1b3eefae8eab5d4f
Kasin Lee [Wed, 27 Aug 2014 06:43:52 +0000 (14:43 +0800)]
Merge branch 'mali-dev' into r4p1
Kasin Lee [Wed, 27 Aug 2014 06:40:26 +0000 (14:40 +0800)]
Merge branch 'r4p0-01' of git://git.myamlogic.com/platform/hardware/arm/gpu into mali-dev