RK3368 GPU version: Rogue L 0.18
authorzxl <zhuangxl@rock-chips.com>
Tue, 23 Jun 2015 01:11:36 +0000 (09:11 +0800)
committerzxl <zhuangxl@rock-chips.com>
Tue, 23 Jun 2015 01:11:36 +0000 (09:11 +0800)
If fix freq,then don't force to drop freq to the lowest.

drivers/gpu/rogue/include/pvrversion.h
drivers/gpu/rogue/system/rk3368/rk_init.c

index f763ca080be45b444a0800c846fbeb747682262b..f11890a0bcb699223af71ef1a5fd5a402c99f38d 100755 (executable)
@@ -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_ */
index 28d2143b08782f9bee5d4713997734e0fc4a378b..d4e4f3ee89731953a4292bfe9d355bddfabe5dec 100755 (executable)
@@ -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)
         {