Lines Matching refs:full
526 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth()
527 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth()
528 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth()
529 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth()
530 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth()
531 dram_efficiency.full = dfixed_const(7); in dce_v6_0_dram_bandwidth()
532 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth()
533 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth()
534 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth()
555 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth_for_display()
556 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth_for_display()
557 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth_for_display()
558 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth_for_display()
559 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth_for_display()
560 disp_dram_allocation.full = dfixed_const(3); /* XXX worse case value 0.3 */ in dce_v6_0_dram_bandwidth_for_display()
561 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v6_0_dram_bandwidth_for_display()
562 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display()
563 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display()
584 a.full = dfixed_const(1000); in dce_v6_0_data_return_bandwidth()
585 sclk.full = dfixed_const(wm->sclk); in dce_v6_0_data_return_bandwidth()
586 sclk.full = dfixed_div(sclk, a); in dce_v6_0_data_return_bandwidth()
587 a.full = dfixed_const(10); in dce_v6_0_data_return_bandwidth()
588 return_efficiency.full = dfixed_const(8); in dce_v6_0_data_return_bandwidth()
589 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v6_0_data_return_bandwidth()
590 a.full = dfixed_const(32); in dce_v6_0_data_return_bandwidth()
591 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth()
592 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth()
613 a.full = dfixed_const(1000); in dce_v6_0_dmif_request_bandwidth()
614 disp_clk.full = dfixed_const(wm->disp_clk); in dce_v6_0_dmif_request_bandwidth()
615 disp_clk.full = dfixed_div(disp_clk, a); in dce_v6_0_dmif_request_bandwidth()
616 a.full = dfixed_const(32); in dce_v6_0_dmif_request_bandwidth()
617 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth()
619 a.full = dfixed_const(10); in dce_v6_0_dmif_request_bandwidth()
620 disp_clk_request_efficiency.full = dfixed_const(8); in dce_v6_0_dmif_request_bandwidth()
621 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v6_0_dmif_request_bandwidth()
623 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth()
668 a.full = dfixed_const(1000); in dce_v6_0_average_bandwidth()
669 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth()
670 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth()
671 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v6_0_average_bandwidth()
672 src_width.full = dfixed_const(wm->src_width); in dce_v6_0_average_bandwidth()
673 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth()
674 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth()
675 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth()
707 a.full = dfixed_const(2); in dce_v6_0_latency_watermark()
708 b.full = dfixed_const(1); in dce_v6_0_latency_watermark()
709 if ((wm->vsc.full > a.full) || in dce_v6_0_latency_watermark()
710 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark()
712 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v6_0_latency_watermark()
717 a.full = dfixed_const(available_bandwidth); in dce_v6_0_latency_watermark()
718 b.full = dfixed_const(wm->num_heads); in dce_v6_0_latency_watermark()
719 a.full = dfixed_div(a, b); in dce_v6_0_latency_watermark()
725 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v6_0_latency_watermark()
726 b.full = dfixed_const(1000); in dce_v6_0_latency_watermark()
727 c.full = dfixed_const(lb_fill_bw); in dce_v6_0_latency_watermark()
728 b.full = dfixed_div(c, b); in dce_v6_0_latency_watermark()
729 a.full = dfixed_div(a, b); in dce_v6_0_latency_watermark()
796 a.full = dfixed_const(1); in dce_v6_0_check_latency_hiding()
797 if (wm->vsc.full > a.full) in dce_v6_0_check_latency_hiding()
930 a.full = dfixed_const(1000); in dce_v6_0_program_watermarks()
931 b.full = dfixed_const(mode->clock); in dce_v6_0_program_watermarks()
932 b.full = dfixed_div(b, a); in dce_v6_0_program_watermarks()
933 c.full = dfixed_const(latency_watermark_a); in dce_v6_0_program_watermarks()
934 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks()
935 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
936 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
937 a.full = dfixed_const(16); in dce_v6_0_program_watermarks()
938 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
942 a.full = dfixed_const(1000); in dce_v6_0_program_watermarks()
943 b.full = dfixed_const(mode->clock); in dce_v6_0_program_watermarks()
944 b.full = dfixed_div(b, a); in dce_v6_0_program_watermarks()
945 c.full = dfixed_const(latency_watermark_b); in dce_v6_0_program_watermarks()
946 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks()
947 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
948 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()
949 a.full = dfixed_const(16); in dce_v6_0_program_watermarks()
950 c.full = dfixed_div(c, a); in dce_v6_0_program_watermarks()