Lines Matching refs:old_wm
1325 struct g4x_wm_values *old_wm = &dev_priv->display.wm.g4x; in g4x_program_watermarks() local
1330 if (memcmp(old_wm, &new_wm, sizeof(new_wm)) == 0) in g4x_program_watermarks()
1333 if (is_disabling(old_wm->cxsr, new_wm.cxsr, true)) in g4x_program_watermarks()
1338 if (is_enabling(old_wm->cxsr, new_wm.cxsr, true)) in g4x_program_watermarks()
1341 *old_wm = new_wm; in g4x_program_watermarks()
1950 struct vlv_wm_values *old_wm = &dev_priv->display.wm.vlv; in vlv_program_watermarks() local
1955 if (memcmp(old_wm, &new_wm, sizeof(new_wm)) == 0) in vlv_program_watermarks()
1958 if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) in vlv_program_watermarks()
1961 if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) in vlv_program_watermarks()
1964 if (is_disabling(old_wm->cxsr, new_wm.cxsr, true)) in vlv_program_watermarks()
1969 if (is_enabling(old_wm->cxsr, new_wm.cxsr, true)) in vlv_program_watermarks()
1972 if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) in vlv_program_watermarks()
1975 if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) in vlv_program_watermarks()
1978 *old_wm = new_wm; in vlv_program_watermarks()