Lines Matching refs:full

528 	a.full = dfixed_const(1000);  in dce_v6_0_dram_bandwidth()
529 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth()
530 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth()
531 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth()
532 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth()
533 dram_efficiency.full = dfixed_const(7); in dce_v6_0_dram_bandwidth()
534 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth()
535 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth()
536 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth()
557 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth_for_display()
558 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth_for_display()
559 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth_for_display()
560 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth_for_display()
561 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth_for_display()
562 disp_dram_allocation.full = dfixed_const(3); /* XXX worse case value 0.3 */ in dce_v6_0_dram_bandwidth_for_display()
563 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v6_0_dram_bandwidth_for_display()
564 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display()
565 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display()
586 a.full = dfixed_const(1000); in dce_v6_0_data_return_bandwidth()
587 sclk.full = dfixed_const(wm->sclk); in dce_v6_0_data_return_bandwidth()
588 sclk.full = dfixed_div(sclk, a); in dce_v6_0_data_return_bandwidth()
589 a.full = dfixed_const(10); in dce_v6_0_data_return_bandwidth()
590 return_efficiency.full = dfixed_const(8); in dce_v6_0_data_return_bandwidth()
591 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v6_0_data_return_bandwidth()
592 a.full = dfixed_const(32); in dce_v6_0_data_return_bandwidth()
593 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth()
594 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth()
615 a.full = dfixed_const(1000); in dce_v6_0_dmif_request_bandwidth()
616 disp_clk.full = dfixed_const(wm->disp_clk); in dce_v6_0_dmif_request_bandwidth()
617 disp_clk.full = dfixed_div(disp_clk, a); in dce_v6_0_dmif_request_bandwidth()
618 a.full = dfixed_const(32); in dce_v6_0_dmif_request_bandwidth()
619 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth()
621 a.full = dfixed_const(10); in dce_v6_0_dmif_request_bandwidth()
622 disp_clk_request_efficiency.full = dfixed_const(8); in dce_v6_0_dmif_request_bandwidth()
623 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v6_0_dmif_request_bandwidth()
625 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth()
670 a.full = dfixed_const(1000); in dce_v6_0_average_bandwidth()
671 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth()
672 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth()
673 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v6_0_average_bandwidth()
674 src_width.full = dfixed_const(wm->src_width); in dce_v6_0_average_bandwidth()
675 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth()
676 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth()
677 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth()
709 a.full = dfixed_const(2); in dce_v6_0_latency_watermark()
710 b.full = dfixed_const(1); in dce_v6_0_latency_watermark()
711 if ((wm->vsc.full > a.full) || in dce_v6_0_latency_watermark()
712 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark()
714 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v6_0_latency_watermark()
719 a.full = dfixed_const(available_bandwidth); in dce_v6_0_latency_watermark()
720 b.full = dfixed_const(wm->num_heads); in dce_v6_0_latency_watermark()
721 a.full = dfixed_div(a, b); in dce_v6_0_latency_watermark()
727 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v6_0_latency_watermark()
728 b.full = dfixed_const(1000); in dce_v6_0_latency_watermark()
729 c.full = dfixed_const(lb_fill_bw); in dce_v6_0_latency_watermark()
730 b.full = dfixed_div(c, b); in dce_v6_0_latency_watermark()
731 a.full = dfixed_div(a, b); in dce_v6_0_latency_watermark()
798 a.full = dfixed_const(1); in dce_v6_0_check_latency_hiding()
799 if (wm->vsc.full > a.full) in dce_v6_0_check_latency_hiding()
932 a.full = dfixed_const(1000); in dce_v6_0_program_watermarks()
933 b.full = dfixed_const(mode->clock); in dce_v6_0_program_watermarks()
934 b.full = dfixed_div(b, a); in dce_v6_0_program_watermarks()
935 c.full = dfixed_const(latency_watermark_a); in dce_v6_0_program_watermarks()
936 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks()
937 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
938 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
939 a.full = dfixed_const(16); in dce_v6_0_program_watermarks()
940 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
944 a.full = dfixed_const(1000); in dce_v6_0_program_watermarks()
945 b.full = dfixed_const(mode->clock); in dce_v6_0_program_watermarks()
946 b.full = dfixed_div(b, a); in dce_v6_0_program_watermarks()
947 c.full = dfixed_const(latency_watermark_b); in dce_v6_0_program_watermarks()
948 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks()
949 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
950 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
951 a.full = dfixed_const(16); in dce_v6_0_program_watermarks()
952 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()