Lines Matching refs:old_wm
1321 struct g4x_wm_values *old_wm = &dev_priv->display.wm.g4x; in g4x_program_watermarks() local
1326 if (memcmp(old_wm, &new_wm, sizeof(new_wm)) == 0) in g4x_program_watermarks()
1329 if (is_disabling(old_wm->cxsr, new_wm.cxsr, true)) in g4x_program_watermarks()
1334 if (is_enabling(old_wm->cxsr, new_wm.cxsr, true)) in g4x_program_watermarks()
1337 *old_wm = new_wm; in g4x_program_watermarks()
1946 struct vlv_wm_values *old_wm = &dev_priv->display.wm.vlv; in vlv_program_watermarks() local
1951 if (memcmp(old_wm, &new_wm, sizeof(new_wm)) == 0) in vlv_program_watermarks()
1954 if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) in vlv_program_watermarks()
1957 if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) in vlv_program_watermarks()
1960 if (is_disabling(old_wm->cxsr, new_wm.cxsr, true)) in vlv_program_watermarks()
1965 if (is_enabling(old_wm->cxsr, new_wm.cxsr, true)) in vlv_program_watermarks()
1968 if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) in vlv_program_watermarks()
1971 if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) in vlv_program_watermarks()
1974 *old_wm = new_wm; in vlv_program_watermarks()