Lines Matching refs:wm_high
967 struct dce8_wm_params wm_low, wm_high; in dce_v8_0_program_watermarks() local
982 wm_high.yclk = in dce_v8_0_program_watermarks()
984 wm_high.sclk = in dce_v8_0_program_watermarks()
987 wm_high.yclk = adev->pm.current_mclk * 10; in dce_v8_0_program_watermarks()
988 wm_high.sclk = adev->pm.current_sclk * 10; in dce_v8_0_program_watermarks()
991 wm_high.disp_clk = mode->clock; in dce_v8_0_program_watermarks()
992 wm_high.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
993 wm_high.active_time = active_time; in dce_v8_0_program_watermarks()
994 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks()
995 wm_high.interlaced = false; in dce_v8_0_program_watermarks()
997 wm_high.interlaced = true; in dce_v8_0_program_watermarks()
998 wm_high.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks()
999 wm_high.vtaps = 1; in dce_v8_0_program_watermarks()
1001 wm_high.vtaps = 2; in dce_v8_0_program_watermarks()
1002 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v8_0_program_watermarks()
1003 wm_high.lb_size = lb_size; in dce_v8_0_program_watermarks()
1004 wm_high.dram_channels = cik_get_number_of_dram_channels(adev); in dce_v8_0_program_watermarks()
1005 wm_high.num_heads = num_heads; in dce_v8_0_program_watermarks()
1008 latency_watermark_a = min(dce_v8_0_latency_watermark(&wm_high), (u32)65535); in dce_v8_0_program_watermarks()
1012 if (!dce_v8_0_average_bandwidth_vs_dram_bandwidth_for_display(&wm_high) || in dce_v8_0_program_watermarks()
1013 !dce_v8_0_average_bandwidth_vs_available_bandwidth(&wm_high) || in dce_v8_0_program_watermarks()
1014 !dce_v8_0_check_latency_hiding(&wm_high) || in dce_v8_0_program_watermarks()
1082 amdgpu_crtc->wm_high = latency_watermark_a; in dce_v8_0_program_watermarks()