Enable VEC D0i3.
authorElaine Wang <elaine.wang@intel.com>
Mon, 9 Jan 2012 08:54:04 +0000 (16:54 +0800)
committerbuildbot <buildbot@intel.com>
Sat, 21 Jan 2012 04:41:40 +0000 (20:41 -0800)
BZ: 19416

Video encoding HW island should be powered down when it is idle.
This patch enables VEC D0i3 by default.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: I40fa00ea2519c8acdb1a1bc19f94b89ae91c89f2
Reviewed-on: http://android.intel.com:8080/31174
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/psb_drv.c
drivers/staging/mrst/drv/psb_powermgmt.c

index 8cbe5d7..a45e9e0 100644 (file)
@@ -82,7 +82,7 @@ int drm_idle_check_interval = 5;
 int drm_msvdx_pmpolicy = PSB_PMPOLICY_POWERDOWN;
 int drm_psb_cpurelax = 0;
 int drm_psb_udelaydivider = 1;
-int drm_topaz_pmpolicy = PSB_PMPOLICY_NOPM;
+int drm_topaz_pmpolicy = PSB_PMPOLICY_POWERDOWN;
 int drm_topaz_sbuswa;
 int drm_psb_ospm = 1;
 int drm_psb_gl3_enable = 1;
index 4140ccd..abd792c 100644 (file)
@@ -312,9 +312,8 @@ void ospm_apm_power_down_topaz(struct drm_device *dev)
 
 #ifdef CONFIG_MDFD_GL3
        /* Power off GL3 */
-       /* WR for BZ7203 */
-       /*if (IS_MDFLD(dev))
-               ospm_power_island_down(OSPM_GL3_CACHE_ISLAND);*/
+       if (IS_MDFLD(dev))
+               ospm_power_island_down(OSPM_GL3_CACHE_ISLAND);
 #endif
 
        gbSuspendInProgress = false;