RK3368 GPU version: Rogue L 0.18

If fix freq,then don't force to drop freq to the lowest.
This commit is contained in:
zxl
2015-06-23 09:11:36 +08:00
parent e4397096d2
commit 14dd34f378
2 changed files with 8 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* Add rk_tf_check_version to compatible for rk3328.
* L 0.17:
* merge 1.4_ED3573678 DDK code
* L 0.18:
* If fix freq,then don't force to drop freq to the lowest.
*/
#define PVR_STR(X) #X
@@ -80,5 +82,5 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define PVRVERSION_UNPACK_MIN(VERSION) (((VERSION) >> 0) & 0xFFFF)
//chenli:define rockchip version
#define RKVERSION "Rogue L 0.17"
#define RKVERSION "Rogue L 0.18"
#endif /* _PVRVERSION_H_ */

View File

@@ -1795,8 +1795,11 @@ static IMG_VOID RgxDisableClock(IMG_VOID)
if (platform->aclk_gpu_mem && platform->aclk_gpu_cfg && platform->gpu_active)
{
#if RK33_DVFS_SUPPORT
//Force to drop freq to the lowest.
rk33_dvfs_set_level(0);
if(platform->fix_freq <= 0)
{
//Force to drop freq to the lowest.
rk33_dvfs_set_level(0);
}
if(platform->dvfs_enabled && platform->timer_active)
{